Selendra

Documentation

Selendra CLI

The official command-line interface for developing on Selendra

Selendra CLI

The Selendra CLI (@selendrajs/cli) is the official command-line tool for developing, testing, and deploying applications on the Selendra blockchain. It provides a unified interface for both EVM and WASM development environments.

Features

  • Project Initialization: Create new projects with best-practice templates for EVM (Hardhat) and WASM (ink!).
  • Smart Contract Management: Compile and deploy contracts with a single command.
  • Network Interaction: View live network status, block height, and gas prices.
  • Account Management: Generate secure wallets and manage keys.
  • Faucet Integration: Request testnet tokens directly from the terminal.

Installation

Prerequisites

  • Node.js v18+
  • npm or yarn

Install Globally

npm install -g @selendrajs/cli

Verify Installation

selendra --version

Quick Usage

# Check network status
selendra status

# Create a new project
selendra init my-dapp

# Deploy a contract
selendra deploy MyContract --network testnet

Next Steps

  • Quick Start - Create your first project in minutes.
  • Commands - Complete command reference.
  • Templates - Learn about available project templates.
Contribute

Found an issue or want to contribute?

Help us improve this documentation by editing this page on GitHub.

Edit this page on GitHub