Skip to main content
For the complete documentation index, see llms.txt

Getting Started with Rootstock CLI

The Rootstock CLI (rsk-cli) tool enables users to manage wallets, check balances, send transactions, verify smart contracts and interact with smart contracts on the Rootstock blockchain - a Bitcoin sidechain designed for smart contracts. It supports both mainnet and testnet environments.

Overview of Rootstock CLI

The Rootstock CLI tool enables users to manage wallets, check balances, send transactions, verify smart contracts and interact with smart contracts on the Rootstock blockchain - a Bitcoin sidechain designed for smart contracts. It supports both mainnet and testnet environments.

CLI Commands on Rootstock CLI

The Rootstock CLI (Command Line Interface) lets you manage your Rootstock wallet directly from the terminal. Create, manage, and fund your wallet with rBTC (Rootstock Bitcoin) easily and securely.

Deploy Smart Contracts using the Rootstock CLI

Compile a Solidity contract with Hardhat, save its ABI and bytecode, and deploy it to Rootstock Mainnet or Testnet with the Rootstock CLI deploy command.

Verify Smart Contracts on Rootstock CLI

Verify a deployed Solidity contract on Rootstock Mainnet or Testnet. The Rootstock CLI sends the source code and metadata to the Rootstock Explorer API.

Interact with Smart Contracts using the Rootstock CLI

The contract command allows you to interact with a verified smart contract on the Rootstock blockchain. This command lists all available read-only functions within the contract, allowing you to call these functions to view data without altering the contract's state.

Rootstock CLI Sandbox

Run the Rootstock CLI in a Replit sandbox in your browser. Create a wallet, check balances, and try other commands before you install the CLI on your machine.

Feedback

Share