diff --git a/examples/ethereum/app/page.tsx b/examples/ethereum/app/page.tsx index 88edb14b..3d5dcea4 100644 --- a/examples/ethereum/app/page.tsx +++ b/examples/ethereum/app/page.tsx @@ -8,6 +8,7 @@ import { MetaMaskInpageProvider } from "@metamask/providers"; import BigNumber from "bignumber.js"; import { useChain } from '@interchain-kit/react' import { WalletState } from "@interchain-kit/core" +import { BSC_TESTNET, HOLESKY_TESTNET, SEPOLIA_TESTNET } from "./provider" type EthereumProvider = MetaMaskInpageProvider @@ -27,14 +28,14 @@ export default function WalletPage() { const [error, setError] = useState("") const [ethereum, setEthereum] = useState() - const { wallet, status, connect, address: account, disconnect } = useChain('ethereum') + const { wallet, status, connect, address: account, disconnect } = useChain(SEPOLIA_TESTNET.chainName) // chain name must be same as getProvider chain id useEffect(() => { console.log('status from useChain:', status) if (status === WalletState.Connected) { const setEthProviderFromWallet = async () => { await new Promise(resolve => setTimeout(resolve, 500)) - const ethProviderFromWallet = await wallet.getProvider('1') as EthereumProvider + const ethProviderFromWallet = await wallet.getProvider(SEPOLIA_TESTNET.chainId) as EthereumProvider console.log("Ethereum provider:", ethProviderFromWallet) setEthereum(ethProviderFromWallet) } @@ -156,8 +157,15 @@ export default function WalletPage() { - - ETH Balance + + + ETH Balance + + diff --git a/examples/ethereum/app/provider.tsx b/examples/ethereum/app/provider.tsx index fd31c0e8..8015a940 100644 --- a/examples/ethereum/app/provider.tsx +++ b/examples/ethereum/app/provider.tsx @@ -6,23 +6,128 @@ import { ThemeProvider } from "@interchain-ui/react"; import { ChainProvider } from "@interchain-kit/react"; import { metaMaskWallet } from '@interchain-kit/metamask-extension' import { assetList, chain } from '@chain-registry/v2/mainnet/ethereum' +import { createChainFromEthereumChainInfo } from '@/lib/eth-test-net'; + +for (const asset of assetList.assets) { + if (asset.symbol === 'ETH') { + asset.logoURIs = { + png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png', + svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg' + } + } +} const _wallets = [ metaMaskWallet, ]; +export const SEPOLIA_TESTNET = { + chainId: "11155111", // 11155111(0xaa36a7) + chainName: "Sepolia", + rpcUrls: ["https://1rpc.io/sepolia"], + nativeCurrency: { + name: "Sepolia ETH", + symbol: "ETH", + decimals: 18, + }, + blockExplorerUrls: ["https://sepolia.etherscan.io"], +} +const sepoliaChain = createChainFromEthereumChainInfo(SEPOLIA_TESTNET) + +// reference: https://github.com/hyperweb-io/interchain-kit/blob/main/examples/react/src/main.tsx#L86 +export const HOLESKY_TESTNET = { + chainId: "17000", // 17000 | 0x4268 + chainName: "Holesky", + rpcUrls: ["https://1rpc.io/holesky"], + nativeCurrency: { + name: "Holesky ETH", + symbol: "ETH", + decimals: 18, + }, + blockExplorerUrls: ["https://holesky.etherscan.io"], +}; + +const holeskyChain = createChainFromEthereumChainInfo(HOLESKY_TESTNET) + +export const BSC_TESTNET = { + chainId: "97", + chainName: "Binance Smart Chain Testnet", + rpcUrls: ["https://data-seed-prebsc-1-s1.binance.org:8545"], + nativeCurrency: { + name: "BSC Testnet", + symbol: "tBNB", + decimals: 18, + }, + blockExplorerUrls: ["https://testnet.bscscan.com"], +}; + +const bscChain = createChainFromEthereumChainInfo(BSC_TESTNET) + +const assets = [ + { + "description": "", + "extendedDescription": "", + "denomUnits": [ + { + "denom": "wei", + "exponent": 0 + }, + { + "denom": "gwei", + "exponent": 9 + }, + { + "denom": "eth", + "exponent": 18, + "aliases": [ + "ether" + ] + } + ], + "typeAsset": "evm-base", + "base": "wei", + "name": "Holesky ETH", + "display": "eth", + "symbol": "ETH", + "logoURIs": { + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg" + }, + "coingeckoId": "ethereum", + "images": [ + { + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg", + "theme": { + "primaryColorHex": "#303030" + } + } + ] + } +] + export default function Provider({ children, }: Readonly<{ children: React.ReactNode }>) { + console.log('chain', chain) + console.log('assetList', assetList) return ( {children} diff --git a/examples/ethereum/lib/eth-test-net.ts b/examples/ethereum/lib/eth-test-net.ts new file mode 100644 index 00000000..3890bfd7 --- /dev/null +++ b/examples/ethereum/lib/eth-test-net.ts @@ -0,0 +1,73 @@ + +import { AssetList, Chain } from "@chain-registry/v2-types"; +import ethereumChain from '@chain-registry/v2/mainnet/ethereum/chain' + +type EthereumChainConfig = { + chainId: string; // Chain ID in hexadecimal format + chainName: string; // Human-readable name of the chain + rpcUrls: string[]; // Array of RPC URLs for the chain + nativeCurrency: { + name: string; // Name of the native currency (e.g., "Goerli ETH") + symbol: string; // Symbol of the native currency (e.g., "ETH") + decimals: number; // Number of decimals for the native currency + }; + blockExplorerUrls?: string[]; // Optional array of block explorer URLs +}; + +export const createChainFromEthereumChainInfo = (etherChainInfo: EthereumChainConfig): Chain => { + const newChain = { + ...ethereumChain, + chainId: etherChainInfo.chainId, + chainName: etherChainInfo.chainName, + apis: { + rpc: etherChainInfo.rpcUrls.map((address) => ({ address })), + }, + } + return newChain +} + +export const createAssetListFromEthereumChainInfo = (etherChainInfo: EthereumChainConfig): AssetList => { + return { + $schema: '../../assetlist.schema.json', + chainName: etherChainInfo.chainName, + assets: [ + { + description: 'Ethereum is a decentralized blockchain platform for running smart contracts and dApps, with Ether (ETH) as its native cryptocurrency, enabling a versatile ecosystem beyond just digital currency.', + extendedDescription: 'Ethereum, symbolized as ETH, is a groundbreaking cryptocurrency and blockchain platform introduced in 2015 by a team led by Vitalik Buterin. Unlike Bitcoin, which primarily serves as a digital currency, Ethereum is designed to be a decentralized platform for running smart contracts and decentralized applications (dApps). These smart contracts are self-executing contracts with the terms directly written into code, enabling trustless and automated transactions without intermediaries. Ethereum\'s blockchain can host a wide variety of applications, from financial services to gaming, making it a versatile and powerful tool in the world of blockchain technology.\n\nOne of the most notable features of Ethereum is its native cryptocurrency, Ether (ETH), which is used to pay for transaction fees and computational services on the network. Ethereum has also been the backbone for the explosive growth of decentralized finance (DeFi), which seeks to recreate traditional financial systems with blockchain-based alternatives. Additionally, Ethereum is undergoing a significant upgrade known as Ethereum 2.0, which aims to improve scalability, security, and energy efficiency through a shift from proof-of-work (PoW) to proof-of-stake (PoS) consensus mechanisms. This transition is expected to enhance the network\'s performance and reduce its environmental impact, further solidifying Ethereum\'s position as a leading platform in the blockchain ecosystem.', + denomUnits: [ + { + denom: 'wei', + exponent: 0 + }, + { + denom: 'gwei', + exponent: 9 + }, + { + denom: 'eth', + exponent: etherChainInfo.nativeCurrency.decimals, + aliases: ['ether'] + } + ], + typeAsset: 'evm-base', + base: 'wei', + name: etherChainInfo.chainName, + display: 'eth', + symbol: etherChainInfo.nativeCurrency.symbol, + logoURIs: { + png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png', + svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg' + }, + coingeckoId: 'ethereum', + images: [{ + png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png', + svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg', + theme: { + primaryColorHex: '#303030' + } + }] + } + ] + } +} + diff --git a/examples/ethereum/package.json b/examples/ethereum/package.json index 91a8691a..2966fa31 100644 --- a/examples/ethereum/package.json +++ b/examples/ethereum/package.json @@ -11,10 +11,10 @@ "dependencies": { "@chain-registry/v2": "^1.71.188", "@hookform/resolvers": "^3.9.1", - "@interchain-kit/core": "0.3.8", - "@interchain-kit/keplr-extension": "^0.3.3", - "@interchain-kit/metamask-extension": "0.3.8", - "@interchain-kit/react": "0.3.8", + "@interchain-kit/core": "0.3.18", + "@interchain-kit/keplr-extension": "0.3.18", + "@interchain-kit/metamask-extension": "0.3.18", + "@interchain-kit/react": "0.3.18", "@interchain-ui/react": "1.26.1", "@interchainjs/ethereum": "^1.11.4", "@keplr-wallet/types": "^0.12.221", diff --git a/examples/ethereum/yarn.lock b/examples/ethereum/yarn.lock index 7f8f7a9c..bf40b275 100644 --- a/examples/ethereum/yarn.lock +++ b/examples/ethereum/yarn.lock @@ -49,13 +49,6 @@ __metadata: languageName: node linkType: hard -"@chain-registry/v2-types@npm:0.53.68": - version: 0.53.68 - resolution: "@chain-registry/v2-types@npm:0.53.68" - checksum: 10c0/5b4d1d039bce3bc595f83e6950f6c1a5594984ae141461f2225b9a45a3c2dddc243ccb0d1af433dae6d9477a724170d471a365d6905ede854c0fb478f343b918 - languageName: node - linkType: hard - "@chain-registry/v2-types@npm:^0.53.115, @chain-registry/v2-types@npm:^0.53.40": version: 0.53.115 resolution: "@chain-registry/v2-types@npm:0.53.115" @@ -70,15 +63,6 @@ __metadata: languageName: node linkType: hard -"@chain-registry/v2@npm:^1.65.6, @chain-registry/v2@npm:^1.71.71": - version: 1.71.187 - resolution: "@chain-registry/v2@npm:1.71.187" - dependencies: - "@chain-registry/v2-types": "npm:^0.53.115" - checksum: 10c0/63c77833dd91a41a5be6f417effc1e97bc16265a3ae72a33ec912906facc1496ee69dc6dca10cc54d0dce8aa24cbdd435f9767a7b5041f0b968118cf8ce09541 - languageName: node - linkType: hard - "@chain-registry/v2@npm:^1.71.188": version: 1.71.188 resolution: "@chain-registry/v2@npm:1.71.188" @@ -88,6 +72,15 @@ __metadata: languageName: node linkType: hard +"@chain-registry/v2@npm:^1.71.71": + version: 1.71.187 + resolution: "@chain-registry/v2@npm:1.71.187" + dependencies: + "@chain-registry/v2-types": "npm:^0.53.115" + checksum: 10c0/63c77833dd91a41a5be6f417effc1e97bc16265a3ae72a33ec912906facc1496ee69dc6dca10cc54d0dce8aa24cbdd435f9767a7b5041f0b968118cf8ce09541 + languageName: node + linkType: hard + "@emnapi/runtime@npm:^1.2.0": version: 1.4.3 resolution: "@emnapi/runtime@npm:1.4.3" @@ -467,10 +460,10 @@ __metadata: dependencies: "@chain-registry/v2": "npm:^1.71.188" "@hookform/resolvers": "npm:^3.9.1" - "@interchain-kit/core": "npm:0.3.8" - "@interchain-kit/keplr-extension": "npm:^0.3.3" - "@interchain-kit/metamask-extension": "npm:0.3.8" - "@interchain-kit/react": "npm:0.3.8" + "@interchain-kit/core": "npm:0.3.18" + "@interchain-kit/keplr-extension": "npm:0.3.18" + "@interchain-kit/metamask-extension": "npm:0.3.18" + "@interchain-kit/react": "npm:0.3.18" "@interchain-ui/react": "npm:1.26.1" "@interchainjs/ethereum": "npm:^1.11.4" "@keplr-wallet/types": "npm:^0.12.221" @@ -681,15 +674,15 @@ __metadata: languageName: node linkType: hard -"@interchain-kit/core@npm:0.3.3": - version: 0.3.3 - resolution: "@interchain-kit/core@npm:0.3.3" +"@interchain-kit/core@npm:0.3.18": + version: 0.3.18 + resolution: "@interchain-kit/core@npm:0.3.18" dependencies: "@chain-registry/v2": "npm:^1.71.71" "@chain-registry/v2-keplr": "npm:^0.0.72" "@chain-registry/v2-types": "npm:^0.53.40" - "@interchainjs/cosmos": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" "@ledgerhq/hw-app-cosmos": "npm:^6.30.4" "@ledgerhq/hw-transport": "npm:^6.31.4" "@ledgerhq/hw-transport-webhid": "npm:^6.30.0" @@ -699,74 +692,50 @@ __metadata: "@walletconnect/universal-provider": "npm:^2.19.1" bowser: "npm:^2.11.0" buffer: "npm:^6.0.3" - interchainjs: "npm:1.11.2" + interchainjs: "npm:1.11.5" long: "npm:^5.2.3" - checksum: 10c0/460a1dd4c18053e609e4748d5aa2bc8d6a1cfc76a20169babcf76251c409d60e2fc6247259eebbb3a529d062a73a01c75571509b3097979542f6ad070b8e65ec + checksum: 10c0/99c335a45b63aeb94d1e3ec2c978b35efb26136533d231325e51f140c5c28d469600a29c44f563bcd24137b97bb443eeea9ca8de7566d47355426c31e345437d languageName: node linkType: hard -"@interchain-kit/core@npm:0.3.8": - version: 0.3.8 - resolution: "@interchain-kit/core@npm:0.3.8" +"@interchain-kit/keplr-extension@npm:0.3.18": + version: 0.3.18 + resolution: "@interchain-kit/keplr-extension@npm:0.3.18" dependencies: - "@chain-registry/v2": "npm:^1.71.71" - "@chain-registry/v2-keplr": "npm:^0.0.72" - "@chain-registry/v2-types": "npm:^0.53.40" - "@interchainjs/cosmos": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" - "@ledgerhq/hw-app-cosmos": "npm:^6.30.4" - "@ledgerhq/hw-transport": "npm:^6.31.4" - "@ledgerhq/hw-transport-webhid": "npm:^6.30.0" - "@ledgerhq/hw-transport-webusb": "npm:^6.29.4" - "@walletconnect/sign-client": "npm:^2.19.1" - "@walletconnect/types": "npm:^2.19.1" - "@walletconnect/universal-provider": "npm:^2.19.1" - bowser: "npm:^2.11.0" - buffer: "npm:^6.0.3" - interchainjs: "npm:1.11.2" - long: "npm:^5.2.3" - checksum: 10c0/e861f7d9334deb24c162797b990c800646ab78bc3467f6702745a101b9183186a43294a3710c15c8c5fbc9c0e5396898a0c53f9220849e91bd36dd4be88b078f - languageName: node - linkType: hard - -"@interchain-kit/keplr-extension@npm:^0.3.3": - version: 0.3.3 - resolution: "@interchain-kit/keplr-extension@npm:0.3.3" - dependencies: - "@interchain-kit/core": "npm:0.3.3" + "@interchain-kit/core": "npm:0.3.18" "@keplr-wallet/provider-extension": "npm:^0.12.102" - checksum: 10c0/2740bd515a5f41e969b860b7d6a04fd5316eba22895830bf8a2b554fd8a7a011ac2e4da95848155b76c62bed6adc5e9ed9e00dcf2f51e8bb257d58557656544d + checksum: 10c0/d4ad7dc649b7eaaded4b59845ddeef9f2293d7886bc37857f92c5475707a8c58549ac15c64b4a9ca94436221b34e4bed6a22115a5104700c2891c63c9debe4d6 languageName: node linkType: hard -"@interchain-kit/metamask-extension@npm:0.3.8": - version: 0.3.8 - resolution: "@interchain-kit/metamask-extension@npm:0.3.8" +"@interchain-kit/metamask-extension@npm:0.3.18": + version: 0.3.18 + resolution: "@interchain-kit/metamask-extension@npm:0.3.18" dependencies: - "@interchain-kit/core": "npm:0.3.8" - checksum: 10c0/5c17a175c376562260d20fed9545a6f09b754ff2a7a459a115ce64606198f3d543c95bfd43adbcdcab487c06adf32be90e4df4da6d8d87d41dd3d4e22fed7766 + "@interchain-kit/core": "npm:0.3.18" + checksum: 10c0/13f20e36085587d199f7a9dc7b53197d293389bfe35d857e1c8f61e512bb2cdec4f8f3c3e078d0104f8ed2df47fc792d121264b0182a2321ee894b8af7d3d0ce languageName: node linkType: hard -"@interchain-kit/react@npm:0.3.8": - version: 0.3.8 - resolution: "@interchain-kit/react@npm:0.3.8" +"@interchain-kit/react@npm:0.3.18": + version: 0.3.18 + resolution: "@interchain-kit/react@npm:0.3.18" dependencies: "@chain-registry/v2-types": "npm:^0.53.40" - "@interchain-kit/core": "npm:0.3.8" + "@interchain-kit/core": "npm:0.3.18" "@interchain-ui/react": "npm:1.26.1" - "@interchainjs/cosmos": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" "@react-icons/all-files": "npm:^4.1.0" "@walletconnect/types": "npm:^2.17.3" - interchainjs: "npm:1.11.2" + interchainjs: "npm:1.11.5" zustand: "npm:^5.0.3" peerDependencies: "@types/react": ^19.0.0 "@types/react-dom": ^19.0.0 react: ^19.0.0 react-dom: ^19.0.0 - checksum: 10c0/40ca129fdf8c40e47e5236d1d95cea6180e2797b6591bcf95a5bf33a874556542d63aca0623ee82233d757f1108da6026ec222a31d01e2d8dd33801ba1ec3f73 + checksum: 10c0/aad9f2d3675463e6a9ff5afd7fa4ff6dde9d53d0bfb67f79ef3a94e9cfbc01729fe64cad855a718eaea43b51f889240686b97961b9b00acd0badee885d4e5948 languageName: node linkType: hard @@ -807,83 +776,81 @@ __metadata: languageName: node linkType: hard -"@interchainjs/amino@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/amino@npm:1.11.2" +"@interchainjs/amino@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/amino@npm:1.11.5" dependencies: - "@interchainjs/crypto": "npm:1.11.2" - "@interchainjs/encoding": "npm:1.11.2" - "@interchainjs/math": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" - checksum: 10c0/a56b818cf517231094e7f2752601220ad92ee2ae8bd15638405f5383c6eb18b8e93c7352d9093174e9a700c787d2ba68defb59c8d9516d845bb5a560547f5571 + "@interchainjs/crypto": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" + checksum: 10c0/558f5f96e3bfefad3c342cdde0e0e873fa27f2dc3454a2ffa3f6eb8a64d098a12c0f1b86da55314ae67bc133686ffb0204a73928eb6e624e7f81deec69355dbe languageName: node linkType: hard -"@interchainjs/auth@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/auth@npm:1.11.2" +"@interchainjs/auth@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/auth@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" "@scure/bip32": "npm:^1.0.10" ethers: "npm:^6.5.1" - checksum: 10c0/dba55491bb8933d681330779d9c23a86ec2bbee17fcac3998cd1941274c30ce050814bd8ff21b8b694af39c5aba8e1faaed6bfa50e4f5e359a156b29768f9dd8 + checksum: 10c0/aba05379eda5feac5f8c81c67810e44fa1bcae6716ff094e68dd2fdd747f3bb283dd03154ebd49355ea62c1a70e01210b3ae4ba8edd2ba2c647e4c2871928d47 languageName: node linkType: hard -"@interchainjs/cosmos-types@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/cosmos-types@npm:1.11.2" +"@interchainjs/cosmos-types@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/cosmos-types@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" - checksum: 10c0/7866752c4b88ced3b38ddfeb9ab6091235657abb0c5a1bf470d0d5df4a5bab1bc5cf315d2f36405d75e895abe178b9ea11bb3c7fdf7679441fa2ff88abedb04e + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" + checksum: 10c0/c7ef08ae0dcb0149a9e4805ab36c5abf15cb4891260d8fc810b491bc1da5825d93f1610fed83db2a2e9e893c8e3e552c8cdf1b717261a8cfaf9c843ea0a167b0 languageName: node linkType: hard -"@interchainjs/cosmos@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/cosmos@npm:1.11.2" +"@interchainjs/cosmos@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/cosmos@npm:1.11.5" dependencies: - "@chain-registry/v2": "npm:^1.65.6" - "@chain-registry/v2-types": "npm:0.53.68" - "@interchainjs/auth": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" - "@interchainjs/types": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" + "@interchainjs/auth": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" - checksum: 10c0/a5ab154374c1aea5a2939229d82a794388de5867cf448bd96b6206147e15f99b9496dea26945e2919bf2a02f0a69ddfd05e8333676490e9ffae9740eb6890688 + checksum: 10c0/2e078bcccf4b3d9d68ca210dd746514b609004163d1472e6e32629d673b08d7677249c944862280c5627dc09d61be1b23d543692420719f4f1a9e2cd781b06e0 languageName: node linkType: hard -"@interchainjs/crypto@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/crypto@npm:1.11.2" +"@interchainjs/crypto@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/crypto@npm:1.11.5" dependencies: - "@interchainjs/encoding": "npm:1.11.2" - "@interchainjs/math": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/hashes": "npm:^1" bn.js: "npm:^5.2.0" elliptic: "npm:^6.5.4" libsodium-wrappers-sumo: "npm:^0.7.11" - checksum: 10c0/24943d0dcf22ae2afacadcc4ff2765d13bd4de73df2b0552ea29ae98a0c29e9e044bb7552968aff08fd99df2e7b2277f648d0a6fd2063c47a252ac2655f5a21a + checksum: 10c0/f5d6a3eef693780f18a099333d918e5bcd4c065045c7cc45dc0c09d7246c5c39b74f69b310fd6a13cc37207a6f9e6355c43e8b34f699b587f1c0c54f1b107d14 languageName: node linkType: hard -"@interchainjs/encoding@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/encoding@npm:1.11.2" +"@interchainjs/encoding@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/encoding@npm:1.11.5" dependencies: - "@interchainjs/math": "npm:1.11.2" + "@interchainjs/math": "npm:1.11.5" base64-js: "npm:^1.3.0" bech32: "npm:^1.1.4" readonly-date: "npm:^1.0.0" - checksum: 10c0/524f9591933288e7d9cc194b24a067c21c205e2aacddbe6b686b5f05b0817ea9d0301f54783718029366445783b65b4262d99a00398af9e4dcc2671ed3681c46 + checksum: 10c0/84e42df0112292f5004251ef25eb0424cda1e8687c9ccf0b54a028395a5225874ccd968f8531e21289b0f9f764c712bd313986e2ed241ad5b3b4b3b5e9ff1ac0 languageName: node linkType: hard @@ -905,34 +872,25 @@ __metadata: languageName: node linkType: hard -"@interchainjs/math@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/math@npm:1.11.2" +"@interchainjs/math@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/math@npm:1.11.5" dependencies: bn.js: "npm:^5.2.0" - checksum: 10c0/f99e2f604d2ad03e658a8f0c1ca7f864f3f906b0b93b03458aa7c77777f82096e207263499908e74e324bbb37f222d92b4e28ada0591817ab0356332a5b3a875 + checksum: 10c0/434d832a655579e09e7a69876283f992e299eab19cdaf3cc8beb1f293cac4d8e57ba0b9201fd3f34ce8b845f56f2514fec24f51046b1acc15e1325efeefe7ad2 languageName: node linkType: hard -"@interchainjs/pubkey@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/pubkey@npm:1.11.2" +"@interchainjs/pubkey@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/pubkey@npm:1.11.5" dependencies: - "@interchainjs/amino": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" - "@interchainjs/encoding": "npm:1.11.2" - "@interchainjs/math": "npm:1.11.2" - "@interchainjs/types": "npm:1.11.2" - checksum: 10c0/c93812e032e94cdc1d8f3bf2ed05cdc2ffdf9e207e0801355eba15fd672f47b41fcd418a93083de572575060f050839e354aca479308b7f57943407d6b4c96ee - languageName: node - linkType: hard - -"@interchainjs/types@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/types@npm:1.11.2" - dependencies: - decimal.js: "npm:^10.4.3" - checksum: 10c0/2a9a63be831246a4cb763b48d486aca64bfb5e0f8405bac6b9f8eed802ab97103e8178934eddc55bc2fb3d0eb86a2cc5c464ebc9c3acf36a4bc759505330ecc5 + "@interchainjs/amino": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + checksum: 10c0/0019e678102da91590e4a2b26620fa99ae3465ba1b44b1afb5739d7d65ff5e766e1692aa99a948a1dd1d472bfe55370cc99c15b4cae9af0b8b841882ac83fdf2 languageName: node linkType: hard @@ -945,17 +903,12 @@ __metadata: languageName: node linkType: hard -"@interchainjs/utils@npm:1.11.2": - version: 1.11.2 - resolution: "@interchainjs/utils@npm:1.11.2" +"@interchainjs/types@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/types@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.2" - bech32: "npm:^2.0.0" decimal.js: "npm:^10.4.3" - peerDependencies: - "@chain-registry/v2": 1.71.71 - "@chain-registry/v2-types": 0.53.72 - checksum: 10c0/46119fd88cde56a0ab24671f34271e7fd620fdd9269027520b116dd484ea279133f78201933833dea3cf7e47d434988acf7fcde7021add6e84f2caf5de8186ce + checksum: 10c0/d1e98d33ab224b09a88a274c41111c3bcd5a0b2ba5974b1e7e7c75d6e363ca2be3032019d5ea0053fc5c1b3e7fa517fdde993d6f28f41ac419c39ee1ea0ad6be languageName: node linkType: hard @@ -973,6 +926,20 @@ __metadata: languageName: node linkType: hard +"@interchainjs/utils@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/utils@npm:1.11.5" + dependencies: + "@interchainjs/types": "npm:1.11.5" + bech32: "npm:^2.0.0" + decimal.js: "npm:^10.4.3" + peerDependencies: + "@chain-registry/v2": ^1.71.186 + "@chain-registry/v2-types": ^0.53.115 + checksum: 10c0/bba5d59dce665f50228fe2ca0e3427cde08a1a5e16913cad13775ca8f3fdabe2a8799111dcdc67e7538b4000c1e52805ded7547a955262c204acbe90413ff14b + languageName: node + linkType: hard + "@internationalized/date@npm:^3.8.0": version: 3.8.0 resolution: "@internationalized/date@npm:3.8.0" @@ -5442,19 +5409,19 @@ __metadata: languageName: node linkType: hard -"interchainjs@npm:1.11.2": - version: 1.11.2 - resolution: "interchainjs@npm:1.11.2" +"interchainjs@npm:1.11.5": + version: 1.11.5 + resolution: "interchainjs@npm:1.11.5" dependencies: - "@interchainjs/cosmos": "npm:1.11.2" - "@interchainjs/cosmos-types": "npm:1.11.2" - "@interchainjs/encoding": "npm:1.11.2" - "@interchainjs/pubkey": "npm:1.11.2" - "@interchainjs/types": "npm:1.11.2" - "@interchainjs/utils": "npm:1.11.2" + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/pubkey": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" - checksum: 10c0/b37db26271512e13dff36fdba51b59b8a3f3cf3b9e42ecd87ae20edb6b2b68edcaf230dcb5dfbe7b4d8bc5690b4cbf3a461ccb63238064b5b5e354d778a86cc8 + checksum: 10c0/f3c8b445061f33fc29826707413b4df5e7b83b6acadbab991941189b5c6cf5a820f62206feca10b4ae1f0311e499631e61ade2eb1ed21c0fe36d5e81421fb0d2 languageName: node linkType: hard