Payment and distribution process
Payment and distribution process
# Install Spark CLI
# Clone the Spark SDK
> git clone https://github.com/buildonspark/spark.git
# Navigate to the JS folder
> cd spark/sdks/js
# Install dependencies and build the SDK
> yarn && yarn build
# Navigate to the JS CLI folder
> cd examples/spark-cli
# Start the CLI
> yarn cli:mainnet# Initialize wallet
> initwallet or initwallet <wallet mnemonic>
# Get deposit address
> getdepositaddress
# Claim deposited balance
> claimdeposit <transaction hash>
# Verify balance
> getbalance
> Sats Balance: 21000Last updated