UNPKG

multichain-address-validator

Version:

Multichain address validator for Bitcoin and other blockchains.

364 lines (363 loc) 7.18 kB
{ "name": "multichain-address-validator", "description": "Multichain address validator for Bitcoin and other blockchains.", "version": "0.7.7", "keywords": [ "0x", "zrx", "Aave Coin", "aave", "Algorand", "algo", "Apecoin", "ape", "API3", "api3", "Aragon", "ant", "Arbitrum", "arb", "Augur", "rep", "AugurV2", "repv2", "AuroraCoin", "aur", "Avalanche", "avax", "Axie Infinity", "axs", "Bancor", "bnt", "Band Protocol", "band", "Bankex", "bkx", "Basic Attention Token", "bat", "BeaverCoin", "bvc", "Biconomy", "bico", "Binance", "bnb", "BioCoin", "bio", "Bitcoin", "btc", "Bitcoin SV", "bsv", "BitcoinCash", "bch", "BitcoinGold", "btg", "BitcoinPrivate", "btcp", "BitcoinZ", "btcz", "BlockTrade", "btt", "Blur", "blur", "Bonk", "bonk", "BTU Protocol", "btu", "Callisto", "clo", "Cardano", "ada", "Celo", "celo", "Chainlink", "link", "Chiliz", "chz", "Civic", "cvc", "Compound", "comp", "Cred", "lba", "Crypto.com Coin", "cro", "Curve DAO", "crv", "CUSD", "cusd", "Dash", "dash", "Decentraland", "mana", "Decred", "dcr", "DigiByte", "dgb", "District0x", "dnt", "DogeCoin", "doge", "Enjin Coin", "enj", "EOS", "eos", "Ethereum", "eth", "Ethereum Name Service", "ens", "EthereumClassic", "etc", "EthereumPow", "ethw", "EtherZero", "etz", "Expanse", "exp", "Fetch.ai", "fet", "FirmaChain", "fct", "Flare", "flr", "FreiCoin", "frc", "GameCredits", "game", "GarliCoin", "grlc", "Gnosis", "gno", "Golem", "glm", "Golem (GNT)", "gnt", "Hashflow", "hft", "HedgeTrade", "hedg", "Hush", "hush", "HyperSpace", "xsc", "iExec RLC", "rlc", "Illuvium", "ilv", "Immutable", "imx", "Injective", "inj", "Komodo", "kmd", "LBRY Credits", "lbc", "Lido DAO Token", "ldo", "LiteCoin", "ltc", "loki", "loki", "Loom Network", "loom", "Magic", "magic", "Maker", "mkr", "Marlin", "pond", "Mask Network", "mask", "Matchpool", "gup", "Matic", "matic", "MegaCoin", "mec", "Melon", "mln", "Metal", "mtl", "Monero", "xmr", "Multi-collateral DAI", "dai", "NameCoin", "nmc", "Nano", "nano", "Nem", "xem", "Neo", "neo", "NeoGas", "gas", "Numeraire", "nmr", "Ocean Protocol", "ocean", "Odyssey", "ocn", "OmiseGO", "omg", "Onyx Protocol", "xcn", "Optimism", "op", "Origin Protocol", "ogn", "Paxos", "pax", "PayPal USD", "pyusd", "PeerCoin", "ppc", "PIVX", "pivx", "Polkadot", "dot", "Polymath", "poly", "PrimeCoin", "xpm", "ProtoShares", "pts", "Qtum", "qtum", "Quant", "qnt", "Quantum Resistant Ledger", "qrl", "RaiBlocks", "xrb", "Ripio Credit Network", "rcn", "Ripple", "xrp", "Salt", "salt", "Serve", "serv", "Siacoin", "sc", "Skale", "skl", "SnowGem", "sng", "Solana", "sol", "SolarCoin", "slr", "SOLVE", "solve", "Spendcoin", "spnd", "Status", "snt", "Stellar", "xlm", "Storj", "storj", "Storm", "storm", "StormX", "stmx", "SuperVerse", "super", "Swarm City", "swt", "Synthetix Network", "snx", "Tap", "xtp", "Tellor", "trb", "TEMCO", "temco", "TenX", "pay", "Tether", "usdt", "Tezos", "xtz", "The Graph", "grt", "The Sandbox", "sand", "Tron", "trx", "TrueUSD", "tusd", "Unifi Protocol DAO", "unfi", "Uniswap Coin", "uni", "USD Coin", "usdc", "VeChain", "vet", "VertCoin", "vtc", "Viberate", "vib", "VoteCoin", "vot", "Vulcan Forged PYR", "pyr", "Waves", "waves", "Wings", "wings", "Yearn.finance", "yfi", "ZCash", "zec", "ZClassic", "zcl", "ZenCash", "zen" ], "author": "Chris <28301107+christsim@users.noreply.github.com>", "homepage": "https://github.com/christsim/multichain-address-validator", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/christsim/multichain-address-validator.git" }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/esm/index.d.ts" } }, "engines": { "node": ">=18.0.0" }, "engineStrict": true, "scripts": { "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", "build": "npm run clean && npm run build:esm && npm run build:cjs", "clean": "npx rimraf dist", "test": "mocha --import=tsx test/**.test.ts", "start": "npm run build && npm test" }, "dependencies": { "@noble/hashes": "^1.4.0", "base-x": "^4.0.0", "buffer": "^6.0.3", "cbor-js": "^0.1.0", "crc": "^4.3.2", "lodash.isequal": "^4.5.0" }, "devDependencies": { "chai": "^4.4.1", "mocha": "^10.2.0", "tsx": "^4.16.2", "typescript": "^5.5.4" } }