The NEAR protocol library as CLI tool. More documentation here
npm install -g near-shell
In command line, from directory with your project:
near <command> near create_account <account_id> # create a developer account
near new_project [dir] # generate a new project from template
near deploy # deploy your smart contract
near call <contractName> <methodName> [args] # submits transaction, can change state, account required
near view <contractName> <methodName> [args] # cannot change state, account is contract name| Option | Description | Type |
|---|---|---|
| --help | Show help | [boolean] |
| --version | Show version number | [boolean] |