BOS Oracle Deployment

1. Create Oracle Contract Account oracle.bos

1.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

1.3. Generate buyram ACTION

1.4. Create delegatebw ACTION

1.5. Combine ACTIONs into neworacle.json,create proposal

neworacle.json:

2. Set contract

2.1 Create set contract ACTION

2.2 Create MSIG

2.3 BPs approve MSIG

2.4 exec execute MSIG

2.5 Initialize Oracle

_Note: the meanings of parameters: Configurations

3. Import Arbitrators

3.1 Create importwps ACTION

3.2 Create MSIG

3.3 BPs approve MSIG

3.4 exec MSIG

Last updated

Was this helpful?