Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.31 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.31 KB

Spam CLI

A command line interface for the Spam program.

Building

To build the Spam CLI, you will need to have the Rust programming language installed. You can install Rust by following the instructions on the Rust website.

Once you have Rust installed, you can build the Spam CLI by running the following command:

cargo build --release

Usage

Mining Spam

To mine spam, use the command below. Replace $RPC_URL with your Solana RPC URL and $KEY_PATH with the path to your keypair file:

You can mine spam by running the following command:

cargo run --release -- --rpc $RPC_URL --keypair $KEY_PATH mine

If the mining process fails on the first attempt, try running the command again.

Checking Claimable Rewards

To check your claimable rewards, use the following command:

cargo run --release -- --rpc $RPC_URL --keypair $KEY_PATH rewards

Claiming Spam

To claim your mined spam, run:

cargo run --release -- --rpc $RPC_URL --keypair $KEY_PATH claim

Troubleshooting

  • Ensure that your Solana RPC URL and keypair file path are correctly specified.
  • If you encounter issues during mining, retry the command as network conditions may vary.

For further assistance, please refer to the official documentation or contact the support team.