Skip to content

Commit

Permalink
refactor config for token
Browse files Browse the repository at this point in the history
  • Loading branch information
Duong Minh Ngoc committed Mar 13, 2024
1 parent ccffd1f commit 0e30ad9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/consts/chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ hypertestnet:
protocol: ethereum
rpcUrls:
- http: https://rpc-testnet.hypr.network/
nativeToken: { name: 'Ether', symbol: 'ETH', decimals: 18 }
sepolia:
chainId: 11155111
domainId: 11155111
name: sepolia
protocol: ethereum
rpcUrls:
- http: https://1rpc.io/sepolia
- http: https://ethereum-sepolia-rpc.publicnode.com
nativeToken: { name: 'Ether', symbol: 'ETH', decimals: 18 }
8 changes: 4 additions & 4 deletions src/consts/tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
tokens:
# Eth Mainnet HypNative token
- chainName: sepolia
standard: EvmHypNative
standard: EvmHypSynthetic
decimals: 18
symbol: ETH
name: Ether
addressOrDenom: '0x767C51a91CC9dEF2F24C35c340649411D6390320'
addressOrDenom: '0x79Aa9f56d63dcC332bC3dbF0492b02F89C040007'
logoURI: '/logos/weth.png'
connections:
- { token: ethereum|hypertestnet|0x1E34f3EB8f627F70d7920B4aD7eC5A75161a7Ce2 }
- chainName: hypertestnet
standard: EvmHypSynthetic
standard: EvmHypNative
decimals: 18
symbol: ETH
name: Ether
addressOrDenom: '0x1E34f3EB8f627F70d7920B4aD7eC5A75161a7Ce2'
logoURI: '/logos/weth.png'
connections:
- { token: ethereum|sepolia|0x767C51a91CC9dEF2F24C35c340649411D6390320 }
- { token: ethereum|sepolia|0x79Aa9f56d63dcC332bC3dbF0492b02F89C040007 }

0 comments on commit 0e30ad9

Please sign in to comment.