Crates.io | powx-cli |
lib.rs | powx-cli |
version | 0.4.12-alpha |
source | src |
created_at | 2024-04-30 16:23:49.136309 |
updated_at | 2024-04-30 16:23:49.136309 |
description | POWX is a decentralized pow launch platform. |
homepage | |
repository | |
max_upload_size | |
id | 1225227 |
size | 168,683 |
A command line interface for the powx program.
Cargo.toml
– Replaced ore-package with powx-program.mine.rs
– Adjust bus reward return conditions.cu_limits.rs
– Adjust the limits of cu.To build the powx CLI, you will need to have the Rust programming language installed. You can install Rust by following the instructions on the Rust website.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source ~/.bashrc
Once you have Rust installed, you can build the powx CLI by running the following command:
cargo build --release
Mine for powx
<YOUR_HOME>/powx-cli/target/release/powx --keypair <YOUR_KEY>.json --rpc <RPC> --priority-fee 100000 mine --threads 4
Claim for powx
<YOUR_HOME>/powx-cli/target/release/powx --keypair <YOUR_KEY>.json --rpc <RPC> --priority-fee 100000 claim
Reward for powx
<YOUR_HOME>/powx-cli/target/release/powx --keypair <YOUR_KEY>.json --rpc <RPC> rewards
Balance for powx
<YOUR_HOME>/powx-cli/target/release/powx --keypair <YOUR_KEY>.json --rpc <RPC> balance