This guide is quite advanced and assumes a greater knowledge of how to setup local blockchain environment, IFPS, etc.
npm install
globally.truffle deploy
deploy contracts and take note of the StorageManager
contract address.npm run bin
script)local.json
or CLI parameters for this.npm run init
- this will bootstrap IPFS repos in .repos
folder and configure the ports settings.npm run ipfs:consumer daemon
npm run ipfs:provider daemon
npm run bin
and don’t forget to configure the correct contract address.
Note the Offer ID (which is the address of your RSK account from which you have created the Offer)npm run bin -- --offerId <offerId>
to start the service.Consumer IPFS API runs on 5002
.
Provider IPFS API runs on 5003
.
Go to top