CLI tools to validate aqua chain.
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.
in your environment set the following variables.
- aqua_domain="random_alphanumeric" (if none is specified one is genrated)
- aqua_network="sepolia" or "holesky" or "mainnet" (default is sepolia)
- verification_platform="alchemy" or "infura" or "self" or "none" for witnessing . self scraps the etherscan.io (avoid if possible) (optional) default is none
- chain="sepolia" or "mainnet" or "holesky" for witnessing (optional) default is none
- api_key= the alchemy key or infura api key (optional)
- 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
cargo buildyou can optionally use the--releaseif you want to use te cli tool.- cd
target/debugortarget/releaserun aqua-cli binary . - to get start run
./aqua-cli --help
- Give the file some permissions
chmod +x test_aqua_cli.sh- Run the script
./test_aqua_cli.sh