@swapkit/types 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- var{defineProperty:D,getOwnPropertyNames:G,getOwnPropertyDescriptor:A}=Object,Q=Object.prototype.hasOwnProperty;function W(e){return this[e]}var $=(e)=>{var s=(N??=new WeakMap).get(e),a;if(s)return s;if(s=D({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var b of G(e))if(!Q.call(s,b))D(s,b,{get:W.bind(e,b),enumerable:!(a=A(e,b))||a.enumerable})}return N.set(e,s),s},N;var Y=(e)=>e;function E(e,s){this[e]=Y.bind(null,s)}var F=(e,s)=>{for(var a in s)D(e,a,{get:s[a],enumerable:!0,configurable:!0,set:E.bind(s,a)})};var lt={};F(lt,{getCoinType:()=>st,getChainConfig:()=>B,getChainByCoinType:()=>mt,UTXOChains:()=>Wr,UTXOChainConfigs:()=>K,THORConfig:()=>v,TCLikeChains:()=>I,SubstrateChains:()=>Zr,SubstrateChainConfigs:()=>j,StagenetTHORConfig:()=>u,StagenetMAYAConfig:()=>T,StagenetHARBORConfig:()=>L,StagenetCosmosChains:()=>g,StagenetCosmosChainConfigs:()=>_,StagenetChains:()=>$r,StagenetChain:()=>i,RPC_URLS:()=>Ir,OtherChains:()=>Br,OtherChainConfigs:()=>w,NODE_URLS:()=>fr,NOBLEConfig:()=>P,MAYAConfig:()=>H,KUJIConfig:()=>O,HARBORConfig:()=>S,GAIAConfig:()=>R,EXPLORER_URLS:()=>Cr,EVMChains:()=>Hr,EVMChainConfigs:()=>h,CosmosChains:()=>V,CosmosChainPrefixes:()=>f,CosmosChainConfigs:()=>z,ChainToChainId:()=>rt,ChainIdToChain:()=>tt,ChainId:()=>U,Chain:()=>x,BlockTimes:()=>et,BaseDecimal:()=>ot,AllChains:()=>Z,AllChainConfigs:()=>d});module.exports=$(lt);var x;((o)=>{o.Adi="ADI";o.Aptos="APT";o.Arbitrum="ARB";o.Aurora="AURORA";o.Avalanche="AVAX";o.Base="BASE";o.Berachain="BERA";o.BinanceSmartChain="BSC";o.Bitcoin="BTC";o.BitcoinCash="BCH";o.Botanix="BOTANIX";o.Cardano="ADA";o.Chainflip="FLIP";o.Core="CORE";o.Corn="CORN";o.Cosmos="GAIA";o.Cronos="CRO";o.Dash="DASH";o.Dogecoin="DOGE";o.Ethereum="ETH";o.Gnosis="GNO";o.Harbor="HARBOR";o.Hyperevm="HYPEREVM";o.HyperCore="HYPERCORE";o.Kujira="KUJI";o.Litecoin="LTC";o.Maya="MAYA";o.MegaETH="MEGAETH";o.Monad="MONAD";o.Near="NEAR";o.Noble="NOBLE";o.Optimism="OP";o.Polkadot="DOT";o.Polygon="POL";o.Radix="XRD";o.Ripple="XRP";o.Solana="SOL";o.Sonic="SONIC";o.Stellar="XLM";o.Starknet="STRK";o.Sui="SUI";o.THORChain="THOR";o.Ton="TON";o.Tron="TRON";o.Unichain="UNI";o.XLayer="XLAYER";o.Zcash="ZEC"})(x||={});var i;((b)=>{b.Harbor="MAYA_HARBOR";b.THORChain="THOR_STAGENET";b.Maya="MAYA_STAGENET"})(i||={});var U;((t)=>{t.Adi="36900";t.Aptos="aptos";t.Arbitrum="42161";t.Aurora="1313161554";t.Avalanche="43114";t.Base="8453";t.Berachain="80094";t.BinanceSmartChain="56";t.Bitcoin="bitcoin";t.BitcoinCash="bitcoincash";t.Botanix="3637";t.Cardano="cardano";t.Chainflip="chainflip";t.Core="1116";t.Corn="21000000";t.Cosmos="cosmoshub-4";t.Cronos="25";t.Dash="dash";t.Dogecoin="dogecoin";t.Ethereum="1";t.Gnosis="100";t.Harbor="harbor-1";t.HarborStagenet="harbor-stagenet-1";t.Hyperevm="999";t.HyperCore="hypercore";t.Kujira="kaiyo-1";t.Litecoin="litecoin";t.Maya="mayachain-mainnet-v1";t.MayaStagenet="mayachain-stagenet-v1";t.MegaETH="4326";t.Monad="143";t.Near="near";t.Noble="noble-1";t.Optimism="10";t.Polkadot="polkadot";t.Polygon="137";t.Radix="radix-mainnet";t.Ripple="ripple";t.Solana="solana";t.Sonic="146";t.Stellar="stellar";t.Starknet="0x534e5f4d41494e";t.Sui="sui";t.THORChain="thorchain-1";t.THORChainStagenet="thorchain-stagenet-v2";t.Ton="ton";t.Tron="728126428";t.Unichain="130";t.XLayer="196";t.Zcash="zcash"})(U||={});function r(e){return e}var y="cosmos",R=r({baseDecimal:6,blockTime:2,chain:"GAIA",chainId:"cosmoshub-4",coinType:118,explorerUrl:"https://www.mintscan.io/cosmos",name:"Cosmos",nativeCurrency:"ATOM",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://cosmos-rpc.publicnode.com:443","https://cosmos-rpc.publicnode.com"],type:y}),v=r({baseDecimal:8,blockTime:6,chain:"THOR",chainId:"thorchain-1",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://thornode.thorchain.network",rpcUrls:["https://rpc.thorchain.network","https://thornode.thorchain.network"],type:y}),u=r({baseDecimal:8,blockTime:6,chain:"THOR_STAGENET",chainId:"thorchain-stagenet-v2",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet-thornode.thorchain.network",rpcUrls:["https://stagenet-rpc.thorchain.network","https://stagenet-thornode.thorchain.network"],type:y}),H=r({baseDecimal:8,blockTime:6,chain:"MAYA",chainId:"mayachain-mainnet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://mayanode.mayachain.info",rpcUrls:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com","https://mayanode.mayachain.info"],type:y}),S=r({baseDecimal:8,blockTime:6,chain:"HARBOR",chainId:"harbor-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:y}),L=r({baseDecimal:8,blockTime:6,chain:"MAYA_HARBOR",chainId:"harbor-stagenet-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:y}),T=r({baseDecimal:8,blockTime:6,chain:"MAYA_STAGENET",chainId:"mayachain-stagenet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet.mayanode.mayachain.info",rpcUrls:["https://stagenet.mayanode.mayachain.info"],type:y}),O=r({baseDecimal:6,blockTime:2.2,chain:"KUJI",chainId:"kaiyo-1",coinType:118,explorerUrl:"https://finder.kujira.network/kaiyo-1",name:"Kujira",nativeCurrency:"KUJI",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://kujira-rpc.ibs.team","https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],type:y}),P=r({baseDecimal:6,blockTime:1.3,chain:"NOBLE",chainId:"noble-1",coinType:118,explorerUrl:"https://www.mintscan.io/noble",name:"Noble",nativeCurrency:"USDC",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://noble-rpc.polkachu.com","https://rpc.noble.xyz","https://rpc.cosmos.directory/noble"],type:y}),z=[R,v,H,O,P,S],V=["GAIA","KUJI","MAYA","NOBLE","THOR","HARBOR"],_=[u,T,L],g=["MAYA_STAGENET","THOR_STAGENET","MAYA_HARBOR"],f={[R.chain]:"cosmos",[v.chain]:"thor",[u.chain]:"sthor",[H.chain]:"maya",[T.chain]:"smaya",[O.chain]:"kujira",[P.chain]:"noble",[S.chain]:"harbor",[L.chain]:"sharbor"},I=[v.chain,H.chain];var c="evm",p=18,m=60,l=[44,60,0,0,0],C=r({baseDecimal:p,blockTime:12.5,chain:"ETH",chainId:"1",chainIdHex:"0x1",coinType:m,explorerUrl:"https://etherscan.io",name:"Ethereum",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://ethereum-rpc.publicnode.com","https://eth.llamarpc.com","https://cloudflare-eth.com"],type:c}),rr=r({baseDecimal:p,blockTime:1,chain:"BSC",chainId:"56",chainIdHex:"0x38",coinType:m,explorerUrl:"https://bscscan.com",name:"BinanceSmartChain",nativeCurrency:"BNB",networkDerivationPath:l,rpcUrls:["https://bsc-dataseed.binance.org","https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],type:c}),tr=r({baseDecimal:p,blockTime:2,chain:"AVAX",chainId:"43114",chainIdHex:"0xa86a",coinType:m,explorerUrl:"https://snowtrace.io",name:"Avalanche",nativeCurrency:"AVAX",networkDerivationPath:l,rpcUrls:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],type:c}),or=r({baseDecimal:p,blockTime:2.1,chain:"POL",chainId:"137",chainIdHex:"0x89",coinType:m,explorerUrl:"https://polygonscan.com",name:"Polygon",nativeCurrency:"POL",networkDerivationPath:l,rpcUrls:["https://polygon-rpc.com","https://polygon.llamarpc.com","https://polygon-bor-rpc.publicnode.com"],type:c}),er=r({baseDecimal:p,blockTime:1,chain:"ADI",chainId:"36900",chainIdHex:"0x9024",coinType:m,explorerUrl:"https://explorer.adifoundation.ai",name:"ADI Chain",nativeCurrency:"ADI",networkDerivationPath:l,rpcUrls:["https://rpc.adifoundation.ai"],type:c}),sr=r({baseDecimal:p,blockTime:0.3,chain:"ARB",chainId:"42161",chainIdHex:"0xa4b1",coinType:m,explorerUrl:"https://arbiscan.io",name:"Arbitrum",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://arb1.arbitrum.io/rpc","https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],type:c}),cr=r({baseDecimal:p,blockTime:2,chain:"OP",chainId:"10",chainIdHex:"0xa",coinType:m,explorerUrl:"https://optimistic.etherscan.io",name:"Optimism",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://mainnet.optimism.io","https://optimism.llamarpc.com","https://1rpc.io/op"],type:c}),pr=r({baseDecimal:p,blockTime:2,chain:"BASE",chainId:"8453",chainIdHex:"0x2105",coinType:m,explorerUrl:"https://basescan.org",name:"Base",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://base-rpc.publicnode.com","https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],type:c}),mr=r({baseDecimal:p,blockTime:5.2,chain:"GNO",chainId:"100",chainIdHex:"0x64",coinType:m,explorerUrl:"https://gnosisscan.io",name:"Gnosis",nativeCurrency:"xDAI",networkDerivationPath:l,rpcUrls:["https://gnosis-rpc.publicnode.com","https://gnosis.drpc.org","https://rpc.ankr.com/gnosis"],type:c}),lr=r({baseDecimal:p,blockTime:1,chain:"AURORA",chainId:"1313161554",chainIdHex:"0x4e454152",coinType:m,explorerUrl:"https://explorer.mainnet.aurora.dev",name:"Aurora",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://aurora-rpc.publicnode.com","https://1rpc.io/aurora","https://mainnet.aurora.dev"],type:c}),nr=r({baseDecimal:p,blockTime:2,chain:"BERA",chainId:"80094",chainIdHex:"0x138de",coinType:m,explorerUrl:"https://berascan.com",name:"Berachain",nativeCurrency:"BERA",networkDerivationPath:l,rpcUrls:["https://berachain-rpc.publicnode.com","https://rpc.berachain.com","https://berachain.drpc.org"],type:c}),ar=r({baseDecimal:p,blockTime:1,chain:"HYPEREVM",chainId:"999",chainIdHex:"0x3e7",coinType:m,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"Hyperliquid",nativeCurrency:"HYPE",networkDerivationPath:l,rpcUrls:["https://rpc.hyperliquid.xyz/evm","https://rpc.hypurrscan.io"],type:c}),br=r({baseDecimal:p,blockTime:2,chain:"UNI",chainId:"130",chainIdHex:"0x82",coinType:m,explorerUrl:"https://unichain.blockscout.com",name:"Unichain",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://unichain-rpc.publicnode.com","https://unichain.drpc.org"],type:c}),xr=r({baseDecimal:p,blockTime:2,chain:"CORN",chainId:"21000000",chainIdHex:"0x1406f40",coinType:m,explorerUrl:"https://cornscan.io",name:"Corn",nativeCurrency:"BTCN",networkDerivationPath:l,rpcUrls:["https://mainnet.corn-rpc.com","https://rpc.ankr.com/corn_maizenet"],type:c}),yr=r({baseDecimal:p,blockTime:2,chain:"CORE",chainId:"1116",chainIdHex:"0x45c",coinType:m,explorerUrl:"https://corescan.io",name:"Core",nativeCurrency:"CORE",networkDerivationPath:l,rpcUrls:["https://rpc.coredao.org","https://1rpc.io/core"],type:c}),Ur=r({baseDecimal:p,blockTime:2,chain:"BOTANIX",chainId:"3637",chainIdHex:"0xe35",coinType:m,explorerUrl:"https://botanixscan.io",name:"Botanix",nativeCurrency:"BTC",networkDerivationPath:l,rpcUrls:["https://rpc.botanixlabs.dev","https://botanix.drpc.org"],type:c}),kr=r({baseDecimal:p,blockTime:2,chain:"CRO",chainId:"25",chainIdHex:"0x19",coinType:m,explorerUrl:"https://croscan.io",name:"Cronos",nativeCurrency:"CRO",networkDerivationPath:l,rpcUrls:["https://rpc.vvs.finance"],type:c}),ur=r({baseDecimal:p,blockTime:2,chain:"XLAYER",chainId:"196",chainIdHex:"0xc4",coinType:m,explorerUrl:"https://www.oklink.com/x-layer",name:"X Layer",nativeCurrency:"OKB",networkDerivationPath:l,rpcUrls:["https://xlayerrpc.okx.com"],type:c}),Tr=r({baseDecimal:p,blockTime:2,chain:"SONIC",chainId:"146",chainIdHex:"0x92",coinType:m,explorerUrl:"https://sonicscan.io",name:"Sonic",nativeCurrency:"S",networkDerivationPath:l,rpcUrls:["https://rpc.soniclabs.com","https://sonic.drpc.org"],type:c}),ir=r({baseDecimal:p,blockTime:0.4,chain:"MONAD",chainId:"143",chainIdHex:"0x8f",coinType:m,explorerUrl:"https://monvision.io",name:"Monad",nativeCurrency:"MON",networkDerivationPath:l,rpcUrls:["https://rpc.monad.xyz/","https://rpc3.monad.xyz/","https://rpc-mainnet.monadinfra.com/"],type:c}),vr=r({baseDecimal:p,blockTime:0.01,chain:"MEGAETH",chainId:"4326",chainIdHex:"0x10e6",coinType:m,explorerUrl:"",name:"MegaETH",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:[],type:c}),h=[er,sr,lr,tr,pr,nr,Ur,rr,yr,xr,kr,C,mr,ar,vr,ir,cr,or,Tr,br,ur],Hr=["ADI","ARB","AURORA","AVAX","BASE","BERA","BSC","BOTANIX","CORE","CORN","CRO","ETH","GNO","HYPEREVM","MONAD","OP","POL","SONIC","UNI","XLAYER"];var n="others",wr=r({baseDecimal:8,blockTime:1,chain:"APT",chainId:"aptos",coinType:637,explorerUrl:"https://explorer.aptoslabs.com",name:"Aptos",nativeCurrency:"APT",networkDerivationPath:[44,637,0,0,0],rpcUrls:["https://api.mainnet.aptoslabs.com/v1"],type:n}),dr=r({baseDecimal:8,blockTime:1,chain:"HYPERCORE",chainId:"hypercore",coinType:60,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"HyperCore",nativeCurrency:"HYPE",networkDerivationPath:[44,60,0,0,0],rpcUrls:["https://api.hyperliquid.xyz"],type:n}),Dr=r({baseDecimal:24,blockTime:1,chain:"NEAR",chainId:"near",coinType:397,explorerUrl:"https://nearblocks.io",name:"Near",nativeCurrency:"NEAR",networkDerivationPath:[44,397,0,0,0],rpcUrls:["https://rpc.mainnet.near.org","https://free.rpc.fastnear.com","https://1rpc.io/near","https://near.lava.build","https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"],type:n}),Rr=r({baseDecimal:18,blockTime:5,chain:"XRD",chainId:"radix-mainnet",coinType:1022,explorerUrl:"https://dashboard.radixdlt.com",name:"Radix",nativeCurrency:"XRD",networkDerivationPath:[0,0,0,0,0],rpcUrls:["https://radix-mainnet.rpc.grove.city/v1/326002fc/core","https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],type:n}),Sr=r({baseDecimal:6,blockTime:5,chain:"XRP",chainId:"ripple",coinType:144,explorerUrl:"https://livenet.xrpl.org/",name:"Ripple",nativeCurrency:"XRP",networkDerivationPath:[44,144,0,0,0],rpcUrls:["wss://xrpl.ws/","wss://s1.ripple.com/","wss://s2.ripple.com/"],type:n}),Lr=r({baseDecimal:9,blockTime:0.4,chain:"SOL",chainId:"solana",coinType:501,explorerUrl:"https://solscan.io",name:"Solana",nativeCurrency:"SOL",networkDerivationPath:[44,501,0,0,0],rpcUrls:["https://solana-rpc.publicnode.com","https://solana.drpc.org","https://api.mainnet-beta.solana.com"],type:n}),Or=r({baseDecimal:9,blockTime:5,chain:"TON",chainId:"ton",coinType:607,explorerUrl:"https://tonscan.org",name:"Ton",nativeCurrency:"TON",networkDerivationPath:[44,607,0,0,0],rpcUrls:[],type:n}),Pr=r({baseDecimal:6,blockTime:3,chain:"TRON",chainId:"728126428",chainIdHex:"0x2b6653dc",coinType:195,explorerUrl:"https://tronscan.org",name:"Tron",nativeCurrency:"TRX",networkDerivationPath:[44,195,0,0,0],rpcUrls:["https://tron-rpc.publicnode.com","https://api.tronstack.io","https://api.tron.network"],type:n}),zr=r({baseDecimal:7,blockTime:5,chain:"XLM",chainId:"stellar",coinType:148,explorerUrl:"https://stellar.expert",name:"Stellar",nativeCurrency:"XLM",networkDerivationPath:[44,148,0,0,0],rpcUrls:["https://horizon.stellar.org","https://horizon.stellar.lobstr.co"],type:n}),hr=r({baseDecimal:9,blockTime:5,chain:"SUI",chainId:"sui",coinType:784,explorerUrl:"https://suiscan.xyz",name:"Sui",nativeCurrency:"SUI",networkDerivationPath:[44,784,0,0,0],rpcUrls:["https://fullnode.mainnet.sui.io:443"],type:n}),jr=r({baseDecimal:6,blockTime:600,chain:"ADA",chainId:"cardano",coinType:1815,explorerUrl:"https://cexplorer.io",name:"Cardano",nativeCurrency:"ADA",networkDerivationPath:[1852,1815,0,0,0],rpcUrls:["https://api.koios.rest/api/v1","https://cardano-mainnet.blockfrost.io/api/v0"],type:n}),Kr=r({baseDecimal:18,blockTime:6,chain:"STRK",chainId:"0x534e5f4d41494e",coinType:9004,explorerUrl:"https://starkscan.co",name:"Starknet",nativeCurrency:"STRK",networkDerivationPath:[44,9004,0,0,0],rpcUrls:["https://starknet-rpc.publicnode.com","https://starknet.drpc.org","https://rpc.starknet.lava.build"],type:n}),w=[wr,Dr,Rr,Sr,Lr,zr,Or,Pr,hr,jr,Kr,dr],Br=w.map((e)=>e.chain);var X="substrate",Nr=r({baseDecimal:10,blockTime:6,chain:"DOT",chainId:"polkadot",coinType:354,explorerUrl:"https://polkadot.subscan.io",name:"Polkadot",nativeCurrency:"DOT",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://rpc.polkadot.io","wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],type:X}),Xr=r({baseDecimal:18,blockTime:5,chain:"FLIP",chainId:"chainflip",coinType:2112,explorerUrl:"https://explorer.polkascan.io/polkadot",name:"Chainflip",nativeCurrency:"FLIP",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://mainnet-archive.chainflip.io","wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],type:X}),j=[Nr,Xr],Zr=["DOT","FLIP"];var k="utxo",Mr=r({baseDecimal:8,blockTime:600,chain:"BTC",chainId:"bitcoin",coinType:0,explorerUrl:"https://blockchair.com/bitcoin",name:"Bitcoin",nativeCurrency:"BTC",networkDerivationPath:[84,0,0,0,0],rpcUrls:["https://bitcoin-rpc.publicnode.com","https://bitcoin.publicnode.com"],type:k}),qr=r({baseDecimal:8,blockTime:600,chain:"BCH",chainId:"bitcoincash",coinType:145,explorerUrl:"https://www.blockchair.com/bitcoin-cash",name:"BitcoinCash",nativeCurrency:"BCH",networkDerivationPath:[44,145,0,0,0],rpcUrls:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],type:k}),Jr=r({baseDecimal:8,blockTime:150,chain:"LTC",chainId:"litecoin",coinType:2,explorerUrl:"https://blockchair.com/litecoin",name:"Litecoin",nativeCurrency:"LTC",networkDerivationPath:[84,2,0,0,0],rpcUrls:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],type:k}),Gr=r({baseDecimal:8,blockTime:60,chain:"DOGE",chainId:"dogecoin",coinType:3,explorerUrl:"https://blockchair.com/dogecoin",name:"Dogecoin",nativeCurrency:"DOGE",networkDerivationPath:[44,3,0,0,0],rpcUrls:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],type:k}),Ar=r({baseDecimal:8,blockTime:150,chain:"DASH",chainId:"dash",coinType:5,explorerUrl:"https://blockchair.com/dash",name:"Dash",nativeCurrency:"DASH",networkDerivationPath:[44,5,0,0,0],rpcUrls:["https://dash-rpc.publicnode.com","https://dash.getblock.io/mainnet"],type:k}),Qr=r({baseDecimal:8,blockTime:75,chain:"ZEC",chainId:"zcash",coinType:133,explorerUrl:"https://blockchair.com/zcash",name:"Zcash",nativeCurrency:"ZEC",networkDerivationPath:[44,133,0,0,0],rpcUrls:[],type:k}),K=[Mr,qr,Jr,Gr,Ar,Qr],Wr=["BTC","BCH","DASH","DOGE","LTC","ZEC"];var d=[...K,...h,...z,...j,...w].sort((e,s)=>e.chain.localeCompare(s.chain)),Z=Object.values(x),$r=["THOR_STAGENET","MAYA_STAGENET"],Yr=d.reduce((e,s)=>{return e[s.chain]=s,e[s.chainId]=s,e},{});function B(e){return Yr[e]||{}}var{chainIdToChain:Er,chainToBaseDecimal:Fr,chainToBlockTime:Vr,explorerUrls:_r,rpcUrls:gr}=Z.reduce((e,s)=>{let{chainId:a,baseDecimal:b,blockTime:M,explorerUrl:q,rpcUrls:J}=B(s);return e.chainIdToChain[a]=s,e.chainToBaseDecimal[s]=b,e.chainToBlockTime[s]=M,e.explorerUrls[s]=q,e.rpcUrls[s]=J[0]||"",e},{chainIdToChain:{},chainToBaseDecimal:{},chainToBlockTime:{},explorerUrls:{},rpcUrls:{MAYA_STAGENET:T.rpcUrls[0],THOR_STAGENET:u.rpcUrls[0]}}),fr={THOR:"https://thornode.thorchain.network",MAYA:"https://mayanode.mayachain.info",THOR_STAGENET:"https://stagenet-thornode.thorchain.network",MAYA_STAGENET:"https://stagenet.mayanode.mayachain.info"},Ir=gr,Cr=_r,rt=Object.fromEntries(d.flatMap(({chain:e,chainId:s})=>[[e,s]])),tt=Er,ot=Fr,et=Vr;function st(e){return B(e).coinType}var ct={60:"ETH",118:"GAIA",931:"THOR"},pt=d.reduce((e,s)=>{let a=s.chain;if(!(s.coinType in e)||ct[s.coinType]===a)e[s.coinType]=a;return e},{});function mt(e){return pt[e]}
1
+ var{defineProperty:d,getOwnPropertyNames:A,getOwnPropertyDescriptor:G}=Object,Q=Object.prototype.hasOwnProperty;function W(e){return this[e]}var $=(e)=>{var s=(N??=new WeakMap).get(e),a;if(s)return s;if(s=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var b of A(e))if(!Q.call(s,b))d(s,b,{get:W.bind(e,b),enumerable:!(a=G(e,b))||a.enumerable})}return N.set(e,s),s},N;var Y=(e)=>e;function E(e,s){this[e]=Y.bind(null,s)}var F=(e,s)=>{for(var a in s)d(e,a,{get:s[a],enumerable:!0,configurable:!0,set:E.bind(s,a)})};var nt={};F(nt,{getCoinType:()=>ct,getChainConfig:()=>B,getChainByCoinType:()=>mt,UTXOChains:()=>$r,UTXOChainConfigs:()=>j,THORConfig:()=>v,TCLikeChains:()=>I,SubstrateChains:()=>Mr,SubstrateChainConfigs:()=>K,StagenetTHORConfig:()=>u,StagenetMAYAConfig:()=>i,StagenetHARBORConfig:()=>P,StagenetCosmosChains:()=>g,StagenetCosmosChainConfigs:()=>_,StagenetChains:()=>Yr,StagenetChain:()=>T,RPC_URLS:()=>Cr,OtherChains:()=>Nr,OtherChainConfigs:()=>w,NODE_URLS:()=>Ir,NOBLEConfig:()=>O,MAYAConfig:()=>H,KUJIConfig:()=>L,HARBORConfig:()=>S,GAIAConfig:()=>R,EXPLORER_URLS:()=>rt,EVMChains:()=>Hr,EVMChainConfigs:()=>z,CosmosChains:()=>V,CosmosChainPrefixes:()=>f,CosmosChainConfigs:()=>h,ChainToChainId:()=>tt,ChainIdToChain:()=>ot,ChainId:()=>y,Chain:()=>x,BlockTimes:()=>st,BaseDecimal:()=>et,AllChains:()=>Z,AllChainConfigs:()=>D});module.exports=$(nt);var x;((o)=>{o.Adi="ADI";o.Aptos="APT";o.Arbitrum="ARB";o.Aurora="AURORA";o.Avalanche="AVAX";o.Base="BASE";o.Berachain="BERA";o.BinanceSmartChain="BSC";o.Bitcoin="BTC";o.BitcoinCash="BCH";o.Botanix="BOTANIX";o.Cardano="ADA";o.Chainflip="FLIP";o.Core="CORE";o.Corn="CORN";o.Cosmos="GAIA";o.Cronos="CRO";o.Dash="DASH";o.Dogecoin="DOGE";o.Ethereum="ETH";o.Gnosis="GNO";o.Harbor="HARBOR";o.Hyperevm="HYPEREVM";o.HyperCore="HYPERCORE";o.Kujira="KUJI";o.Litecoin="LTC";o.Maya="MAYA";o.MegaETH="MEGAETH";o.Monad="MONAD";o.Near="NEAR";o.Noble="NOBLE";o.Optimism="OP";o.Polkadot="DOT";o.Polygon="POL";o.Radix="XRD";o.Ripple="XRP";o.Solana="SOL";o.Sonic="SONIC";o.Spark="SPARK";o.Stellar="XLM";o.Starknet="STRK";o.Sui="SUI";o.THORChain="THOR";o.Ton="TON";o.Tron="TRON";o.Unichain="UNI";o.XLayer="XLAYER";o.Zcash="ZEC"})(x||={});var T;((b)=>{b.Harbor="MAYA_HARBOR";b.THORChain="THOR_STAGENET";b.Maya="MAYA_STAGENET"})(T||={});var y;((t)=>{t.Adi="36900";t.Aptos="aptos";t.Arbitrum="42161";t.Aurora="1313161554";t.Avalanche="43114";t.Base="8453";t.Berachain="80094";t.BinanceSmartChain="56";t.Bitcoin="bitcoin";t.BitcoinCash="bitcoincash";t.Botanix="3637";t.Cardano="cardano";t.Chainflip="chainflip";t.Core="1116";t.Corn="21000000";t.Cosmos="cosmoshub-4";t.Cronos="25";t.Dash="dash";t.Dogecoin="dogecoin";t.Ethereum="1";t.Gnosis="100";t.Harbor="harbor-1";t.HarborStagenet="harbor-stagenet-1";t.Hyperevm="999";t.HyperCore="hypercore";t.Kujira="kaiyo-1";t.Litecoin="litecoin";t.Maya="mayachain-mainnet-v1";t.MayaStagenet="mayachain-stagenet-v1";t.MegaETH="4326";t.Monad="143";t.Near="near";t.Noble="noble-1";t.Optimism="10";t.Polkadot="polkadot";t.Polygon="137";t.Radix="radix-mainnet";t.Ripple="ripple";t.Solana="solana";t.Sonic="146";t.Spark="spark";t.Stellar="stellar";t.Starknet="0x534e5f4d41494e";t.Sui="sui";t.THORChain="thorchain-1";t.THORChainStagenet="thorchain-stagenet-v2";t.Ton="ton";t.Tron="728126428";t.Unichain="130";t.XLayer="196";t.Zcash="zcash"})(y||={});function r(e){return e}var k="cosmos",R=r({baseDecimal:6,blockTime:2,chain:"GAIA",chainId:"cosmoshub-4",coinType:118,explorerUrl:"https://www.mintscan.io/cosmos",name:"Cosmos",nativeCurrency:"ATOM",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://cosmos-rpc.publicnode.com:443","https://cosmos-rpc.publicnode.com"],type:k}),v=r({baseDecimal:8,blockTime:6,chain:"THOR",chainId:"thorchain-1",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://thornode.thorchain.network",rpcUrls:["https://rpc.thorchain.network","https://thornode.thorchain.network"],type:k}),u=r({baseDecimal:8,blockTime:6,chain:"THOR_STAGENET",chainId:"thorchain-stagenet-v2",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet-thornode.thorchain.network",rpcUrls:["https://stagenet-rpc.thorchain.network","https://stagenet-thornode.thorchain.network"],type:k}),H=r({baseDecimal:8,blockTime:6,chain:"MAYA",chainId:"mayachain-mainnet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://mayanode.mayachain.info",rpcUrls:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com","https://mayanode.mayachain.info"],type:k}),S=r({baseDecimal:8,blockTime:6,chain:"HARBOR",chainId:"harbor-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:k}),P=r({baseDecimal:8,blockTime:6,chain:"MAYA_HARBOR",chainId:"harbor-stagenet-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:k}),i=r({baseDecimal:8,blockTime:6,chain:"MAYA_STAGENET",chainId:"mayachain-stagenet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet.mayanode.mayachain.info",rpcUrls:["https://stagenet.mayanode.mayachain.info"],type:k}),L=r({baseDecimal:6,blockTime:2.2,chain:"KUJI",chainId:"kaiyo-1",coinType:118,explorerUrl:"https://finder.kujira.network/kaiyo-1",name:"Kujira",nativeCurrency:"KUJI",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://kujira-rpc.ibs.team","https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],type:k}),O=r({baseDecimal:6,blockTime:1.3,chain:"NOBLE",chainId:"noble-1",coinType:118,explorerUrl:"https://www.mintscan.io/noble",name:"Noble",nativeCurrency:"USDC",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://noble-rpc.polkachu.com","https://rpc.noble.xyz","https://rpc.cosmos.directory/noble"],type:k}),h=[R,v,H,L,O,S],V=["GAIA","KUJI","MAYA","NOBLE","THOR","HARBOR"],_=[u,i,P],g=["MAYA_STAGENET","THOR_STAGENET","MAYA_HARBOR"],f={[R.chain]:"cosmos",[v.chain]:"thor",[u.chain]:"sthor",[H.chain]:"maya",[i.chain]:"smaya",[L.chain]:"kujira",[O.chain]:"noble",[S.chain]:"harbor",[P.chain]:"sharbor"},I=[v.chain,H.chain];var c="evm",p=18,l=60,m=[44,60,0,0,0],C=r({baseDecimal:p,blockTime:12.5,chain:"ETH",chainId:"1",chainIdHex:"0x1",coinType:l,explorerUrl:"https://etherscan.io",name:"Ethereum",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://ethereum-rpc.publicnode.com","https://eth.llamarpc.com","https://cloudflare-eth.com"],type:c}),rr=r({baseDecimal:p,blockTime:1,chain:"BSC",chainId:"56",chainIdHex:"0x38",coinType:l,explorerUrl:"https://bscscan.com",name:"BinanceSmartChain",nativeCurrency:"BNB",networkDerivationPath:m,rpcUrls:["https://bsc-dataseed.binance.org","https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],type:c}),tr=r({baseDecimal:p,blockTime:2,chain:"AVAX",chainId:"43114",chainIdHex:"0xa86a",coinType:l,explorerUrl:"https://snowtrace.io",name:"Avalanche",nativeCurrency:"AVAX",networkDerivationPath:m,rpcUrls:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],type:c}),or=r({baseDecimal:p,blockTime:2.1,chain:"POL",chainId:"137",chainIdHex:"0x89",coinType:l,explorerUrl:"https://polygonscan.com",name:"Polygon",nativeCurrency:"POL",networkDerivationPath:m,rpcUrls:["https://polygon-rpc.com","https://polygon.llamarpc.com","https://polygon-bor-rpc.publicnode.com"],type:c}),er=r({baseDecimal:p,blockTime:1,chain:"ADI",chainId:"36900",chainIdHex:"0x9024",coinType:l,explorerUrl:"https://explorer.adifoundation.ai",name:"ADI Chain",nativeCurrency:"ADI",networkDerivationPath:m,rpcUrls:["https://rpc.adifoundation.ai"],type:c}),sr=r({baseDecimal:p,blockTime:0.3,chain:"ARB",chainId:"42161",chainIdHex:"0xa4b1",coinType:l,explorerUrl:"https://arbiscan.io",name:"Arbitrum",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://arb1.arbitrum.io/rpc","https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],type:c}),cr=r({baseDecimal:p,blockTime:2,chain:"OP",chainId:"10",chainIdHex:"0xa",coinType:l,explorerUrl:"https://optimistic.etherscan.io",name:"Optimism",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://mainnet.optimism.io","https://optimism.llamarpc.com","https://1rpc.io/op"],type:c}),pr=r({baseDecimal:p,blockTime:2,chain:"BASE",chainId:"8453",chainIdHex:"0x2105",coinType:l,explorerUrl:"https://basescan.org",name:"Base",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://base-rpc.publicnode.com","https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],type:c}),lr=r({baseDecimal:p,blockTime:5.2,chain:"GNO",chainId:"100",chainIdHex:"0x64",coinType:l,explorerUrl:"https://gnosisscan.io",name:"Gnosis",nativeCurrency:"xDAI",networkDerivationPath:m,rpcUrls:["https://gnosis-rpc.publicnode.com","https://gnosis.drpc.org","https://rpc.ankr.com/gnosis"],type:c}),mr=r({baseDecimal:p,blockTime:1,chain:"AURORA",chainId:"1313161554",chainIdHex:"0x4e454152",coinType:l,explorerUrl:"https://explorer.mainnet.aurora.dev",name:"Aurora",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://aurora-rpc.publicnode.com","https://1rpc.io/aurora","https://mainnet.aurora.dev"],type:c}),nr=r({baseDecimal:p,blockTime:2,chain:"BERA",chainId:"80094",chainIdHex:"0x138de",coinType:l,explorerUrl:"https://berascan.com",name:"Berachain",nativeCurrency:"BERA",networkDerivationPath:m,rpcUrls:["https://berachain-rpc.publicnode.com","https://rpc.berachain.com","https://berachain.drpc.org"],type:c}),ar=r({baseDecimal:p,blockTime:1,chain:"HYPEREVM",chainId:"999",chainIdHex:"0x3e7",coinType:l,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"Hyperliquid",nativeCurrency:"HYPE",networkDerivationPath:m,rpcUrls:["https://rpc.hyperliquid.xyz/evm","https://rpc.hypurrscan.io"],type:c}),br=r({baseDecimal:p,blockTime:2,chain:"UNI",chainId:"130",chainIdHex:"0x82",coinType:l,explorerUrl:"https://unichain.blockscout.com",name:"Unichain",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://unichain-rpc.publicnode.com","https://unichain.drpc.org"],type:c}),xr=r({baseDecimal:p,blockTime:2,chain:"CORN",chainId:"21000000",chainIdHex:"0x1406f40",coinType:l,explorerUrl:"https://cornscan.io",name:"Corn",nativeCurrency:"BTCN",networkDerivationPath:m,rpcUrls:["https://mainnet.corn-rpc.com","https://rpc.ankr.com/corn_maizenet"],type:c}),kr=r({baseDecimal:p,blockTime:2,chain:"CORE",chainId:"1116",chainIdHex:"0x45c",coinType:l,explorerUrl:"https://corescan.io",name:"Core",nativeCurrency:"CORE",networkDerivationPath:m,rpcUrls:["https://rpc.coredao.org","https://1rpc.io/core"],type:c}),yr=r({baseDecimal:p,blockTime:2,chain:"BOTANIX",chainId:"3637",chainIdHex:"0xe35",coinType:l,explorerUrl:"https://botanixscan.io",name:"Botanix",nativeCurrency:"BTC",networkDerivationPath:m,rpcUrls:["https://rpc.botanixlabs.com"],type:c}),Ur=r({baseDecimal:p,blockTime:2,chain:"CRO",chainId:"25",chainIdHex:"0x19",coinType:l,explorerUrl:"https://croscan.io",name:"Cronos",nativeCurrency:"CRO",networkDerivationPath:m,rpcUrls:["https://rpc.vvs.finance"],type:c}),ur=r({baseDecimal:p,blockTime:2,chain:"XLAYER",chainId:"196",chainIdHex:"0xc4",coinType:l,explorerUrl:"https://www.oklink.com/x-layer",name:"X Layer",nativeCurrency:"OKB",networkDerivationPath:m,rpcUrls:["https://xlayerrpc.okx.com"],type:c}),ir=r({baseDecimal:p,blockTime:2,chain:"SONIC",chainId:"146",chainIdHex:"0x92",coinType:l,explorerUrl:"https://sonicscan.io",name:"Sonic",nativeCurrency:"S",networkDerivationPath:m,rpcUrls:["https://rpc.soniclabs.com","https://sonic.drpc.org"],type:c}),Tr=r({baseDecimal:p,blockTime:0.4,chain:"MONAD",chainId:"143",chainIdHex:"0x8f",coinType:l,explorerUrl:"https://monvision.io",name:"Monad",nativeCurrency:"MON",networkDerivationPath:m,rpcUrls:["https://rpc.monad.xyz/","https://rpc3.monad.xyz/","https://rpc-mainnet.monadinfra.com/"],type:c}),vr=r({baseDecimal:p,blockTime:0.01,chain:"MEGAETH",chainId:"4326",chainIdHex:"0x10e6",coinType:l,explorerUrl:"",name:"MegaETH",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:[],type:c}),z=[er,sr,mr,tr,pr,nr,yr,rr,kr,xr,Ur,C,lr,ar,vr,Tr,cr,or,ir,br,ur],Hr=["ADI","ARB","AURORA","AVAX","BASE","BERA","BSC","BOTANIX","CORE","CORN","CRO","ETH","GNO","HYPEREVM","MONAD","OP","POL","SONIC","UNI","XLAYER"];var n="others",wr=r({baseDecimal:8,blockTime:1,chain:"APT",chainId:"aptos",coinType:637,explorerUrl:"https://explorer.aptoslabs.com",name:"Aptos",nativeCurrency:"APT",networkDerivationPath:[44,637,0,0,0],rpcUrls:["https://api.mainnet.aptoslabs.com/v1"],type:n}),Dr=r({baseDecimal:8,blockTime:1,chain:"HYPERCORE",chainId:"hypercore",coinType:60,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"HyperCore",nativeCurrency:"HYPE",networkDerivationPath:[44,60,0,0,0],rpcUrls:["https://api.hyperliquid.xyz"],type:n}),dr=r({baseDecimal:24,blockTime:1,chain:"NEAR",chainId:"near",coinType:397,explorerUrl:"https://nearblocks.io",name:"Near",nativeCurrency:"NEAR",networkDerivationPath:[44,397,0,0,0],rpcUrls:["https://rpc.mainnet.near.org","https://free.rpc.fastnear.com","https://1rpc.io/near","https://near.lava.build","https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"],type:n}),Rr=r({baseDecimal:18,blockTime:5,chain:"XRD",chainId:"radix-mainnet",coinType:1022,explorerUrl:"https://dashboard.radixdlt.com",name:"Radix",nativeCurrency:"XRD",networkDerivationPath:[0,0,0,0,0],rpcUrls:["https://radix-mainnet.rpc.grove.city/v1/326002fc/core","https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],type:n}),Sr=r({baseDecimal:6,blockTime:5,chain:"XRP",chainId:"ripple",coinType:144,explorerUrl:"https://livenet.xrpl.org/",name:"Ripple",nativeCurrency:"XRP",networkDerivationPath:[44,144,0,0,0],rpcUrls:["wss://xrpl.ws/","wss://s1.ripple.com/","wss://s2.ripple.com/"],type:n}),Pr=r({baseDecimal:9,blockTime:0.4,chain:"SOL",chainId:"solana",coinType:501,explorerUrl:"https://solscan.io",name:"Solana",nativeCurrency:"SOL",networkDerivationPath:[44,501,0,0,0],rpcUrls:["https://solana-rpc.publicnode.com","https://solana.drpc.org","https://api.mainnet-beta.solana.com"],type:n}),Lr=r({baseDecimal:8,blockTime:1,chain:"SPARK",chainId:"spark",coinType:0,explorerUrl:"https://sparkscan.io",name:"Spark",nativeCurrency:"BTC",networkDerivationPath:[8797555,1,0,0,0],rpcUrls:[],type:n}),Or=r({baseDecimal:9,blockTime:5,chain:"TON",chainId:"ton",coinType:607,explorerUrl:"https://tonscan.org",name:"Ton",nativeCurrency:"TON",networkDerivationPath:[44,607,0,0,0],rpcUrls:[],type:n}),hr=r({baseDecimal:6,blockTime:3,chain:"TRON",chainId:"728126428",chainIdHex:"0x2b6653dc",coinType:195,explorerUrl:"https://tronscan.org",name:"Tron",nativeCurrency:"TRX",networkDerivationPath:[44,195,0,0,0],rpcUrls:["https://tron-rpc.publicnode.com","https://api.tronstack.io","https://api.tron.network"],type:n}),zr=r({baseDecimal:7,blockTime:5,chain:"XLM",chainId:"stellar",coinType:148,explorerUrl:"https://stellar.expert",name:"Stellar",nativeCurrency:"XLM",networkDerivationPath:[44,148,0,0,0],rpcUrls:["https://horizon.stellar.org","https://horizon.stellar.lobstr.co"],type:n}),Kr=r({baseDecimal:9,blockTime:5,chain:"SUI",chainId:"sui",coinType:784,explorerUrl:"https://suiscan.xyz",name:"Sui",nativeCurrency:"SUI",networkDerivationPath:[44,784,0,0,0],rpcUrls:["https://fullnode.mainnet.sui.io:443"],type:n}),jr=r({baseDecimal:6,blockTime:600,chain:"ADA",chainId:"cardano",coinType:1815,explorerUrl:"https://cexplorer.io",name:"Cardano",nativeCurrency:"ADA",networkDerivationPath:[1852,1815,0,0,0],rpcUrls:["https://api.koios.rest/api/v1","https://cardano-mainnet.blockfrost.io/api/v0"],type:n}),Br=r({baseDecimal:18,blockTime:6,chain:"STRK",chainId:"0x534e5f4d41494e",coinType:9004,explorerUrl:"https://starkscan.co",name:"Starknet",nativeCurrency:"STRK",networkDerivationPath:[44,9004,0,0,0],rpcUrls:["https://starknet-rpc.publicnode.com","https://starknet.drpc.org","https://rpc.starknet.lava.build"],type:n}),w=[wr,dr,Rr,Sr,Pr,Lr,zr,Or,hr,Kr,jr,Br,Dr],Nr=w.map((e)=>e.chain);var X="substrate",Xr=r({baseDecimal:10,blockTime:6,chain:"DOT",chainId:"polkadot",coinType:354,explorerUrl:"https://polkadot.subscan.io",name:"Polkadot",nativeCurrency:"DOT",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://rpc.polkadot.io","wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],type:X}),Zr=r({baseDecimal:18,blockTime:5,chain:"FLIP",chainId:"chainflip",coinType:2112,explorerUrl:"https://explorer.polkascan.io/polkadot",name:"Chainflip",nativeCurrency:"FLIP",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://mainnet-archive.chainflip.io","wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],type:X}),K=[Xr,Zr],Mr=["DOT","FLIP"];var U="utxo",qr=r({baseDecimal:8,blockTime:600,chain:"BTC",chainId:"bitcoin",coinType:0,explorerUrl:"https://blockchair.com/bitcoin",name:"Bitcoin",nativeCurrency:"BTC",networkDerivationPath:[84,0,0,0,0],rpcUrls:["https://bitcoin-rpc.publicnode.com","https://bitcoin.publicnode.com"],type:U}),Jr=r({baseDecimal:8,blockTime:600,chain:"BCH",chainId:"bitcoincash",coinType:145,explorerUrl:"https://www.blockchair.com/bitcoin-cash",name:"BitcoinCash",nativeCurrency:"BCH",networkDerivationPath:[44,145,0,0,0],rpcUrls:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],type:U}),Ar=r({baseDecimal:8,blockTime:150,chain:"LTC",chainId:"litecoin",coinType:2,explorerUrl:"https://blockchair.com/litecoin",name:"Litecoin",nativeCurrency:"LTC",networkDerivationPath:[84,2,0,0,0],rpcUrls:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],type:U}),Gr=r({baseDecimal:8,blockTime:60,chain:"DOGE",chainId:"dogecoin",coinType:3,explorerUrl:"https://blockchair.com/dogecoin",name:"Dogecoin",nativeCurrency:"DOGE",networkDerivationPath:[44,3,0,0,0],rpcUrls:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],type:U}),Qr=r({baseDecimal:8,blockTime:150,chain:"DASH",chainId:"dash",coinType:5,explorerUrl:"https://blockchair.com/dash",name:"Dash",nativeCurrency:"DASH",networkDerivationPath:[44,5,0,0,0],rpcUrls:["https://dash-rpc.publicnode.com","https://dash.getblock.io/mainnet"],type:U}),Wr=r({baseDecimal:8,blockTime:75,chain:"ZEC",chainId:"zcash",coinType:133,explorerUrl:"https://blockchair.com/zcash",name:"Zcash",nativeCurrency:"ZEC",networkDerivationPath:[44,133,0,0,0],rpcUrls:[],type:U}),j=[qr,Jr,Ar,Gr,Qr,Wr],$r=["BTC","BCH","DASH","DOGE","LTC","ZEC"];var D=[...j,...z,...h,...K,...w].sort((e,s)=>e.chain.localeCompare(s.chain)),Z=Object.values(x),Yr=["THOR_STAGENET","MAYA_STAGENET"],Er=D.reduce((e,s)=>{return e[s.chain]=s,e[s.chainId]=s,e},{});function B(e){return Er[e]||{}}var{chainIdToChain:Fr,chainToBaseDecimal:Vr,chainToBlockTime:_r,explorerUrls:gr,rpcUrls:fr}=Z.reduce((e,s)=>{let{chainId:a,baseDecimal:b,blockTime:M,explorerUrl:q,rpcUrls:J}=B(s);return e.chainIdToChain[a]=s,e.chainToBaseDecimal[s]=b,e.chainToBlockTime[s]=M,e.explorerUrls[s]=q,e.rpcUrls[s]=J[0]||"",e},{chainIdToChain:{},chainToBaseDecimal:{},chainToBlockTime:{},explorerUrls:{},rpcUrls:{MAYA_STAGENET:i.rpcUrls[0],THOR_STAGENET:u.rpcUrls[0]}}),Ir={THOR:"https://thornode.thorchain.network",MAYA:"https://mayanode.mayachain.info",THOR_STAGENET:"https://stagenet-thornode.thorchain.network",MAYA_STAGENET:"https://stagenet.mayanode.mayachain.info"},Cr=fr,rt=gr,tt=Object.fromEntries(D.flatMap(({chain:e,chainId:s})=>[[e,s]])),ot=Fr,et=Vr,st=_r;function ct(e){return B(e).coinType}var pt={60:"ETH",118:"GAIA",931:"THOR"},lt=D.reduce((e,s)=>{let a=s.chain;if(!(s.coinType in e)||pt[s.coinType]===a)e[s.coinType]=a;return e},{});function mt(e){return lt[e]}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var b;((o)=>{o.Adi="ADI";o.Aptos="APT";o.Arbitrum="ARB";o.Aurora="AURORA";o.Avalanche="AVAX";o.Base="BASE";o.Berachain="BERA";o.BinanceSmartChain="BSC";o.Bitcoin="BTC";o.BitcoinCash="BCH";o.Botanix="BOTANIX";o.Cardano="ADA";o.Chainflip="FLIP";o.Core="CORE";o.Corn="CORN";o.Cosmos="GAIA";o.Cronos="CRO";o.Dash="DASH";o.Dogecoin="DOGE";o.Ethereum="ETH";o.Gnosis="GNO";o.Harbor="HARBOR";o.Hyperevm="HYPEREVM";o.HyperCore="HYPERCORE";o.Kujira="KUJI";o.Litecoin="LTC";o.Maya="MAYA";o.MegaETH="MEGAETH";o.Monad="MONAD";o.Near="NEAR";o.Noble="NOBLE";o.Optimism="OP";o.Polkadot="DOT";o.Polygon="POL";o.Radix="XRD";o.Ripple="XRP";o.Solana="SOL";o.Sonic="SONIC";o.Stellar="XLM";o.Starknet="STRK";o.Sui="SUI";o.THORChain="THOR";o.Ton="TON";o.Tron="TRON";o.Unichain="UNI";o.XLayer="XLAYER";o.Zcash="ZEC"})(b||={});var i;((U)=>{U.Harbor="MAYA_HARBOR";U.THORChain="THOR_STAGENET";U.Maya="MAYA_STAGENET"})(i||={});var x;((t)=>{t.Adi="36900";t.Aptos="aptos";t.Arbitrum="42161";t.Aurora="1313161554";t.Avalanche="43114";t.Base="8453";t.Berachain="80094";t.BinanceSmartChain="56";t.Bitcoin="bitcoin";t.BitcoinCash="bitcoincash";t.Botanix="3637";t.Cardano="cardano";t.Chainflip="chainflip";t.Core="1116";t.Corn="21000000";t.Cosmos="cosmoshub-4";t.Cronos="25";t.Dash="dash";t.Dogecoin="dogecoin";t.Ethereum="1";t.Gnosis="100";t.Harbor="harbor-1";t.HarborStagenet="harbor-stagenet-1";t.Hyperevm="999";t.HyperCore="hypercore";t.Kujira="kaiyo-1";t.Litecoin="litecoin";t.Maya="mayachain-mainnet-v1";t.MayaStagenet="mayachain-stagenet-v1";t.MegaETH="4326";t.Monad="143";t.Near="near";t.Noble="noble-1";t.Optimism="10";t.Polkadot="polkadot";t.Polygon="137";t.Radix="radix-mainnet";t.Ripple="ripple";t.Solana="solana";t.Sonic="146";t.Stellar="stellar";t.Starknet="0x534e5f4d41494e";t.Sui="sui";t.THORChain="thorchain-1";t.THORChainStagenet="thorchain-stagenet-v2";t.Ton="ton";t.Tron="728126428";t.Unichain="130";t.XLayer="196";t.Zcash="zcash"})(x||={});function r(e){return e}var a="cosmos",D=r({baseDecimal:6,blockTime:2,chain:"GAIA",chainId:"cosmoshub-4",coinType:118,explorerUrl:"https://www.mintscan.io/cosmos",name:"Cosmos",nativeCurrency:"ATOM",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://cosmos-rpc.publicnode.com:443","https://cosmos-rpc.publicnode.com"],type:a}),v=r({baseDecimal:8,blockTime:6,chain:"THOR",chainId:"thorchain-1",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://thornode.thorchain.network",rpcUrls:["https://rpc.thorchain.network","https://thornode.thorchain.network"],type:a}),u=r({baseDecimal:8,blockTime:6,chain:"THOR_STAGENET",chainId:"thorchain-stagenet-v2",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet-thornode.thorchain.network",rpcUrls:["https://stagenet-rpc.thorchain.network","https://stagenet-thornode.thorchain.network"],type:a}),H=r({baseDecimal:8,blockTime:6,chain:"MAYA",chainId:"mayachain-mainnet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://mayanode.mayachain.info",rpcUrls:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com","https://mayanode.mayachain.info"],type:a}),R=r({baseDecimal:8,blockTime:6,chain:"HARBOR",chainId:"harbor-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:a}),S=r({baseDecimal:8,blockTime:6,chain:"MAYA_HARBOR",chainId:"harbor-stagenet-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:a}),T=r({baseDecimal:8,blockTime:6,chain:"MAYA_STAGENET",chainId:"mayachain-stagenet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet.mayanode.mayachain.info",rpcUrls:["https://stagenet.mayanode.mayachain.info"],type:a}),L=r({baseDecimal:6,blockTime:2.2,chain:"KUJI",chainId:"kaiyo-1",coinType:118,explorerUrl:"https://finder.kujira.network/kaiyo-1",name:"Kujira",nativeCurrency:"KUJI",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://kujira-rpc.ibs.team","https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],type:a}),O=r({baseDecimal:6,blockTime:1.3,chain:"NOBLE",chainId:"noble-1",coinType:118,explorerUrl:"https://www.mintscan.io/noble",name:"Noble",nativeCurrency:"USDC",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://noble-rpc.polkachu.com","https://rpc.noble.xyz","https://rpc.cosmos.directory/noble"],type:a}),P=[D,v,H,L,O,R],Mr=["GAIA","KUJI","MAYA","NOBLE","THOR","HARBOR"],qr=[u,T,S],Jr=["MAYA_STAGENET","THOR_STAGENET","MAYA_HARBOR"],Gr={[D.chain]:"cosmos",[v.chain]:"thor",[u.chain]:"sthor",[H.chain]:"maya",[T.chain]:"smaya",[L.chain]:"kujira",[O.chain]:"noble",[R.chain]:"harbor",[S.chain]:"sharbor"},Ar=[v.chain,H.chain];var c="evm",p=18,m=60,l=[44,60,0,0,0],M=r({baseDecimal:p,blockTime:12.5,chain:"ETH",chainId:"1",chainIdHex:"0x1",coinType:m,explorerUrl:"https://etherscan.io",name:"Ethereum",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://ethereum-rpc.publicnode.com","https://eth.llamarpc.com","https://cloudflare-eth.com"],type:c}),q=r({baseDecimal:p,blockTime:1,chain:"BSC",chainId:"56",chainIdHex:"0x38",coinType:m,explorerUrl:"https://bscscan.com",name:"BinanceSmartChain",nativeCurrency:"BNB",networkDerivationPath:l,rpcUrls:["https://bsc-dataseed.binance.org","https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],type:c}),J=r({baseDecimal:p,blockTime:2,chain:"AVAX",chainId:"43114",chainIdHex:"0xa86a",coinType:m,explorerUrl:"https://snowtrace.io",name:"Avalanche",nativeCurrency:"AVAX",networkDerivationPath:l,rpcUrls:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],type:c}),G=r({baseDecimal:p,blockTime:2.1,chain:"POL",chainId:"137",chainIdHex:"0x89",coinType:m,explorerUrl:"https://polygonscan.com",name:"Polygon",nativeCurrency:"POL",networkDerivationPath:l,rpcUrls:["https://polygon-rpc.com","https://polygon.llamarpc.com","https://polygon-bor-rpc.publicnode.com"],type:c}),A=r({baseDecimal:p,blockTime:1,chain:"ADI",chainId:"36900",chainIdHex:"0x9024",coinType:m,explorerUrl:"https://explorer.adifoundation.ai",name:"ADI Chain",nativeCurrency:"ADI",networkDerivationPath:l,rpcUrls:["https://rpc.adifoundation.ai"],type:c}),Q=r({baseDecimal:p,blockTime:0.3,chain:"ARB",chainId:"42161",chainIdHex:"0xa4b1",coinType:m,explorerUrl:"https://arbiscan.io",name:"Arbitrum",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://arb1.arbitrum.io/rpc","https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],type:c}),W=r({baseDecimal:p,blockTime:2,chain:"OP",chainId:"10",chainIdHex:"0xa",coinType:m,explorerUrl:"https://optimistic.etherscan.io",name:"Optimism",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://mainnet.optimism.io","https://optimism.llamarpc.com","https://1rpc.io/op"],type:c}),$=r({baseDecimal:p,blockTime:2,chain:"BASE",chainId:"8453",chainIdHex:"0x2105",coinType:m,explorerUrl:"https://basescan.org",name:"Base",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://base-rpc.publicnode.com","https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],type:c}),Y=r({baseDecimal:p,blockTime:5.2,chain:"GNO",chainId:"100",chainIdHex:"0x64",coinType:m,explorerUrl:"https://gnosisscan.io",name:"Gnosis",nativeCurrency:"xDAI",networkDerivationPath:l,rpcUrls:["https://gnosis-rpc.publicnode.com","https://gnosis.drpc.org","https://rpc.ankr.com/gnosis"],type:c}),E=r({baseDecimal:p,blockTime:1,chain:"AURORA",chainId:"1313161554",chainIdHex:"0x4e454152",coinType:m,explorerUrl:"https://explorer.mainnet.aurora.dev",name:"Aurora",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://aurora-rpc.publicnode.com","https://1rpc.io/aurora","https://mainnet.aurora.dev"],type:c}),F=r({baseDecimal:p,blockTime:2,chain:"BERA",chainId:"80094",chainIdHex:"0x138de",coinType:m,explorerUrl:"https://berascan.com",name:"Berachain",nativeCurrency:"BERA",networkDerivationPath:l,rpcUrls:["https://berachain-rpc.publicnode.com","https://rpc.berachain.com","https://berachain.drpc.org"],type:c}),V=r({baseDecimal:p,blockTime:1,chain:"HYPEREVM",chainId:"999",chainIdHex:"0x3e7",coinType:m,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"Hyperliquid",nativeCurrency:"HYPE",networkDerivationPath:l,rpcUrls:["https://rpc.hyperliquid.xyz/evm","https://rpc.hypurrscan.io"],type:c}),_=r({baseDecimal:p,blockTime:2,chain:"UNI",chainId:"130",chainIdHex:"0x82",coinType:m,explorerUrl:"https://unichain.blockscout.com",name:"Unichain",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:["https://unichain-rpc.publicnode.com","https://unichain.drpc.org"],type:c}),g=r({baseDecimal:p,blockTime:2,chain:"CORN",chainId:"21000000",chainIdHex:"0x1406f40",coinType:m,explorerUrl:"https://cornscan.io",name:"Corn",nativeCurrency:"BTCN",networkDerivationPath:l,rpcUrls:["https://mainnet.corn-rpc.com","https://rpc.ankr.com/corn_maizenet"],type:c}),f=r({baseDecimal:p,blockTime:2,chain:"CORE",chainId:"1116",chainIdHex:"0x45c",coinType:m,explorerUrl:"https://corescan.io",name:"Core",nativeCurrency:"CORE",networkDerivationPath:l,rpcUrls:["https://rpc.coredao.org","https://1rpc.io/core"],type:c}),I=r({baseDecimal:p,blockTime:2,chain:"BOTANIX",chainId:"3637",chainIdHex:"0xe35",coinType:m,explorerUrl:"https://botanixscan.io",name:"Botanix",nativeCurrency:"BTC",networkDerivationPath:l,rpcUrls:["https://rpc.botanixlabs.dev","https://botanix.drpc.org"],type:c}),C=r({baseDecimal:p,blockTime:2,chain:"CRO",chainId:"25",chainIdHex:"0x19",coinType:m,explorerUrl:"https://croscan.io",name:"Cronos",nativeCurrency:"CRO",networkDerivationPath:l,rpcUrls:["https://rpc.vvs.finance"],type:c}),rr=r({baseDecimal:p,blockTime:2,chain:"XLAYER",chainId:"196",chainIdHex:"0xc4",coinType:m,explorerUrl:"https://www.oklink.com/x-layer",name:"X Layer",nativeCurrency:"OKB",networkDerivationPath:l,rpcUrls:["https://xlayerrpc.okx.com"],type:c}),tr=r({baseDecimal:p,blockTime:2,chain:"SONIC",chainId:"146",chainIdHex:"0x92",coinType:m,explorerUrl:"https://sonicscan.io",name:"Sonic",nativeCurrency:"S",networkDerivationPath:l,rpcUrls:["https://rpc.soniclabs.com","https://sonic.drpc.org"],type:c}),or=r({baseDecimal:p,blockTime:0.4,chain:"MONAD",chainId:"143",chainIdHex:"0x8f",coinType:m,explorerUrl:"https://monvision.io",name:"Monad",nativeCurrency:"MON",networkDerivationPath:l,rpcUrls:["https://rpc.monad.xyz/","https://rpc3.monad.xyz/","https://rpc-mainnet.monadinfra.com/"],type:c}),er=r({baseDecimal:p,blockTime:0.01,chain:"MEGAETH",chainId:"4326",chainIdHex:"0x10e6",coinType:m,explorerUrl:"",name:"MegaETH",nativeCurrency:"ETH",networkDerivationPath:l,rpcUrls:[],type:c}),z=[A,Q,E,J,$,F,I,q,f,g,C,M,Y,V,er,or,W,G,tr,_,rr],Yr=["ADI","ARB","AURORA","AVAX","BASE","BERA","BSC","BOTANIX","CORE","CORN","CRO","ETH","GNO","HYPEREVM","MONAD","OP","POL","SONIC","UNI","XLAYER"];var n="others",sr=r({baseDecimal:8,blockTime:1,chain:"APT",chainId:"aptos",coinType:637,explorerUrl:"https://explorer.aptoslabs.com",name:"Aptos",nativeCurrency:"APT",networkDerivationPath:[44,637,0,0,0],rpcUrls:["https://api.mainnet.aptoslabs.com/v1"],type:n}),cr=r({baseDecimal:8,blockTime:1,chain:"HYPERCORE",chainId:"hypercore",coinType:60,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"HyperCore",nativeCurrency:"HYPE",networkDerivationPath:[44,60,0,0,0],rpcUrls:["https://api.hyperliquid.xyz"],type:n}),pr=r({baseDecimal:24,blockTime:1,chain:"NEAR",chainId:"near",coinType:397,explorerUrl:"https://nearblocks.io",name:"Near",nativeCurrency:"NEAR",networkDerivationPath:[44,397,0,0,0],rpcUrls:["https://rpc.mainnet.near.org","https://free.rpc.fastnear.com","https://1rpc.io/near","https://near.lava.build","https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"],type:n}),mr=r({baseDecimal:18,blockTime:5,chain:"XRD",chainId:"radix-mainnet",coinType:1022,explorerUrl:"https://dashboard.radixdlt.com",name:"Radix",nativeCurrency:"XRD",networkDerivationPath:[0,0,0,0,0],rpcUrls:["https://radix-mainnet.rpc.grove.city/v1/326002fc/core","https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],type:n}),lr=r({baseDecimal:6,blockTime:5,chain:"XRP",chainId:"ripple",coinType:144,explorerUrl:"https://livenet.xrpl.org/",name:"Ripple",nativeCurrency:"XRP",networkDerivationPath:[44,144,0,0,0],rpcUrls:["wss://xrpl.ws/","wss://s1.ripple.com/","wss://s2.ripple.com/"],type:n}),nr=r({baseDecimal:9,blockTime:0.4,chain:"SOL",chainId:"solana",coinType:501,explorerUrl:"https://solscan.io",name:"Solana",nativeCurrency:"SOL",networkDerivationPath:[44,501,0,0,0],rpcUrls:["https://solana-rpc.publicnode.com","https://solana.drpc.org","https://api.mainnet-beta.solana.com"],type:n}),ar=r({baseDecimal:9,blockTime:5,chain:"TON",chainId:"ton",coinType:607,explorerUrl:"https://tonscan.org",name:"Ton",nativeCurrency:"TON",networkDerivationPath:[44,607,0,0,0],rpcUrls:[],type:n}),br=r({baseDecimal:6,blockTime:3,chain:"TRON",chainId:"728126428",chainIdHex:"0x2b6653dc",coinType:195,explorerUrl:"https://tronscan.org",name:"Tron",nativeCurrency:"TRX",networkDerivationPath:[44,195,0,0,0],rpcUrls:["https://tron-rpc.publicnode.com","https://api.tronstack.io","https://api.tron.network"],type:n}),xr=r({baseDecimal:7,blockTime:5,chain:"XLM",chainId:"stellar",coinType:148,explorerUrl:"https://stellar.expert",name:"Stellar",nativeCurrency:"XLM",networkDerivationPath:[44,148,0,0,0],rpcUrls:["https://horizon.stellar.org","https://horizon.stellar.lobstr.co"],type:n}),yr=r({baseDecimal:9,blockTime:5,chain:"SUI",chainId:"sui",coinType:784,explorerUrl:"https://suiscan.xyz",name:"Sui",nativeCurrency:"SUI",networkDerivationPath:[44,784,0,0,0],rpcUrls:["https://fullnode.mainnet.sui.io:443"],type:n}),Ur=r({baseDecimal:6,blockTime:600,chain:"ADA",chainId:"cardano",coinType:1815,explorerUrl:"https://cexplorer.io",name:"Cardano",nativeCurrency:"ADA",networkDerivationPath:[1852,1815,0,0,0],rpcUrls:["https://api.koios.rest/api/v1","https://cardano-mainnet.blockfrost.io/api/v0"],type:n}),kr=r({baseDecimal:18,blockTime:6,chain:"STRK",chainId:"0x534e5f4d41494e",coinType:9004,explorerUrl:"https://starkscan.co",name:"Starknet",nativeCurrency:"STRK",networkDerivationPath:[44,9004,0,0,0],rpcUrls:["https://starknet-rpc.publicnode.com","https://starknet.drpc.org","https://rpc.starknet.lava.build"],type:n}),w=[sr,pr,mr,lr,nr,xr,ar,br,yr,Ur,kr,cr],_r=w.map((e)=>e.chain);var h="substrate",ur=r({baseDecimal:10,blockTime:6,chain:"DOT",chainId:"polkadot",coinType:354,explorerUrl:"https://polkadot.subscan.io",name:"Polkadot",nativeCurrency:"DOT",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://rpc.polkadot.io","wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],type:h}),Tr=r({baseDecimal:18,blockTime:5,chain:"FLIP",chainId:"chainflip",coinType:2112,explorerUrl:"https://explorer.polkascan.io/polkadot",name:"Chainflip",nativeCurrency:"FLIP",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://mainnet-archive.chainflip.io","wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],type:h}),j=[ur,Tr],Cr=["DOT","FLIP"];var y="utxo",ir=r({baseDecimal:8,blockTime:600,chain:"BTC",chainId:"bitcoin",coinType:0,explorerUrl:"https://blockchair.com/bitcoin",name:"Bitcoin",nativeCurrency:"BTC",networkDerivationPath:[84,0,0,0,0],rpcUrls:["https://bitcoin-rpc.publicnode.com","https://bitcoin.publicnode.com"],type:y}),vr=r({baseDecimal:8,blockTime:600,chain:"BCH",chainId:"bitcoincash",coinType:145,explorerUrl:"https://www.blockchair.com/bitcoin-cash",name:"BitcoinCash",nativeCurrency:"BCH",networkDerivationPath:[44,145,0,0,0],rpcUrls:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],type:y}),Hr=r({baseDecimal:8,blockTime:150,chain:"LTC",chainId:"litecoin",coinType:2,explorerUrl:"https://blockchair.com/litecoin",name:"Litecoin",nativeCurrency:"LTC",networkDerivationPath:[84,2,0,0,0],rpcUrls:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],type:y}),wr=r({baseDecimal:8,blockTime:60,chain:"DOGE",chainId:"dogecoin",coinType:3,explorerUrl:"https://blockchair.com/dogecoin",name:"Dogecoin",nativeCurrency:"DOGE",networkDerivationPath:[44,3,0,0,0],rpcUrls:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],type:y}),dr=r({baseDecimal:8,blockTime:150,chain:"DASH",chainId:"dash",coinType:5,explorerUrl:"https://blockchair.com/dash",name:"Dash",nativeCurrency:"DASH",networkDerivationPath:[44,5,0,0,0],rpcUrls:["https://dash-rpc.publicnode.com","https://dash.getblock.io/mainnet"],type:y}),Dr=r({baseDecimal:8,blockTime:75,chain:"ZEC",chainId:"zcash",coinType:133,explorerUrl:"https://blockchair.com/zcash",name:"Zcash",nativeCurrency:"ZEC",networkDerivationPath:[44,133,0,0,0],rpcUrls:[],type:y}),K=[ir,vr,Hr,wr,dr,Dr],et=["BTC","BCH","DASH","DOGE","LTC","ZEC"];var d=[...K,...z,...P,...j,...w].sort((e,s)=>e.chain.localeCompare(s.chain)),Rr=Object.values(b),bt=["THOR_STAGENET","MAYA_STAGENET"],Sr=d.reduce((e,s)=>{return e[s.chain]=s,e[s.chainId]=s,e},{});function B(e){return Sr[e]||{}}var{chainIdToChain:Lr,chainToBaseDecimal:Or,chainToBlockTime:Pr,explorerUrls:zr,rpcUrls:hr}=Rr.reduce((e,s)=>{let{chainId:k,baseDecimal:U,blockTime:N,explorerUrl:X,rpcUrls:Z}=B(s);return e.chainIdToChain[k]=s,e.chainToBaseDecimal[s]=U,e.chainToBlockTime[s]=N,e.explorerUrls[s]=X,e.rpcUrls[s]=Z[0]||"",e},{chainIdToChain:{},chainToBaseDecimal:{},chainToBlockTime:{},explorerUrls:{},rpcUrls:{MAYA_STAGENET:T.rpcUrls[0],THOR_STAGENET:u.rpcUrls[0]}}),xt={THOR:"https://thornode.thorchain.network",MAYA:"https://mayanode.mayachain.info",THOR_STAGENET:"https://stagenet-thornode.thorchain.network",MAYA_STAGENET:"https://stagenet.mayanode.mayachain.info"},yt=hr,Ut=zr,kt=Object.fromEntries(d.flatMap(({chain:e,chainId:s})=>[[e,s]])),ut=Lr,Tt=Or,it=Pr;function vt(e){return B(e).coinType}var jr={60:"ETH",118:"GAIA",931:"THOR"},Kr=d.reduce((e,s)=>{let k=s.chain;if(!(s.coinType in e)||jr[s.coinType]===k)e[s.coinType]=k;return e},{});function Ht(e){return Kr[e]}export{vt as getCoinType,B as getChainConfig,Ht as getChainByCoinType,et as UTXOChains,K as UTXOChainConfigs,v as THORConfig,Ar as TCLikeChains,Cr as SubstrateChains,j as SubstrateChainConfigs,u as StagenetTHORConfig,T as StagenetMAYAConfig,S as StagenetHARBORConfig,Jr as StagenetCosmosChains,qr as StagenetCosmosChainConfigs,bt as StagenetChains,i as StagenetChain,yt as RPC_URLS,_r as OtherChains,w as OtherChainConfigs,xt as NODE_URLS,O as NOBLEConfig,H as MAYAConfig,L as KUJIConfig,R as HARBORConfig,D as GAIAConfig,Ut as EXPLORER_URLS,Yr as EVMChains,z as EVMChainConfigs,Mr as CosmosChains,Gr as CosmosChainPrefixes,P as CosmosChainConfigs,kt as ChainToChainId,ut as ChainIdToChain,x as ChainId,b as Chain,it as BlockTimes,Tt as BaseDecimal,Rr as AllChains,d as AllChainConfigs};
1
+ var b;((o)=>{o.Adi="ADI";o.Aptos="APT";o.Arbitrum="ARB";o.Aurora="AURORA";o.Avalanche="AVAX";o.Base="BASE";o.Berachain="BERA";o.BinanceSmartChain="BSC";o.Bitcoin="BTC";o.BitcoinCash="BCH";o.Botanix="BOTANIX";o.Cardano="ADA";o.Chainflip="FLIP";o.Core="CORE";o.Corn="CORN";o.Cosmos="GAIA";o.Cronos="CRO";o.Dash="DASH";o.Dogecoin="DOGE";o.Ethereum="ETH";o.Gnosis="GNO";o.Harbor="HARBOR";o.Hyperevm="HYPEREVM";o.HyperCore="HYPERCORE";o.Kujira="KUJI";o.Litecoin="LTC";o.Maya="MAYA";o.MegaETH="MEGAETH";o.Monad="MONAD";o.Near="NEAR";o.Noble="NOBLE";o.Optimism="OP";o.Polkadot="DOT";o.Polygon="POL";o.Radix="XRD";o.Ripple="XRP";o.Solana="SOL";o.Sonic="SONIC";o.Spark="SPARK";o.Stellar="XLM";o.Starknet="STRK";o.Sui="SUI";o.THORChain="THOR";o.Ton="TON";o.Tron="TRON";o.Unichain="UNI";o.XLayer="XLAYER";o.Zcash="ZEC"})(b||={});var T;((y)=>{y.Harbor="MAYA_HARBOR";y.THORChain="THOR_STAGENET";y.Maya="MAYA_STAGENET"})(T||={});var x;((t)=>{t.Adi="36900";t.Aptos="aptos";t.Arbitrum="42161";t.Aurora="1313161554";t.Avalanche="43114";t.Base="8453";t.Berachain="80094";t.BinanceSmartChain="56";t.Bitcoin="bitcoin";t.BitcoinCash="bitcoincash";t.Botanix="3637";t.Cardano="cardano";t.Chainflip="chainflip";t.Core="1116";t.Corn="21000000";t.Cosmos="cosmoshub-4";t.Cronos="25";t.Dash="dash";t.Dogecoin="dogecoin";t.Ethereum="1";t.Gnosis="100";t.Harbor="harbor-1";t.HarborStagenet="harbor-stagenet-1";t.Hyperevm="999";t.HyperCore="hypercore";t.Kujira="kaiyo-1";t.Litecoin="litecoin";t.Maya="mayachain-mainnet-v1";t.MayaStagenet="mayachain-stagenet-v1";t.MegaETH="4326";t.Monad="143";t.Near="near";t.Noble="noble-1";t.Optimism="10";t.Polkadot="polkadot";t.Polygon="137";t.Radix="radix-mainnet";t.Ripple="ripple";t.Solana="solana";t.Sonic="146";t.Spark="spark";t.Stellar="stellar";t.Starknet="0x534e5f4d41494e";t.Sui="sui";t.THORChain="thorchain-1";t.THORChainStagenet="thorchain-stagenet-v2";t.Ton="ton";t.Tron="728126428";t.Unichain="130";t.XLayer="196";t.Zcash="zcash"})(x||={});function r(e){return e}var a="cosmos",d=r({baseDecimal:6,blockTime:2,chain:"GAIA",chainId:"cosmoshub-4",coinType:118,explorerUrl:"https://www.mintscan.io/cosmos",name:"Cosmos",nativeCurrency:"ATOM",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://cosmos-rpc.publicnode.com:443","https://cosmos-rpc.publicnode.com"],type:a}),v=r({baseDecimal:8,blockTime:6,chain:"THOR",chainId:"thorchain-1",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://thornode.thorchain.network",rpcUrls:["https://rpc.thorchain.network","https://thornode.thorchain.network"],type:a}),u=r({baseDecimal:8,blockTime:6,chain:"THOR_STAGENET",chainId:"thorchain-stagenet-v2",coinType:931,explorerUrl:"https://runescan.io",name:"THORChain",nativeCurrency:"RUNE",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet-thornode.thorchain.network",rpcUrls:["https://stagenet-rpc.thorchain.network","https://stagenet-thornode.thorchain.network"],type:a}),H=r({baseDecimal:8,blockTime:6,chain:"MAYA",chainId:"mayachain-mainnet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://mayanode.mayachain.info",rpcUrls:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com","https://mayanode.mayachain.info"],type:a}),R=r({baseDecimal:8,blockTime:6,chain:"HARBOR",chainId:"harbor-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:a}),S=r({baseDecimal:8,blockTime:6,chain:"MAYA_HARBOR",chainId:"harbor-stagenet-1",coinType:931,explorerUrl:"",name:"Harbor",nativeCurrency:"HRB",networkDerivationPath:[44,931,0,0,0],rpcUrls:["https://xnode.harbor-dev.xyz/xnode"],type:a}),i=r({baseDecimal:8,blockTime:6,chain:"MAYA_STAGENET",chainId:"mayachain-stagenet-v1",coinType:931,explorerUrl:"https://www.mayascan.org",name:"Maya",nativeCurrency:"CACAO",networkDerivationPath:[44,931,0,0,0],nodeUrl:"https://stagenet.mayanode.mayachain.info",rpcUrls:["https://stagenet.mayanode.mayachain.info"],type:a}),P=r({baseDecimal:6,blockTime:2.2,chain:"KUJI",chainId:"kaiyo-1",coinType:118,explorerUrl:"https://finder.kujira.network/kaiyo-1",name:"Kujira",nativeCurrency:"KUJI",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://kujira-rpc.ibs.team","https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],type:a}),L=r({baseDecimal:6,blockTime:1.3,chain:"NOBLE",chainId:"noble-1",coinType:118,explorerUrl:"https://www.mintscan.io/noble",name:"Noble",nativeCurrency:"USDC",networkDerivationPath:[44,118,0,0,0],rpcUrls:["https://noble-rpc.polkachu.com","https://rpc.noble.xyz","https://rpc.cosmos.directory/noble"],type:a}),O=[d,v,H,P,L,R],qr=["GAIA","KUJI","MAYA","NOBLE","THOR","HARBOR"],Jr=[u,i,S],Ar=["MAYA_STAGENET","THOR_STAGENET","MAYA_HARBOR"],Gr={[d.chain]:"cosmos",[v.chain]:"thor",[u.chain]:"sthor",[H.chain]:"maya",[i.chain]:"smaya",[P.chain]:"kujira",[L.chain]:"noble",[R.chain]:"harbor",[S.chain]:"sharbor"},Qr=[v.chain,H.chain];var c="evm",p=18,l=60,m=[44,60,0,0,0],M=r({baseDecimal:p,blockTime:12.5,chain:"ETH",chainId:"1",chainIdHex:"0x1",coinType:l,explorerUrl:"https://etherscan.io",name:"Ethereum",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://ethereum-rpc.publicnode.com","https://eth.llamarpc.com","https://cloudflare-eth.com"],type:c}),q=r({baseDecimal:p,blockTime:1,chain:"BSC",chainId:"56",chainIdHex:"0x38",coinType:l,explorerUrl:"https://bscscan.com",name:"BinanceSmartChain",nativeCurrency:"BNB",networkDerivationPath:m,rpcUrls:["https://bsc-dataseed.binance.org","https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],type:c}),J=r({baseDecimal:p,blockTime:2,chain:"AVAX",chainId:"43114",chainIdHex:"0xa86a",coinType:l,explorerUrl:"https://snowtrace.io",name:"Avalanche",nativeCurrency:"AVAX",networkDerivationPath:m,rpcUrls:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],type:c}),A=r({baseDecimal:p,blockTime:2.1,chain:"POL",chainId:"137",chainIdHex:"0x89",coinType:l,explorerUrl:"https://polygonscan.com",name:"Polygon",nativeCurrency:"POL",networkDerivationPath:m,rpcUrls:["https://polygon-rpc.com","https://polygon.llamarpc.com","https://polygon-bor-rpc.publicnode.com"],type:c}),G=r({baseDecimal:p,blockTime:1,chain:"ADI",chainId:"36900",chainIdHex:"0x9024",coinType:l,explorerUrl:"https://explorer.adifoundation.ai",name:"ADI Chain",nativeCurrency:"ADI",networkDerivationPath:m,rpcUrls:["https://rpc.adifoundation.ai"],type:c}),Q=r({baseDecimal:p,blockTime:0.3,chain:"ARB",chainId:"42161",chainIdHex:"0xa4b1",coinType:l,explorerUrl:"https://arbiscan.io",name:"Arbitrum",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://arb1.arbitrum.io/rpc","https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],type:c}),W=r({baseDecimal:p,blockTime:2,chain:"OP",chainId:"10",chainIdHex:"0xa",coinType:l,explorerUrl:"https://optimistic.etherscan.io",name:"Optimism",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://mainnet.optimism.io","https://optimism.llamarpc.com","https://1rpc.io/op"],type:c}),$=r({baseDecimal:p,blockTime:2,chain:"BASE",chainId:"8453",chainIdHex:"0x2105",coinType:l,explorerUrl:"https://basescan.org",name:"Base",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://base-rpc.publicnode.com","https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],type:c}),Y=r({baseDecimal:p,blockTime:5.2,chain:"GNO",chainId:"100",chainIdHex:"0x64",coinType:l,explorerUrl:"https://gnosisscan.io",name:"Gnosis",nativeCurrency:"xDAI",networkDerivationPath:m,rpcUrls:["https://gnosis-rpc.publicnode.com","https://gnosis.drpc.org","https://rpc.ankr.com/gnosis"],type:c}),E=r({baseDecimal:p,blockTime:1,chain:"AURORA",chainId:"1313161554",chainIdHex:"0x4e454152",coinType:l,explorerUrl:"https://explorer.mainnet.aurora.dev",name:"Aurora",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://aurora-rpc.publicnode.com","https://1rpc.io/aurora","https://mainnet.aurora.dev"],type:c}),F=r({baseDecimal:p,blockTime:2,chain:"BERA",chainId:"80094",chainIdHex:"0x138de",coinType:l,explorerUrl:"https://berascan.com",name:"Berachain",nativeCurrency:"BERA",networkDerivationPath:m,rpcUrls:["https://berachain-rpc.publicnode.com","https://rpc.berachain.com","https://berachain.drpc.org"],type:c}),V=r({baseDecimal:p,blockTime:1,chain:"HYPEREVM",chainId:"999",chainIdHex:"0x3e7",coinType:l,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"Hyperliquid",nativeCurrency:"HYPE",networkDerivationPath:m,rpcUrls:["https://rpc.hyperliquid.xyz/evm","https://rpc.hypurrscan.io"],type:c}),_=r({baseDecimal:p,blockTime:2,chain:"UNI",chainId:"130",chainIdHex:"0x82",coinType:l,explorerUrl:"https://unichain.blockscout.com",name:"Unichain",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:["https://unichain-rpc.publicnode.com","https://unichain.drpc.org"],type:c}),g=r({baseDecimal:p,blockTime:2,chain:"CORN",chainId:"21000000",chainIdHex:"0x1406f40",coinType:l,explorerUrl:"https://cornscan.io",name:"Corn",nativeCurrency:"BTCN",networkDerivationPath:m,rpcUrls:["https://mainnet.corn-rpc.com","https://rpc.ankr.com/corn_maizenet"],type:c}),f=r({baseDecimal:p,blockTime:2,chain:"CORE",chainId:"1116",chainIdHex:"0x45c",coinType:l,explorerUrl:"https://corescan.io",name:"Core",nativeCurrency:"CORE",networkDerivationPath:m,rpcUrls:["https://rpc.coredao.org","https://1rpc.io/core"],type:c}),I=r({baseDecimal:p,blockTime:2,chain:"BOTANIX",chainId:"3637",chainIdHex:"0xe35",coinType:l,explorerUrl:"https://botanixscan.io",name:"Botanix",nativeCurrency:"BTC",networkDerivationPath:m,rpcUrls:["https://rpc.botanixlabs.com"],type:c}),C=r({baseDecimal:p,blockTime:2,chain:"CRO",chainId:"25",chainIdHex:"0x19",coinType:l,explorerUrl:"https://croscan.io",name:"Cronos",nativeCurrency:"CRO",networkDerivationPath:m,rpcUrls:["https://rpc.vvs.finance"],type:c}),rr=r({baseDecimal:p,blockTime:2,chain:"XLAYER",chainId:"196",chainIdHex:"0xc4",coinType:l,explorerUrl:"https://www.oklink.com/x-layer",name:"X Layer",nativeCurrency:"OKB",networkDerivationPath:m,rpcUrls:["https://xlayerrpc.okx.com"],type:c}),tr=r({baseDecimal:p,blockTime:2,chain:"SONIC",chainId:"146",chainIdHex:"0x92",coinType:l,explorerUrl:"https://sonicscan.io",name:"Sonic",nativeCurrency:"S",networkDerivationPath:m,rpcUrls:["https://rpc.soniclabs.com","https://sonic.drpc.org"],type:c}),or=r({baseDecimal:p,blockTime:0.4,chain:"MONAD",chainId:"143",chainIdHex:"0x8f",coinType:l,explorerUrl:"https://monvision.io",name:"Monad",nativeCurrency:"MON",networkDerivationPath:m,rpcUrls:["https://rpc.monad.xyz/","https://rpc3.monad.xyz/","https://rpc-mainnet.monadinfra.com/"],type:c}),er=r({baseDecimal:p,blockTime:0.01,chain:"MEGAETH",chainId:"4326",chainIdHex:"0x10e6",coinType:l,explorerUrl:"",name:"MegaETH",nativeCurrency:"ETH",networkDerivationPath:m,rpcUrls:[],type:c}),h=[G,Q,E,J,$,F,I,q,f,g,C,M,Y,V,er,or,W,A,tr,_,rr],Er=["ADI","ARB","AURORA","AVAX","BASE","BERA","BSC","BOTANIX","CORE","CORN","CRO","ETH","GNO","HYPEREVM","MONAD","OP","POL","SONIC","UNI","XLAYER"];var n="others",sr=r({baseDecimal:8,blockTime:1,chain:"APT",chainId:"aptos",coinType:637,explorerUrl:"https://explorer.aptoslabs.com",name:"Aptos",nativeCurrency:"APT",networkDerivationPath:[44,637,0,0,0],rpcUrls:["https://api.mainnet.aptoslabs.com/v1"],type:n}),cr=r({baseDecimal:8,blockTime:1,chain:"HYPERCORE",chainId:"hypercore",coinType:60,explorerUrl:"https://app.hyperliquid.xyz/explorer",name:"HyperCore",nativeCurrency:"HYPE",networkDerivationPath:[44,60,0,0,0],rpcUrls:["https://api.hyperliquid.xyz"],type:n}),pr=r({baseDecimal:24,blockTime:1,chain:"NEAR",chainId:"near",coinType:397,explorerUrl:"https://nearblocks.io",name:"Near",nativeCurrency:"NEAR",networkDerivationPath:[44,397,0,0,0],rpcUrls:["https://rpc.mainnet.near.org","https://free.rpc.fastnear.com","https://1rpc.io/near","https://near.lava.build","https://near-mainnet.infura.io/v3/3cbfcafa5e1e48b7bb0ea41f2fbc4abf"],type:n}),lr=r({baseDecimal:18,blockTime:5,chain:"XRD",chainId:"radix-mainnet",coinType:1022,explorerUrl:"https://dashboard.radixdlt.com",name:"Radix",nativeCurrency:"XRD",networkDerivationPath:[0,0,0,0,0],rpcUrls:["https://radix-mainnet.rpc.grove.city/v1/326002fc/core","https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],type:n}),mr=r({baseDecimal:6,blockTime:5,chain:"XRP",chainId:"ripple",coinType:144,explorerUrl:"https://livenet.xrpl.org/",name:"Ripple",nativeCurrency:"XRP",networkDerivationPath:[44,144,0,0,0],rpcUrls:["wss://xrpl.ws/","wss://s1.ripple.com/","wss://s2.ripple.com/"],type:n}),nr=r({baseDecimal:9,blockTime:0.4,chain:"SOL",chainId:"solana",coinType:501,explorerUrl:"https://solscan.io",name:"Solana",nativeCurrency:"SOL",networkDerivationPath:[44,501,0,0,0],rpcUrls:["https://solana-rpc.publicnode.com","https://solana.drpc.org","https://api.mainnet-beta.solana.com"],type:n}),ar=r({baseDecimal:8,blockTime:1,chain:"SPARK",chainId:"spark",coinType:0,explorerUrl:"https://sparkscan.io",name:"Spark",nativeCurrency:"BTC",networkDerivationPath:[8797555,1,0,0,0],rpcUrls:[],type:n}),br=r({baseDecimal:9,blockTime:5,chain:"TON",chainId:"ton",coinType:607,explorerUrl:"https://tonscan.org",name:"Ton",nativeCurrency:"TON",networkDerivationPath:[44,607,0,0,0],rpcUrls:[],type:n}),xr=r({baseDecimal:6,blockTime:3,chain:"TRON",chainId:"728126428",chainIdHex:"0x2b6653dc",coinType:195,explorerUrl:"https://tronscan.org",name:"Tron",nativeCurrency:"TRX",networkDerivationPath:[44,195,0,0,0],rpcUrls:["https://tron-rpc.publicnode.com","https://api.tronstack.io","https://api.tron.network"],type:n}),kr=r({baseDecimal:7,blockTime:5,chain:"XLM",chainId:"stellar",coinType:148,explorerUrl:"https://stellar.expert",name:"Stellar",nativeCurrency:"XLM",networkDerivationPath:[44,148,0,0,0],rpcUrls:["https://horizon.stellar.org","https://horizon.stellar.lobstr.co"],type:n}),yr=r({baseDecimal:9,blockTime:5,chain:"SUI",chainId:"sui",coinType:784,explorerUrl:"https://suiscan.xyz",name:"Sui",nativeCurrency:"SUI",networkDerivationPath:[44,784,0,0,0],rpcUrls:["https://fullnode.mainnet.sui.io:443"],type:n}),Ur=r({baseDecimal:6,blockTime:600,chain:"ADA",chainId:"cardano",coinType:1815,explorerUrl:"https://cexplorer.io",name:"Cardano",nativeCurrency:"ADA",networkDerivationPath:[1852,1815,0,0,0],rpcUrls:["https://api.koios.rest/api/v1","https://cardano-mainnet.blockfrost.io/api/v0"],type:n}),ur=r({baseDecimal:18,blockTime:6,chain:"STRK",chainId:"0x534e5f4d41494e",coinType:9004,explorerUrl:"https://starkscan.co",name:"Starknet",nativeCurrency:"STRK",networkDerivationPath:[44,9004,0,0,0],rpcUrls:["https://starknet-rpc.publicnode.com","https://starknet.drpc.org","https://rpc.starknet.lava.build"],type:n}),w=[sr,pr,lr,mr,nr,ar,kr,br,xr,yr,Ur,ur,cr],gr=w.map((e)=>e.chain);var z="substrate",ir=r({baseDecimal:10,blockTime:6,chain:"DOT",chainId:"polkadot",coinType:354,explorerUrl:"https://polkadot.subscan.io",name:"Polkadot",nativeCurrency:"DOT",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://rpc.polkadot.io","wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],type:z}),Tr=r({baseDecimal:18,blockTime:5,chain:"FLIP",chainId:"chainflip",coinType:2112,explorerUrl:"https://explorer.polkascan.io/polkadot",name:"Chainflip",nativeCurrency:"FLIP",networkDerivationPath:[0,0,0,0,0],rpcUrls:["wss://mainnet-archive.chainflip.io","wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],type:z}),K=[ir,Tr],rt=["DOT","FLIP"];var k="utxo",vr=r({baseDecimal:8,blockTime:600,chain:"BTC",chainId:"bitcoin",coinType:0,explorerUrl:"https://blockchair.com/bitcoin",name:"Bitcoin",nativeCurrency:"BTC",networkDerivationPath:[84,0,0,0,0],rpcUrls:["https://bitcoin-rpc.publicnode.com","https://bitcoin.publicnode.com"],type:k}),Hr=r({baseDecimal:8,blockTime:600,chain:"BCH",chainId:"bitcoincash",coinType:145,explorerUrl:"https://www.blockchair.com/bitcoin-cash",name:"BitcoinCash",nativeCurrency:"BCH",networkDerivationPath:[44,145,0,0,0],rpcUrls:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],type:k}),wr=r({baseDecimal:8,blockTime:150,chain:"LTC",chainId:"litecoin",coinType:2,explorerUrl:"https://blockchair.com/litecoin",name:"Litecoin",nativeCurrency:"LTC",networkDerivationPath:[84,2,0,0,0],rpcUrls:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],type:k}),Dr=r({baseDecimal:8,blockTime:60,chain:"DOGE",chainId:"dogecoin",coinType:3,explorerUrl:"https://blockchair.com/dogecoin",name:"Dogecoin",nativeCurrency:"DOGE",networkDerivationPath:[44,3,0,0,0],rpcUrls:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],type:k}),dr=r({baseDecimal:8,blockTime:150,chain:"DASH",chainId:"dash",coinType:5,explorerUrl:"https://blockchair.com/dash",name:"Dash",nativeCurrency:"DASH",networkDerivationPath:[44,5,0,0,0],rpcUrls:["https://dash-rpc.publicnode.com","https://dash.getblock.io/mainnet"],type:k}),Rr=r({baseDecimal:8,blockTime:75,chain:"ZEC",chainId:"zcash",coinType:133,explorerUrl:"https://blockchair.com/zcash",name:"Zcash",nativeCurrency:"ZEC",networkDerivationPath:[44,133,0,0,0],rpcUrls:[],type:k}),j=[vr,Hr,wr,Dr,dr,Rr],st=["BTC","BCH","DASH","DOGE","LTC","ZEC"];var D=[...j,...h,...O,...K,...w].sort((e,s)=>e.chain.localeCompare(s.chain)),Sr=Object.values(b),xt=["THOR_STAGENET","MAYA_STAGENET"],Pr=D.reduce((e,s)=>{return e[s.chain]=s,e[s.chainId]=s,e},{});function B(e){return Pr[e]||{}}var{chainIdToChain:Lr,chainToBaseDecimal:Or,chainToBlockTime:hr,explorerUrls:zr,rpcUrls:Kr}=Sr.reduce((e,s)=>{let{chainId:U,baseDecimal:y,blockTime:N,explorerUrl:X,rpcUrls:Z}=B(s);return e.chainIdToChain[U]=s,e.chainToBaseDecimal[s]=y,e.chainToBlockTime[s]=N,e.explorerUrls[s]=X,e.rpcUrls[s]=Z[0]||"",e},{chainIdToChain:{},chainToBaseDecimal:{},chainToBlockTime:{},explorerUrls:{},rpcUrls:{MAYA_STAGENET:i.rpcUrls[0],THOR_STAGENET:u.rpcUrls[0]}}),kt={THOR:"https://thornode.thorchain.network",MAYA:"https://mayanode.mayachain.info",THOR_STAGENET:"https://stagenet-thornode.thorchain.network",MAYA_STAGENET:"https://stagenet.mayanode.mayachain.info"},yt=Kr,Ut=zr,ut=Object.fromEntries(D.flatMap(({chain:e,chainId:s})=>[[e,s]])),it=Lr,Tt=Or,vt=hr;function Ht(e){return B(e).coinType}var jr={60:"ETH",118:"GAIA",931:"THOR"},Br=D.reduce((e,s)=>{let U=s.chain;if(!(s.coinType in e)||jr[s.coinType]===U)e[s.coinType]=U;return e},{});function wt(e){return Br[e]}export{Ht as getCoinType,B as getChainConfig,wt as getChainByCoinType,st as UTXOChains,j as UTXOChainConfigs,v as THORConfig,Qr as TCLikeChains,rt as SubstrateChains,K as SubstrateChainConfigs,u as StagenetTHORConfig,i as StagenetMAYAConfig,S as StagenetHARBORConfig,Ar as StagenetCosmosChains,Jr as StagenetCosmosChainConfigs,xt as StagenetChains,T as StagenetChain,yt as RPC_URLS,gr as OtherChains,w as OtherChainConfigs,kt as NODE_URLS,L as NOBLEConfig,H as MAYAConfig,P as KUJIConfig,R as HARBORConfig,d as GAIAConfig,Ut as EXPLORER_URLS,Er as EVMChains,h as EVMChainConfigs,qr as CosmosChains,Gr as CosmosChainPrefixes,O as CosmosChainConfigs,ut as ChainToChainId,it as ChainIdToChain,x as ChainId,b as Chain,vt as BlockTimes,Tt as BaseDecimal,Sr as AllChains,D as AllChainConfigs};
@@ -22,4 +22,3 @@ export declare function createChain<const Name extends string, const Type extend
22
22
  chainIdHex: ChainIdHexType<Params>;
23
23
  };
24
24
  export {};
25
- //# sourceMappingURL=_createChain.d.ts.map
@@ -37,6 +37,7 @@ export declare enum Chain {
37
37
  Ripple = "XRP",
38
38
  Solana = "SOL",
39
39
  Sonic = "SONIC",
40
+ Spark = "SPARK",
40
41
  Stellar = "XLM",
41
42
  Starknet = "STRK",
42
43
  Sui = "SUI",
@@ -100,6 +101,7 @@ export declare enum ChainId {
100
101
  Ripple = "ripple",
101
102
  Solana = "solana",
102
103
  Sonic = "146",
104
+ Spark = "spark",
103
105
  Stellar = "stellar",
104
106
  Starknet = "0x534e5f4d41494e",
105
107
  Sui = "sui",
@@ -111,4 +113,3 @@ export declare enum ChainId {
111
113
  XLayer = "196",
112
114
  Zcash = "zcash"
113
115
  }
114
- //# sourceMappingURL=_enums.d.ts.map
@@ -277,4 +277,3 @@ export type StagenetCosmosChain = (typeof StagenetCosmosChains)[number];
277
277
  export declare const CosmosChainPrefixes: Record<CosmosChain | StagenetCosmosChain, string>;
278
278
  export declare const TCLikeChains: readonly [Chain.THORChain, Chain.Maya];
279
279
  export type TCLikeChain = (typeof TCLikeChains)[number];
280
- //# sourceMappingURL=cosmos.d.ts.map
@@ -100,7 +100,7 @@ export declare const EVMChainConfigs: readonly [{
100
100
  readonly name: "Botanix";
101
101
  readonly nativeCurrency: "BTC";
102
102
  readonly networkDerivationPath: [number, number, number, number, number];
103
- readonly rpcUrls: ["https://rpc.botanixlabs.dev", "https://botanix.drpc.org"];
103
+ readonly rpcUrls: ["https://rpc.botanixlabs.com"];
104
104
  readonly type: "evm";
105
105
  } & {
106
106
  chainIdHex: "0xe35";
@@ -317,4 +317,3 @@ export declare const EVMChainConfigs: readonly [{
317
317
  }];
318
318
  export declare const EVMChains: readonly [Chain.Adi, Chain.Arbitrum, Chain.Aurora, Chain.Avalanche, Chain.Base, Chain.Berachain, Chain.BinanceSmartChain, Chain.Botanix, Chain.Core, Chain.Corn, Chain.Cronos, Chain.Ethereum, Chain.Gnosis, Chain.Hyperevm, Chain.Monad, Chain.Optimism, Chain.Polygon, Chain.Sonic, Chain.Unichain, Chain.XLayer];
319
319
  export type EVMChain = (typeof EVMChains)[number];
320
- //# sourceMappingURL=evm.d.ts.map
@@ -327,7 +327,7 @@ export declare const AllChainConfigs: (({
327
327
  readonly name: "Botanix";
328
328
  readonly nativeCurrency: "BTC";
329
329
  readonly networkDerivationPath: [number, number, number, number, number];
330
- readonly rpcUrls: ["https://rpc.botanixlabs.dev", "https://botanix.drpc.org"];
330
+ readonly rpcUrls: ["https://rpc.botanixlabs.com"];
331
331
  readonly type: "evm";
332
332
  } & {
333
333
  chainIdHex: "0xe35";
@@ -490,6 +490,20 @@ export declare const AllChainConfigs: (({
490
490
  readonly type: "others";
491
491
  } & {
492
492
  chainIdHex: undefined;
493
+ }) | ({
494
+ readonly baseDecimal: 8;
495
+ readonly blockTime: 1;
496
+ readonly chain: Chain.Spark;
497
+ readonly chainId: ChainId.Spark;
498
+ readonly coinType: 0;
499
+ readonly explorerUrl: "https://sparkscan.io";
500
+ readonly name: "Spark";
501
+ readonly nativeCurrency: "BTC";
502
+ readonly networkDerivationPath: [8797555, 1, 0, 0, 0];
503
+ readonly rpcUrls: [];
504
+ readonly type: "others";
505
+ } & {
506
+ chainIdHex: undefined;
493
507
  }) | ({
494
508
  readonly baseDecimal: 9;
495
509
  readonly blockTime: 5;
@@ -768,4 +782,3 @@ export declare const BaseDecimal: Record<Chain, number>;
768
782
  export declare const BlockTimes: Record<Chain, number>;
769
783
  export declare function getCoinType(chain: Chain): number;
770
784
  export declare function getChainByCoinType(coinType: number): Chain | undefined;
771
- //# sourceMappingURL=index.d.ts.map
@@ -69,6 +69,20 @@ export declare const OtherChainConfigs: readonly [{
69
69
  readonly type: "others";
70
70
  } & {
71
71
  chainIdHex: undefined;
72
+ }, {
73
+ readonly baseDecimal: 8;
74
+ readonly blockTime: 1;
75
+ readonly chain: Chain.Spark;
76
+ readonly chainId: ChainId.Spark;
77
+ readonly coinType: 0;
78
+ readonly explorerUrl: "https://sparkscan.io";
79
+ readonly name: "Spark";
80
+ readonly nativeCurrency: "BTC";
81
+ readonly networkDerivationPath: [8797555, 1, 0, 0, 0];
82
+ readonly rpcUrls: [];
83
+ readonly type: "others";
84
+ } & {
85
+ chainIdHex: undefined;
72
86
  }, {
73
87
  readonly baseDecimal: 7;
74
88
  readonly blockTime: 5;
@@ -169,6 +183,5 @@ export declare const OtherChainConfigs: readonly [{
169
183
  } & {
170
184
  chainIdHex: undefined;
171
185
  }];
172
- export declare const OtherChains: (Chain.Aptos | Chain.Cardano | Chain.HyperCore | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Stellar | Chain.Starknet | Chain.Sui | Chain.Ton | Chain.Tron)[];
186
+ export declare const OtherChains: (Chain.Aptos | Chain.Cardano | Chain.HyperCore | Chain.Near | Chain.Radix | Chain.Ripple | Chain.Solana | Chain.Spark | Chain.Stellar | Chain.Starknet | Chain.Sui | Chain.Ton | Chain.Tron)[];
173
187
  export type OtherChain = (typeof OtherChains)[number];
174
- //# sourceMappingURL=others.d.ts.map
@@ -30,4 +30,3 @@ export declare const SubstrateChainConfigs: readonly [{
30
30
  }];
31
31
  export declare const SubstrateChains: readonly [Chain.Polkadot, Chain.Chainflip];
32
32
  export type SubstrateChain = (typeof SubstrateChains)[number];
33
- //# sourceMappingURL=substrate.d.ts.map
@@ -86,4 +86,3 @@ export declare const UTXOChainConfigs: readonly [{
86
86
  }];
87
87
  export declare const UTXOChains: readonly [Chain.Bitcoin, Chain.BitcoinCash, Chain.Dash, Chain.Dogecoin, Chain.Litecoin, Chain.Zcash];
88
88
  export type UTXOChain = (typeof UTXOChains)[number];
89
- //# sourceMappingURL=utxo.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "./chains";
2
- //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -18,5 +18,5 @@
18
18
  "type-check:go": "tsgo"
19
19
  },
20
20
  "type": "module",
21
- "version": "0.7.4"
21
+ "version": "0.7.5"
22
22
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"_createChain.d.ts","sourceRoot":"","sources":["../../../src/chains/_createChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9D,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,UAAU,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC;AAE5G,wBAAgB,WAAW,CACzB,KAAK,CAAC,IAAI,SAAS,MAAM,EACzB,KAAK,CAAC,IAAI,SAAS,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,EACrE,KAAK,CAAC,MAAM,SAAS;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,aAAa,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE,IAAI,CAAC;CACZ,GAAG,CAAC;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,EACrD,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG;IAAE,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;CAAE,CAEjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_enums.d.ts","sourceRoot":"","sources":["../../../src/chains/_enums.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,GAAG,QAAQ;IACX,KAAK,QAAQ;IACb,QAAQ,QAAQ;IAChB,MAAM,WAAW;IACjB,SAAS,SAAS;IAClB,IAAI,SAAS;IACb,SAAS,SAAS;IAClB,iBAAiB,QAAQ;IACzB,OAAO,QAAQ;IACf,WAAW,QAAQ;IACnB,OAAO,YAAY;IACnB,OAAO,QAAQ;IACf,SAAS,SAAS;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,SAAS;IACf,MAAM,QAAQ;IACd,IAAI,SAAS;IACb,QAAQ,SAAS;IACjB,QAAQ,QAAQ;IAChB,MAAM,QAAQ;IACd,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,SAAS;IACf,QAAQ,QAAQ;IAChB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,OAAO;IACf,QAAQ,QAAQ;IAChB,OAAO,QAAQ;IACf,KAAK,QAAQ;IACb,MAAM,QAAQ;IACd,MAAM,QAAQ;IACd,KAAK,UAAU;IACf,OAAO,QAAQ;IACf,QAAQ,SAAS;IACjB,GAAG,QAAQ;IACX,SAAS,SAAS;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,QAAQ,QAAQ;IAChB,MAAM,WAAW;IACjB,KAAK,QAAQ;CACd;AAED,oBAAY,aAAa;IACvB,MAAM,gBAAgB;IACtB,SAAS,kBAAkB;IAC3B,IAAI,kBAAkB;CACvB;AAED;;;;;;GAMG;AACH,oBAAY,OAAO;IACjB,GAAG,UAAU;IACb,KAAK,UAAU;IACf,QAAQ,UAAU;IAClB,MAAM,eAAe;IACrB,SAAS,UAAU;IACnB,IAAI,SAAS;IACb,SAAS,UAAU;IACnB,iBAAiB,OAAO;IACxB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,SAAS;IAChB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,IAAI,aAAa;IACjB,MAAM,gBAAgB;IACtB,MAAM,OAAO;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,MAAM;IACd,MAAM,QAAQ;IACd,MAAM,aAAa;IACnB,cAAc,sBAAsB;IACpC,QAAQ,QAAQ;IAChB,SAAS,cAAc;IACvB,MAAM,YAAY;IAClB,QAAQ,aAAa;IACrB,IAAI,yBAAyB;IAC7B,YAAY,0BAA0B;IACtC,OAAO,SAAS;IAChB,KAAK,QAAQ;IACb,IAAI,SAAS;IACb,KAAK,YAAY;IACjB,QAAQ,OAAO;IACf,QAAQ,aAAa;IACrB,OAAO,QAAQ;IACf,KAAK,kBAAkB;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,QAAQ;IACb,OAAO,YAAY;IACnB,QAAQ,qBAAqB;IAC7B,GAAG,QAAQ;IACX,SAAS,gBAAgB;IACzB,iBAAiB,0BAA0B;IAC3C,GAAG,QAAQ;IACX,IAAI,cAAc;IAClB,QAAQ,QAAQ;IAChB,MAAM,QAAQ;IACd,KAAK,UAAU;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cosmos.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAIzD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAYrB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAarB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAa7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAiBrB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAYvB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAY/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAa7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAYrB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAYtB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuF,CAAC;AACvH,eAAO,MAAM,YAAY,+FAOf,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0E,CAAC;AAClH,eAAO,MAAM,oBAAoB,8EAA+E,CAAC;AACjH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,GAAG,mBAAmB,EAAE,MAAM,CAUjF,CAAC;AAEF,eAAO,MAAM,YAAY,wCAAgD,CAAC;AAC1E,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../src/chains/evm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AA2U1C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBlB,CAAC;AACX,eAAO,MAAM,SAAS,qTAuBZ,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chains/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAO9D,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAMoB,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AACrD,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,SAAS,SAAuB,CAAC;AAC9C,eAAO,MAAM,cAAc,wDAAyD,CAAC;AAErF,KAAK,cAAc,GAAG;KACnB,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE;QAAE,KAAK,EAAE,CAAC,CAAA;KAAE,CAAC;CAChE,GAAG;KACD,CAAC,IAAI,WAAW,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC;CACpE,CAAC;AAWF,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,cAAc,EAAE,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAInG;AA+BD,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,KAAK,GAAG,aAAa,EAAE,MAAM,CAAW,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAgB,CAAC;AAEjE;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,EAEtB,EACH,QAAQ,EAAE,CAAC,IAAI,KAAK,GAAG,aAAa,GAAG,OAAO,CAAC,WAAW,EAAE;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,SAAS,CAAC,GACrF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,wBAAiB,CAAC;AAE7C;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,uBAAqB,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,uBAAmB,CAAC;AAE3C,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAmBD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAEtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"others.d.ts","sourceRoot":"","sources":["../../../src/chains/others.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAuL1C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiF,CAAC;AAChH,eAAO,MAAM,WAAW,kLAAkD,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"substrate.d.ts","sourceRoot":"","sources":["../../../src/chains/substrate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAiD1C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuB,CAAC;AAC1D,eAAO,MAAM,eAAe,4CAA6C,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utxo.d.ts","sourceRoot":"","sources":["../../../src/chains/utxo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAwF1C,eAAO,MAAM,gBAAgB;;;;;;;;;oCA3EgB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2Eb,CAAC;AAC1E,eAAO,MAAM,UAAU,sGAOb,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}