You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Oracle Core v2.0
2
2
3
-
The oracle core requires that the user has access to a full node wallet in order to create txs & perform UTXO-set scanning. Furthermore, each oracle core is designed to work with only a single oracle pool. If an operator runs several oracles in several oracle pools then a single full node can be used, but several instances of oracle cores must be run (and set with different API ports).
3
+
The oracle core requires that the user has access to a public node with activated extra option to create txs. Furthermore, each oracle core is designed to work with only a single oracle pool. If an operator runs several oracles in several oracle pools then a single full node can be used, but several instances of oracle cores must be run (and set with different API ports).
4
4
5
5
The current oracle core is built to run the protocol specified in the [EIP-0023 PR](https://github.com/ergoplatform/eips/pull/41).
6
6
@@ -19,7 +19,7 @@ docker run -d \
19
19
-v /path/on/host:/data \
20
20
-p 9010:9010 \
21
21
-p 9011:9011 \
22
-
-e ORACLE_NODE_API_KEY=CHANGE_ME_KEY \
22
+
-e ORACLE_WALLET_MNEMONIC=CHANGE_ME \
23
23
ergoplatform/oracle-core:latest
24
24
```
25
25
@@ -54,7 +54,7 @@ and set the required parameters:
54
54
-`oracle_address` - a node's address that will be used by this oracle-core instance(pay tx fees, keep tokens, etc.). Make sure it has coins;
55
55
-`node_url` node URL;
56
56
57
-
Set the environment variable `ORACLE_NODE_API_KEY` to the node's API key. You can put it in the `.secrets` file and then run `source .secrets` to load it into the environment. This way, the key does not get stored in the shell history.
57
+
Set the environment variable `ORACLE_WALLET_MNEMONIC` to the oracle's mnemonic. You can put it in the `.secrets` file and then run `source .secrets` to load it into the environment. This way, the key does not get stored in the shell history.
58
58
59
59
## Bootstrapping a new oracle pool
60
60
@@ -198,8 +198,8 @@ With optional(only if minted) parameters:
198
198
<REWARD_TOKEN_AMOUNT> - reward token amount in the pool box at the time of update transaction is committed (only if minted)
199
199
200
200
This will submit an update tx.
201
-
After the update tx is confirmed, remove `scanIds.json` and use `pool_config_updated.yaml` to run the oracle (i.e., rename it to `pool_config.yaml` and restart the oracle).
202
-
Distribute the `pool_config.yaml` file to all the oracles. Be sure they delete `scanIds.json` before restart.
201
+
After the update tx is confirmed and use `pool_config_updated.yaml` to run the oracle (i.e., rename it to `pool_config.yaml` and restart the oracle).
202
+
Distribute the `pool_config.yaml` file to all the oracles.
203
203
204
204
### Import update pool config with `import-pool-update` command
0 commit comments