Table of Contents
npm install web3data-js
yarn add web3data-js
Builds for node and browser
npm run build
Build for node
npm run build-node
Build for browser
npm run build-browser
This will run all tests using the prerecorded responses from fixtures.
npm run test-live
Runs tests using live responses from our endpoints. (Requires API key see Obtaining an Api key).
npm run test-record
Runs tests using live responses from our endpoints and records them in your fixtures folder.
Obtaining an Api key
Sign up for an account at amberdata.io.
Then go to your account dashboard and select the API Key tab.
Request an API Key for the network that you wish.
Then place it in a file named
.env. (See example).
Run the following command to see
web3data-js js in action!
npm run examples
This project is licensed under the Apache Licence 2.0.