Command Reference
Complete reference for Selendra CLI commands
Command Reference
init
Initialize a new Selendra project.
selendra init <project-name> [options]
Options:
-t, --template <type>: Project template to use (evmorwasm). Default:evm.
Examples:
selendra init my-dapp
selendra init my-contract --template wasm
compile
Compile smart contracts in the current project.
selendra compile [options]
Options:
--target <target>: Force compilation target (evmorwasm). Auto-detected if omitted.
Examples:
selendra compile
selendra compile --target evm
deploy
Deploy a smart contract to the network.
selendra deploy <contract-name> [options]
Options:
-n, --network <network>: Network to deploy to (mainnetortestnet).
Examples:
selendra deploy MyToken
selendra deploy MyToken --network testnet
status
Show live network statistics.
selendra status [options]
Options:
-n, --network <network>: Network to query (mainnetortestnet). Default:mainnet.
Output:
- Block Height
- Gas Price
- Chain ID
- RPC URL
account
Manage accounts and keys.
selendra account <action>
Actions:
new: Generate a new random wallet.list: List managed accounts (coming soon).
Example:
selendra account new
faucet
Request testnet tokens.
selendra faucet <address>
Arguments:
<address>: The recipient address (0x...).
Example:
selendra faucet 0x742d35...
Contribute
Found an issue or want to contribute?
Help us improve this documentation by editing this page on GitHub.
