Skip to content
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
2 changes: 1 addition & 1 deletion examples/ethereum/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function WalletPage() {

return (
<main className="container mx-auto py-10 px-4">
<h1 className="text-3xl font-bold text-center mb-8">Ethereum Wallet</h1>
<h1 className="text-3xl font-bold text-center mb-8">Ethereum Demo</h1>

<Box className={`grid gap-6 ${status === WalletState.Connected ? "md:grid-cols-2" : ""}`}>
<Card className='border border-1 p-5 rounded-md'>
Expand Down
2 changes: 1 addition & 1 deletion examples/ethereum/app/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "@interchain-ui/react/styles";
import { ThemeProvider } from "@interchain-ui/react";
import { ChainProvider, InterchainWalletModal } from "@interchain-kit/react";
import { metaMaskWallet } from '@interchain-kit/metamask-extension'
import { assetList, chain } from '@chain-registry/v2/mainnet/ethereum'
import { assetList, chain } from 'chain-registry/mainnet/ethereum'
import { createAssetListFromEthereumChainInfo, createChainFromEthereumChainInfo } from '@/lib/eth-test-net';

for (const asset of assetList.assets) {
Expand Down
4 changes: 2 additions & 2 deletions examples/ethereum/lib/eth-test-net.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { AssetList, Chain } from "@chain-registry/v2-types";
import ethereumChain from '@chain-registry/v2/mainnet/ethereum/chain'
import { AssetList, Chain } from "@chain-registry/types";
import ethereumChain from 'chain-registry/mainnet/ethereum/chain'

type EthereumChainConfig = {
chainId: string; // Chain ID in hexadecimal format
Expand Down
14 changes: 8 additions & 6 deletions examples/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@
"lint": "next lint"
},
"dependencies": {
"@chain-registry/v2": "1.71.188",
"@chain-registry/types": "^2.0.1",
"@chain-registry/v2": "^1.71.237",
"@hookform/resolvers": "^3.9.1",
"@interchain-kit/core": "0.3.36",
"@interchain-kit/keplr-extension": "0.3.36",
"@interchain-kit/metamask-extension": "0.3.36",
"@interchain-kit/react": "0.3.36",
"@interchain-kit/core": "0.3.39",
"@interchain-kit/keplr-extension": "0.3.39",
"@interchain-kit/metamask-extension": "0.3.39",
"@interchain-kit/react": "0.3.39",
"@interchain-ui/react": "^1.26.3",
"@interchainjs/ethereum": "1.11.9",
"@keplr-wallet/types": "^0.12.221",
"@metamask/providers": "^22.0.0",
"autoprefixer": "^10.4.20",
"bech32": "^2.0.0",
"chain-registry": "^2.0.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "1.0.4",
Expand Down Expand Up @@ -51,4 +53,4 @@
"typescript": "^5"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
23 changes: 14 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,11 @@
resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.50.114.tgz#e9203f398adcbfd46c223cd0576282d2e190a638"
integrity sha512-3u0x497ztq9K46+QzJRSKShJFlqc10DJa/HBCXOpaP44G/G6gWRWOGX6R3d0c/49fDEsSkCfp+joUstpECLpFQ==

"@chain-registry/types@^2.0.1":
version "2.0.1"
resolved "https://registry.npmjs.org/@chain-registry/types/-/types-2.0.1.tgz#f563747d9a8b619cba4ad7b04ca96c5bd9e7998c"
integrity sha512-acza5f9AfnEE0NA1LVOqp5R0U7L0pZBWonSXSNYn3NVTS8Y4XFAl/mkOxUcx9AsY4Em98R8hkORMdra2wIVpyA==

"@chain-registry/utils@^1.17.0", "@chain-registry/utils@^1.51.114", "@chain-registry/utils@^1.51.13":
version "1.51.114"
resolved "https://registry.npmjs.org/@chain-registry/utils/-/utils-1.51.114.tgz#c5169f263e0286a6cb0b4af1373453127eed78ab"
Expand Down Expand Up @@ -1453,18 +1458,11 @@
resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.53.111.tgz#de01b1ff884fe5eebbbacd58739f7e3c398611f7"
integrity sha512-7N7nw4qvFziHfZGGZ51fKxjARGJy22Uac+BBQ3S9kV8WSAnaMJkbFaURld/dEpp+etfJwcj+EJ0rDcRtxHPWhQ==

"@chain-registry/v2-types@^0.53.116", "@chain-registry/v2-types@^0.53.146":
"@chain-registry/v2-types@^0.53.146":
version "0.53.146"
resolved "https://registry.npmjs.org/@chain-registry/v2-types/-/v2-types-0.53.146.tgz#b8865f588d8fc19c30f76eacbf0593e73821c88e"
integrity sha512-GnqdNnEJ+ZTAc/0S9fQbwL5GpIvF3LZ/P3o6qh6EyITSiRA1Y55FXs59eSddltpPX5EgyWDwNpJjY+Q5uYlAkA==

"@chain-registry/[email protected]":
version "1.71.188"
resolved "https://registry.npmjs.org/@chain-registry/v2/-/v2-1.71.188.tgz#e568b347d43d42036b30b84cbc5319f6249f1892"
integrity sha512-eotS/Qe/cVYKVDPwuJcKdLKXmTtxfFnPznz3pe5q67VCUbPod34iUbXtRzxey9QND0yD+ptRKYluqmDSgG6d3A==
dependencies:
"@chain-registry/v2-types" "^0.53.116"

"@chain-registry/[email protected]":
version "1.71.71"
resolved "https://registry.npmjs.org/@chain-registry/v2/-/v2-1.71.71.tgz#648eab79a487a2680c77b85fab96d5c5d5fb3eea"
Expand Down Expand Up @@ -2896,7 +2894,7 @@
"@floating-ui/core" "^1.6.0"
"@floating-ui/utils" "^0.2.9"

"@floating-ui/react-dom@^2.1.0", "@floating-ui/react-dom@^2.1.1", "@floating-ui/react-dom@^2.1.2":
"@floating-ui/react-dom@^2.1.1", "@floating-ui/react-dom@^2.1.2":
version "2.1.2"
resolved "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz#a1349bbf6a0e5cb5ded55d023766f20a4d439a31"
integrity sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==
Expand Down Expand Up @@ -10475,6 +10473,13 @@ chain-registry@^1.69.32:
dependencies:
"@chain-registry/types" "^0.50.114"

chain-registry@^2.0.1:
version "2.0.1"
resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-2.0.1.tgz#b0ba384316161913d9adccf58a4a25a6679f79bd"
integrity sha512-9o6XbE0fMbwoSxckPS+IbDYN+H+vJ3VGP/v2qwqC59GjsybJJe9yeqSjHAy5ySaPcEAv7OXzW1OMsFQkpEuLIA==
dependencies:
"@chain-registry/types" "^2.0.1"

chalk@^1.0.0, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
Expand Down
Loading