nearlib

v0.22.0
Javascript library to interact with NEAR blockchain

nearlib

Build Status

nearlib is a JavaScript/TypeScript library for development of DApps on NEAR platform.

Install dependencies

yarn

Development

You can run continuos build with next command:

yarn build -- -w

Publish

Prepare dist version by running:

yarn dist

When publishing to npm use np.

Integration Test

Start the node by following instructions from nearcore/README.md, then

yarn test

Tests use sample contract from near-hello npm package, see https://github.com/nearprotocol/near-hello

npm i nearlib

Metadata

  • MIT
  • Whatever
  • NEAR Inc
  • released 3/5/2020

Downloads