/nearlib

JavaScript SDK to interact with NEAR Protocol

Primary LanguageTypeScriptOtherNOASSERTION

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