Skip to content

inblockio/aqua-rs-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AQUA VERIFIER RS

CLI tools to validate aqua chain.

Versioning

Ensure to use the same version as the Aqua protocol version you are using for example use version 1.2.XX to verify 1.2.0 Aqua chain Json file.

optional

in your environment set the following variables.

  1. aqua_domain="random_alphanumeric" (if none is specified one is genrated)
  2. aqua_network="sepolia" or "holesky" or "mainnet" (default is sepolia)
  3. verification_platform="alchemy" or "infura" or "self" or "none" for witnessing . self scraps the etherscan.io (avoid if possible) (optional) default is none
  4. chain="sepolia" or "mainnet" or "holesky" for witnessing (optional) default is none
  5. api_key= the alchemy key or infura api key (optional)
  6. keys_file = path to json file with similar contents as thos in keys.sample.json use a wallet without metemask

Notes : if a keys file is speciefied in the commands it will take precendence over the environment valriables specified keys file

Local use

  1. cargo build you can optionally use the --release if you want to use te cli tool.
  2. cd target/debug or target/release run aqua-cli binary .
  3. to get start run ./aqua-cli --help

Testing using the test_aqua_cli script

  1. Give the file some permissions
chmod +x test_aqua_cli.sh
  1. Run the script
./test_aqua_cli.sh

About

An aqua cli tool in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •