Skip to content
forked from OrzSupply/orz-cli

A command line interface for the Orz program.

Notifications You must be signed in to change notification settings

0xYuan90/orz-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orz CLI

A command line interface for the Orz program.

Modify vs Ore CLI

  • Cargo.toml – Replaced ore-package with orz-program.
  • mine.rs – Adjust bus reward return conditions.
  • cu_limits.rs – Adjust the limits of cu.

Building

To build the Orz 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 Orz CLI by running the following command:

cargo build --release

Example

Mine for ORZ

<YOUR_HOME>/orz-cli/target/release/orz --keypair <YOUR_KEY>.json --rpc <RPC> --priority-fee 100000 mine --threads 4

Claim for ORZ

<YOUR_HOME>/orz-cli/target/release/orz --keypair <YOUR_KEY>.json --rpc <RPC> --priority-fee 100000 claim

Reward for ORZ

<YOUR_HOME>/orz-cli/target/release/orz --keypair <YOUR_KEY>.json --rpc <RPC> rewards

Balance for ORZ

<YOUR_HOME>/orz-cli/target/release/orz --keypair <YOUR_KEY>.json --rpc <RPC> balance

About

A command line interface for the Orz program.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%