diff --git a/layer/Service.ts b/layer/Service.ts index d12667ee..adabbc00 100644 --- a/layer/Service.ts +++ b/layer/Service.ts @@ -46,6 +46,8 @@ import { StakingCacheApi } from './providers/cacheApi/staking' import { DerivativeCacheApi } from './providers/cacheApi/derivative' import { TokenPrice as TokenPriceService } from './services/tokenPrice' import { PythService } from './services/pythClient' +import { Web3Client } from './services/Web3Client' +import { alchemyRpcEndpoint } from './wallet/alchemy' // Services export const ibcApi = new ChainGrpcIbcApi(ENDPOINTS.grpc) @@ -129,3 +131,8 @@ export const alchemyClient = IS_MAINNET apiKey: ALCHEMY_SEPOLIA_KEY, network: AlchemyNetwork.ETH_SEPOLIA }) + +export const web3Client = new Web3Client({ + network: NETWORK, + rpc: alchemyRpcEndpoint +}) diff --git a/layer/components/Notification.vue b/layer/components/Notification.vue index d84ff28c..8fbddcc4 100644 --- a/layer/components/Notification.vue +++ b/layer/components/Notification.vue @@ -108,7 +108,9 @@ function onResume() { >