Skip to content

Commit

Permalink
Update config templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pouya-eghbali committed Feb 24, 2024
1 parent 64eeeee commit 75af39c
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf.broker.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ rpc:

plugins:
uniswap:
schedule:
arbitrum: 100
ethereum: 5000

tokens:
- name: ethereum
pair: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Expand Down
4 changes: 4 additions & 0 deletions conf.remote.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ rpc:

plugins:
uniswap:
schedule:
arbitrum: 100
ethereum: 5000

tokens:
- name: ethereum
pair: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Expand Down
65 changes: 65 additions & 0 deletions conf.standalone.yaml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
log: info
name: <name>

database:
url: postgres://<user>:<pass>@<host>:<port>/<db>

rpc:
ethereum:
- https://ethereum.publicnode.com
- https://eth.llamarpc.com
- wss://ethereum.publicnode.com
- https://eth.rpc.blxrbdn.com

arbitrum:
- https://arbitrum-one.publicnode.com
- https://arbitrum.llamarpc.com
- wss://arbitrum-one.publicnode.com
- https://arbitrum-one.public.blastapi.io

plugins:
logs:
schedule:
arbitrum: 100
ethereum: 5000

events:
- name: DAI
chain: ethereum
abi: ./abi/ERC20.json
event: Transfer
address: "0x6B175474E89094C44Da98b954EedeAC495271d0F"
from: 19271250
step: 8
confirmations: 8
store: true

uniswap:
schedule:
arbitrum: 100
ethereum: 5000

tokens:
- name: ethereum
pair: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
delta: 6
invert: true
unit: USDT
send: false
store: true

- name: arbitrum
pair: "0x59354356Ec5d56306791873f567d61EBf11dfbD5"
delta: 0
invert: false
unit: ETH
send: false
store: true

- name: bitcoin
pair: "0x9db9e0e53058c89e5b94e29621a205198648425b"
delta: 2
invert: false
unit: USDT
send: false
store: true
4 changes: 4 additions & 0 deletions conf.worker.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ rpc:

plugins:
uniswap:
schedule:
arbitrum: 100
ethereum: 5000

tokens:
- name: ethereum
pair: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Expand Down
4 changes: 4 additions & 0 deletions quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ rpc:

plugins:
uniswap:
schedule:
arbitrum: 100
ethereum: 5000

tokens:
- name: ethereum
pair: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Expand Down

0 comments on commit 75af39c

Please sign in to comment.