Links

Installation and set up

Prerequisites

  • Sign up for the open beta.
  • Make sure to have the latest version of NodeJS (packaged with NPM/Yarn) installed.

Initialize a new project

TypeScript
JavaScript
mkdir new_project
cd new_project
npm init -y
npm install -D typescript ts-node
npx tsc --init
mkdir new_project
cd new_project
npm init -y

Install the library

TypeScript
JavaScript
npm install -S @infura/sdk
npm install -S @infura/sdk