2.1.0 • Published 2 months ago
@archwayhq/cli v2.1.0
Archway Developer CLI
Develop WASM smart contracts with the Archway Network's Developer CLI.
Dependencies
Make sure you've installed and configured all dependencies. For the full installation and setup instructions, visit the docs.
If you are on a Linux machine with a distribution different from Ubuntu, you may need to install the GNOME Keyring, or any other keyring compatible with the Secret service API.
CLI Installation
Install the latest published version
npm i -g @archwayhq/cli
or
yarn global add @archwayhq/cli
Install the development version
npm i -g 'github:archway-network/archway-cli'
or
yarn global add 'github:archway-network/archway-cli'
Usage
archway [command] [options]
Commands
$ archway help
new Initializes a new project repository
accounts new [options] Adds a new wallet to the keystore
accounts get [options] Displays details about an account
accounts list [options] Lists all accounts in the keyring
accounts remove [options] Removes an account from the keystore
accounts balances get [options] Query the balance of an address or account
accounts balances send [options] Send tokens from an address or account to another
accounts balances [options] Manage the balances of an account.
config init [options] Initializes a config file for the current project.
config show [options] Shows the config file for the current project.
config deployments [options] Displays the list of deployments, allows filtering by chain, action and contract.
config chains use [options] Switches the current chain in use and updates the archway-cli.json config file with his information.
config chains export [options] Exports a built-in chain registry file to {project-root}/.archway-cli/chains/{chain-id}.json.
config chains import [options] Import a chain registry file and save it to {project-root}/.archway-cli/chains/{chain-id}.json.
config chains [options] Chain management commands. The chain files follow the Cosmos chain registry schema.
contracts new [options] Scaffolds a new Smart Contract from a template
contracts build [options] Builds the contract's optimized WASM file, and its schemas
contracts store [options] Stores a WASM file on-chain
contracts instantiate [options] Instantiates code stored on-chain with the given arguments
contracts metadata [options] Sets a contract rewards metadata
contracts premium [options] Sets a contract premium flat fee for a contract
contracts execute [options] Executes a transaction in a contract
contracts migrate [options] Runs a contract migration
contracts query balance [options] Access the bank module to query the balance of contracts
contracts query smart [options] Queries a single smart contract
contracts query [options] Display help for the contracts query command.
rewards query [options] Queries the outstanding rewards for a specific account or address
rewards withdraw [options] Withdraws rewards for a specific account
2.1.0-rc.2
2 months ago
2.1.0
2 months ago
2.0.2
5 months ago
2.1.0-rc.1
6 months ago
2.0.1
6 months ago
2.0.0
6 months ago
1.6.2
8 months ago
1.6.1
10 months ago
1.6.0
10 months ago
2.0.0-alpha.1
8 months ago
2.0.0-alpha.2
8 months ago
2.0.0-beta.1
7 months ago
1.5.1
1 year ago
1.5.0
1 year ago
1.4.1
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.0
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.6-beta
2 years ago
1.0.7-beta
2 years ago
1.0.8-beta
2 years ago
1.0.5-beta
2 years ago
1.0.4-beta
2 years ago
1.0.3-beta
2 years ago
1.0.2-beta
2 years ago
1.0.1-beta
3 years ago
1.0.0-beta
3 years ago
1.0.0
3 years ago