BOS Oracle Deployment
1. Create Oracle Contract Account oracle.bos
oracle.bos1.1. Export the basic info the account
oracle.bos.json
["eosio", "oracle.bos", {
"threshold": 1,
"keys": [],
"accounts": [{
"permission": {
"actor": "eosio",
"permission": "active"
},
"weight": 1
}
],
"waits": []
}, {
"threshold": 1,
"keys": [],
"accounts": [{
"permission": {
"actor": "eosio",
"permission": "active"
},
"weight": 1
},{
"permission": {
"actor": "oracle.bos",
"permission": "eosio.code"
},
"weight": 1
}
],
"waits": []
}]1.2. Create newaccount ACTION
newaccount ACTION1.3. Generate buyram ACTION
buyram ACTION1.4. Create delegatebw ACTION
delegatebw ACTION1.5. Combine ACTIONs into neworacle.json,create proposal
neworacle.json,create proposalneworacle.json:
2. Set contract
2.1 Create set contract ACTION
set contract ACTION2.2 Create MSIG
2.3 BPs approve MSIG
approve MSIG2.4 exec execute MSIG
exec execute MSIG2.5 Initialize Oracle
_Note: the meanings of parameters: Configurations
3. Import Arbitrators
3.1 Create importwps ACTION
importwps ACTION3.2 Create MSIG
3.3 BPs approve MSIG
approve MSIG3.4 exec MSIG
exec MSIGLast updated
Was this helpful?