Skip to content
General purpose command line tools for interacting with NEAR Protocol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add view_account <accountId> command Jun 7, 2019
blank_project
test
.gitignore Ignore neardev/ Apr 25, 2019
.gitlab-ci.yml Do GitLab build in one stage (looks like should be faster) Jun 8, 2019
README.md
get-config.js remove .js from config Jun 5, 2019
gulp-utils.js change calls to use positional arguments over flags Jun 4, 2019
index.js Add view_account <accountId> command Jun 7, 2019
package.json v0.7.0 Jun 8, 2019
test_environment.js
yarn.lock Use yarn for faster tests and everything Jun 8, 2019

README.md

NEAR command line interface

The NEAR protocol library as CLI tool. More documentation here

Installation

npm install -g near-shell

Usage

In command line, from directory with your project:

near <command>

Commands:

  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

Options:

Option Description Type
--help Show help [boolean]
--version Show version number [boolean]
You can’t perform that action at this time.