Ocean.js lib demo
A repository to play with Ocean.js
Setup
Clone contracts and ocean.js
git@github.com:oceanprotocol/contracts.git ..
git checkout v4maingit@github.com:oceanprotocol/ocean.js.git ..
git checkout v4Setup this repo
- Clone
git@github.com:akshay-ap/Ocean.js-PlayGround.git
- Install dependencies
npm i
- Create a
.envfile. See.sample.envand update - Setup Ocean components locally:
https://github.com/oceanprotocol/barge/tree/v4
Usage
node <filename>
Example
node createDataNFT.js