Netrun CLI
The Netrun CLI is a command-line interface for interacting with the Netrun metaprotocol. It provides tools for managing assets, modules, and development workflows.
Installation
Install globally using npm:
npm install -g @netrun/cliOr using cargo (Rust):
cargo install netrun-cliConfiguration
Initialize your configuration:
netrun initThis creates a netrun.config.json file in your current directory with default settings.
Common Commands
netrun create assetCreate a new programmable asset
netrun deploy moduleDeploy a module to the network
netrun validateRun validation on assets or modules
netrun statusCheck the status of your deployments
netrun walletManage wallet connections and keys
Environment Variables
NETRUN_RPC_URL=https://api.mainnet-beta.solana.com NETRUN_WALLET_PATH=~/.config/solana/id.json NETRUN_NETWORK=mainnet-beta
For detailed command reference, see the Commands Reference page.