Skip to content

Latest commit

 

History

History
 
 

near

Near Tutorials

This directory contains the tutorials for interacting with Near blockchain using the official javascript SDK.

Requirements

  • Node.js 12+

Overview

Following tutorials are available:

Setup

First, make sure you have the right version of Node installed:

node -v

Next, install all the dependecies:

npm install

Create an environment variables file:

cp .env.example .env

Make sure to provide a NEAR account name and DataHub API Key.

You're good to go.

Running

To execute example code for each tutorial you can run command:

npm run STEP # where step is on of: 1,2,3,4,5