Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helix conf and generate typescript config #1

Merged
merged 9 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.retry
.DS_Store
*.local.*

node_modules

/generated
_tmp

8 changes: 8 additions & 0 deletions conf/mainnets/$.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

protocol:
lnv2-default: '0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337'
lnv2-opposite: '0x48d769d5C7ff75703cDd1543A1a2ed9bC9044A23'
lnv3: '0xbA5D580B18b6436411562981e02c8A9aA1776D10'
messagers:
- name: msgline
address: '0x65Be094765731F394bc6d9DF53bDF3376F1Fc8B0'
132 changes: 132 additions & 0 deletions conf/mainnets/arbitrum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
id: "42161"
code: arbitrum
name: Arbitrum
rpcs:
- https://polygon-bor-rpc.publicnode.com
protocol:
lnv2-default: '0x94C614DAeFDbf151E1BB53d6A201ae5fF56A9337'
lnv2-opposite: '0x48d769d5C7ff75703cDd1543A1a2ed9bC9044A23'
lnv3: '0xbA5D580B18b6436411562981e02c8A9aA1776D10'
messagers:
- name: layerzero
address: '0x509354A4ebf98aCC7a65d2264694A65a2938cac9'
tokens:
- symbol: ETH
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native
- symbol: USDT
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9'
decimals: 6
type: erc20
- symbol: USDC
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8'
decimals: 6
type: erc20
- symbol: RING
address: '0x9e523234D36973f9e38642886197D023C88e307e'
decimals: 18
type: erc20
couples:

## eth
- chain: blast
symbol: eth
protocol: lnv3
fee: '10000000000000'
messager: layerzero
- chain: linea
symbol: eth
protocol: lnv2-default
fee: '10000000000000'
messager: layerzero
- chain: astar-zkevm
symbol: eth
protocol: lnv3
fee: '10000000000000'
messager: layerzero
- chain: op
symbol: eth
protocol: lnv3
fee: '10000000000000'
messager: layerzero


## ring
- chain: ethereum
symbol:
from: RING
to: RING
protocol: lnv2-opposite
fee: '100000000000000000000'
messager: arbitrum-l2
- chain: polygon
symbol: RING
protocol: lnv2-default
fee: '100000000000000000000'
messager: layerzero
- chain: darwinia-dvm
symbol: RING/RING
protocol: lnv2-default
fee: '10000000000000000000'
messager: msgline

## usdt
- chain: mantle
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: zksync
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: bsc
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: linea
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: polygon
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: op
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: gnosis
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: scroll
symbol: USDT
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: moonbeam
symbol: USDT
protocol: lnv3
fee: '100000'
messager: layerzero

## usdc
- chain: mantle
symbol: USDC
protocol: lnv2-default
fee: '100000'
messager: layerzero
- chain: scroll
symbol: USDC
protocol: lnv2-default
fee: '100000'
messager: layerzero

22 changes: 22 additions & 0 deletions conf/mainnets/astar-zkevm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
id: "3776"
code: astar-zkevm
name: Astar zkEVM
rpcs:
- https://rpc.startale.com/astar-zkevm
messagers:
- name: layerzero
address: '0x61B6B8c7C00aA7F060a2BEDeE6b11927CC9c3eF1'
tokens:
- symbol: 'eth'
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native
couples:

## eth
- chain: arbitrum
symbol: eth
protocol: lnv3
fee: '10000000000000'
messager: layerzero

22 changes: 22 additions & 0 deletions conf/mainnets/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
id: "8453"
code: base
name: base
rpcs:
- https://mainnet.base.org
tokens:
- symbol: 'eth'
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
decimals: 18
type: native
- symbol: 'usdc'
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
decimals: 6
type: erc20

couples:
## usdc
- chain: bsc
symbol: usdc
protocol: lnv2-default
fee: '100000'
messager: layerzero
19 changes: 19 additions & 0 deletions conf/mainnets/blast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
id: "81457"
code: blast
name: Blast
rpcs:
- https://rpc.blastblockchain.com
tokens:
- symbol: 'eth'
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native

couples:
## eth
- chain: arbitrum
symbol: eth
protocol: lnv3
fee: '10000000000000'
messager: layerzero

76 changes: 76 additions & 0 deletions conf/mainnets/bsc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
id: "56"
code: bsc
name: bsc
rpcs:
- https://bsc-rpc.publicnode.com
messagers:
- name: layerzero
address: '0x89AF830781A2C1d3580Db930bea11094F55AfEae'
tokens:
- symbol: bnb
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native
- symbol: usdt
address: '0x55d398326f99059fF775485246999027B3197955'
decimals: 18
type: erc20
- symbol: usdc
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d'
decimals: 18
type: erc20

couples:

## usdt
- chain: arbitrum
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: op
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: linea
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: polygon
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: polygon-zkEvm
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: mantle
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: scroll
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero
- chain: gnosis
symbol: usdt
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero


## usdc
- chain: base
symbol: usdc
protocol: lnv2-default
fee: '100000000000000000'
messager: layerzero



38 changes: 38 additions & 0 deletions conf/mainnets/crab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
id: "44"
code: crab-dvm
name: Crab
rpcs:
- https://crab-rpc.darwinia.network
tokens:
- symbol: crab
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native
- symbol: ring
address: '0x273131F7CB50ac002BDd08cA721988731F7e1092'
decimals: 18
type: erc20
- symbol: xWRING
name: xWRING
address: '0x273131F7CB50ac002BDd08cA721988731F7e1092'
decimals: 18
type: erc20

couples:

## crab
- chain: darwinia-dvm
symbol: crab/xWCRAB
protocol: lnv2-default
fee: '100000000000000000000'
messager: msgline
hidden: true

- chain: darwinia-dvm
symbol: xWRING/ring
protocol: lnv2-default
fee: '10000000000000000000'
messager: msgline
category: ring
hidden: true

Loading