Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

nearlib

Package Overview
Dependencies
Maintainers
6
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nearlib

Javascript library to interact with NEAR blockchain

latest
npmnpm
Version
0.22.0
Version published
Weekly downloads
85
-90.13%
Maintainers
6
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 05 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts