This directory contains the tutorials for interacting with Near blockchain using the official javascript SDK.
- Node.js 12+
Following tutorials are available:
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.
To execute example code for each tutorial you can run command:
npm run STEP # where step is on of: 1,2,3,4,5