Skip to content

Openmesh-Network/near-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEAR Command Line Interface

Run the NEAR cli using Nix.

Run as Nix flake

Note

Requires Nix to be installed. Installation on linux can be done through sh <(curl -L https://nixos.org/nix/install) --daemon. For other platforms please refer to the official installation guide.

Interactive mode

nix run github:Openmesh-Network/near-cli  --experimental-features 'nix-command flakes' --accept-flake-config

Command

  1. Replace near with nix run github:Openmesh-Network/near-cli --experimental-features 'nix-command flakes' --accept-flake-config.
  2. Repeat all normal arguments.
  3. Add -- and repeat all arguments starting with - or -- after it.

Example

near call openmesh.pool.near ping '{}' --accountId dcb56967d85ca66c1d991b011540887990b46ac09923d3c3891f47334ef9c941 --gas=300000000000000 --network-id=mainnet

becomes

nix run github:Openmesh-Network/near-cli --experimental-features 'nix-command flakes' --accept-flake-config call openmesh.pool.near ping '{}' -- --accountId dcb56967d85ca66c1d991b011540887990b46ac09923d3c3891f47334ef9c941 --gas=300000000000000 --network-id=mainnet

Update flake

Nix will run a previously downloaded version if available. Run this command to update to the latest version.

nix flake update --flake github:Openmesh-Network/near-cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages