-
Notifications
You must be signed in to change notification settings - Fork 15
/
evm.sh
60 lines (46 loc) · 2.45 KB
/
evm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
sb evm queue create --arbitrum --testnet --account ~/.config/arbitrum/testnet.txt \
--name "gally test queue" \
--oracleTimeout 3600 \
--queueSize 8
queue_address="0xB1c6E716ACae35200Dc8278A63a424f58417954c"
sb evm queue print --arbitrum --testnet 0xB1c6E716ACae35200Dc8278A63a424f58417954c --oracles
sb evm oracle create 0xB1c6E716ACae35200Dc8278A63a424f58417954c --arbitrum --testnet --account ~/.config/arbitrum/testnet.txt \
--name "gally test oracle" \
--enable
oracle_address="0x5eeFE1CA9D1093a59aC9278cC6D296A4eeDd6385"
sb evm oracle print 0x5eeFE1CA9D1093a59aC9278cC6D296A4eeDd6385 --arbitrum --testnet
sb evm queue print --arbitrum --testnet 0xB1c6E716ACae35200Dc8278A63a424f58417954c --oracles
sb evm oracle heartbeat 0x5eeFE1CA9D1093a59aC9278cC6D296A4eeDd6385 --arbitrum --testnet --account ~/.config/arbitrum/testnet.txt
sb evm queue print --arbitrum --testnet 0xB1c6E716ACae35200Dc8278A63a424f58417954c --oracles
sb evm aggregator create --arbitrum --testnet --account ~/.config/arbitrum/testnet.txt 0xB1c6E716ACae35200Dc8278A63a424f58417954c \
--name "gally test BTC feed" \
--batchSize 1 \
--updateInterval 90 \
--fundAmount 0.25 \
--enable \
--job ../directory/jobs/btc/binanceCom.jsonc \
--job ../directory/jobs/btc/coinbase.jsonc \
--job ../directory/jobs/btc/kraken.jsonc \
--job ../directory/jobs/btc/okex.jsonc \
--job ../directory/jobs/btc/bitfinex.jsonc \
--job ../directory/jobs/btc/bitstamp.jsonc
aggregator_address="0x7892F7326291F3Bc17680956B476701DF76d52Da"
sb evm aggregator print --arbitrum --testnet 0x7892F7326291F3Bc17680956B476701DF76d52Da --jobs
sb evm job create --arbitrum --testnet \
--job ../directory/jobs/btc/binanceCom.jsonc \
--job ../directory/jobs/btc/coinbase.jsonc \
--job ../directory/jobs/btc/kraken.jsonc \
--job ../directory/jobs/btc/okex.jsonc \
--job ../directory/jobs/btc/bitfinex.jsonc \
--job ../directory/jobs/btc/bitstamp.jsonc \
--json > my_jobs.json
sb evm job create --arbitrum --testnet \
--hash bafkreihvxeb7rwyrilzmouid2onuwajkkng4ykdwrr6vaxjgg3zv3cghdy \
--removeJob ../directory/jobs/btc/okex.jsonc \
--json > my_updated_jobs.json
sb evm job print bafkreih4ots3go2ytcvp74cvshnmlikw2mtm47pugpnlzuf36vr6emoov4 --arbitrum --testnet
sb evm aggregator set 0x7892F7326291F3Bc17680956B476701DF76d52Da --arbitrum --testnet --account ~/.config/arbitrum/testnet.txt \
--name "gally test BTC feed v2" \
--updateInterval 180 \
--removeJob ../directory/jobs/btc/okex.jsonc