Skip to main content

Prerequisites

  • Node.js 20+

Using our Spark CLI tool

We have a CLI tool that allows you to test your wallet operations on Spark. No coding is required!Run the CLI instantly with npx:
npx @buildonspark/cli
Or install it globally:
npm install -g @buildonspark/cli
spark-cli
You can also pass options:
npx @buildonspark/cli --network mainnet
npx @buildonspark/cli --network regtest
This will start the CLI tool and you will be able to interact with the wallet. Run help to see the available commands.

Command Reference

Wallet Setup & Information

Address Operations

Deposits

Refunds

Lightning Network

Spark Transfers

Withdrawals

Unilateral Exit

Tokens

Token Issuer Operations

Testing & Development

System