cd /workspace
make sendAsset
make mint-ist
cd /workspace/scripts
node installBundles.js
node deployContracts.js
- Replace commands_old.js with commands.js
- The
oracleAccept
andoraclePushPrice
methods are currently not working because I couldn't find out how to execute theagops
command - Bellow there are the instructions to execute it on the docker terminal
oracle gov1:
agops oracle accept --offerId 1 --pair fakeATOM.USD > offer-1-w1.json
agoric wallet send --from agoric1mcm0ffsh0a20hlzgx5wylzw0sm85hxx05azsxx --offer offer-1-w1.json --keyring-backend=test
agops oracle pushPriceRound --price 10 --roundId 1 --oracleAdminAcceptOfferId 1 > price-offer-1-w1.json
agoric wallet send --from agoric1mcm0ffsh0a20hlzgx5wylzw0sm85hxx05azsxx --offer price-offer-1-w1.json --keyring-backend=test
oracle gov2:
agops oracle accept --offerId 1 --pair fakeATOM.USD > offer-1-w2.json
agoric wallet send --from agoric1aap7m84dt0rwhhfw49d4kv2gqetzl56vn8aaxj --offer offer-1-w2.json --keyring-backend=test
agops oracle pushPriceRound --price 10 --roundId 1 --oracleAdminAcceptOfferId 1 > price-offer-1-w2.json
agoric wallet send --from agoric1aap7m84dt0rwhhfw49d4kv2gqetzl56vn8aaxj --offer price-offer-1-w2.json --keyring-backend=test