The Near Protocol

The Near Protocol is a sharded proof of stake public blockchain. Its emphasis is to be developer friendly making it easier to build, onboard, and scale mainstream commercial DApps.

Near uses AssemblyScript (a strict subset of Typescript) or you can use Rust. You can use the studio to write your smart contracts. The startup guide is useful for an overview of setting up a network.

For local development:

  1. npm i -g near-shell
  2. near new_project [YOUR_PROJECT_DIR]
  3. cd [YOUR_PROJECT_DIR] && npm install
  4. Create a Near account
  5. run near login
  6. Missing public key for [YOUR_USER] in default is not an error, it means it is generating a key for you
  7. check your user state using near state