Selendra

Documentation

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 (evm or wasm). 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 (evm or wasm). 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 (mainnet or testnet).

Examples:

selendra deploy MyToken
selendra deploy MyToken --network testnet

status

Show live network statistics.

selendra status [options]

Options:

  • -n, --network <network>: Network to query (mainnet or testnet). 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.

Edit this page on GitHub