From 0e30ad9e2b3401dc2f6dc231890ac271f9a3cdf4 Mon Sep 17 00:00:00 2001 From: Duong Minh Ngoc Date: Thu, 14 Mar 2024 00:42:29 +0700 Subject: [PATCH] refactor config for token --- src/consts/chains.yaml | 4 +++- src/consts/tokens.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/consts/chains.yaml b/src/consts/chains.yaml index 81c2ab77..2006d313 100644 --- a/src/consts/chains.yaml +++ b/src/consts/chains.yaml @@ -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 \ No newline at end of file + - http: https://ethereum-sepolia-rpc.publicnode.com + nativeToken: { name: 'Ether', symbol: 'ETH', decimals: 18 } \ No newline at end of file diff --git a/src/consts/tokens.yaml b/src/consts/tokens.yaml index e3f201ce..1fece9df 100644 --- a/src/consts/tokens.yaml +++ b/src/consts/tokens.yaml @@ -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 }