Skip to content

JavaScript library to interact with NEAR Protocol via RPC API

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE
Notifications You must be signed in to change notification settings

volovyks/near-api-js

This branch is 1002 commits behind near/near-api-js:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eff486a · Jul 22, 2021
May 2, 2021
Jun 11, 2021
Jul 16, 2021
Jul 16, 2021
Jun 22, 2021
Apr 22, 2020
May 14, 2019
Jan 29, 2020
Jul 1, 2019
Sep 29, 2020
Mar 10, 2020
Sep 4, 2019
Jul 22, 2021
May 6, 2021
Feb 21, 2020
Feb 21, 2020
Apr 3, 2020
Apr 3, 2020
May 28, 2021
Dec 12, 2020
Jul 22, 2021
Apr 28, 2021
May 24, 2021
Jul 22, 2021
Apr 15, 2020
Apr 8, 2021
Jul 22, 2021

near-api-js

Build Status Gitpod Ready-to-Code

A JavaScript/TypeScript library for development of DApps on the NEAR platform

Documentation

Read the TypeDoc API documentation


Examples

(Cheat sheet / quick reference)

(Common use cases / more complex examples)


Contribute to this library

  1. Install dependencies

    yarn
    
  2. Run continuous build with:

    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, then

yarn test

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

Update error schema

Follow next steps:

  1. Change hash for the commit with errors in the nearcore
  2. Fetch new schema: node fetch_error_schema.js
  3. yarn build to update lib/**.js files

License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE and LICENSE-APACHE for details.

About

JavaScript library to interact with NEAR Protocol via RPC API

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 60.9%
  • JavaScript 39.1%