UNPKG

@codegame.dev/wallet-cli

Version:

A CLI tool for managing wallets across multiple blockchains, supporting operations like wallet creation, balance checking, transfers, and fee estimation.

18 lines (17 loc) 2.71 kB
import { Command } from "commander"; import type { WalletCore } from "@trustwallet/wallet-core"; export declare const getCoin: (trustCore: WalletCore, coinId?: string, coingeckoPlatform?: string, required?: boolean) => readonly ["aeternity" | "aion" | "binance" | "bitcoin" | "bitcoinCash" | "bitcoinGold" | "callisto" | "cardano" | "cosmos" | "pivx" | "dash" | "decred" | "digiByte" | "dogecoin" | "eos" | "wax" | "ethereum" | "ethereumClassic" | "fio" | "goChain" | "groestlcoin" | "icon" | "ioTeX" | "kava" | "kin" | "litecoin" | "monacoin" | "nebulas" | "nuls" | "nano" | "near" | "nimiq" | "ontology" | "poanetwork" | "qtum" | "xrp" | "solana" | "stellar" | "tezos" | "theta" | "thunderCore" | "neo" | "viction" | "tron" | "veChain" | "viacoin" | "wanchain" | "zcash" | "firo" | "zilliqa" | "zelcash" | "ravencoin" | "waves" | "terra" | "terraV2" | "harmony" | "algorand" | "kusama" | "polkadot" | "filecoin" | "multiversX" | "bandChain" | "smartChainLegacy" | "smartChain" | "tbinance" | "oasis" | "polygon" | "thorchain" | "bluzelle" | "optimism" | "zksync" | "arbitrum" | "ecochain" | "avalancheCChain" | "xdai" | "fantom" | "cryptoOrg" | "celo" | "ronin" | "osmosis" | "ecash" | "iost" | "cronosChain" | "smartBitcoinCash" | "kuCoinCommunityChain" | "bitcoinDiamond" | "boba" | "syscoin" | "verge" | "zen" | "metis" | "aurora" | "evmos" | "nativeEvmos" | "moonriver" | "moonbeam" | "kavaEvm" | "kaia" | "meter" | "okxchain" | "stratis" | "komodo" | "nervos" | "everscale" | "aptos" | "nebl" | "hedera" | "secret" | "nativeInjective" | "agoric" | "ton" | "sui" | "stargaze" | "polygonzkEVM" | "juno" | "stride" | "axelar" | "crescent" | "kujira" | "ioTeXEVM" | "nativeCanto" | "comdex" | "neutron" | "sommelier" | "fetchAI" | "mars" | "umee" | "coreum" | "quasar" | "persistence" | "akash" | "noble" | "scroll" | "rootstock" | "thetaFuel" | "confluxeSpace" | "acala" | "acalaEVM" | "opBNB" | "neon" | "base" | "sei" | "arbitrumNova" | "linea" | "greenfield" | "mantle" | "zenEON" | "internetComputer" | "tia" | "mantaPacific" | "nativeZetaChain" | "zetaEVM" | "dydx" | "merlin" | "lightlink" | "blast" | "bounceBit" | "zkLinkNova" | "prototype" | "pactus" | null, null] | readonly [null, { readonly success: false; readonly code: "empty-coin"; readonly message: "Set coin name"; }] | readonly [null, { readonly success: false; readonly code: "invalid-coingecko-platform"; readonly message: "This coingecko platform not supported"; }] | readonly [null, { readonly success: false; readonly code: "invalid-coin"; readonly message: "This coin is not supported"; }]; declare const _default: (program: Command, trustCore: WalletCore) => void; export default _default;