Package Exports
- cryptoaddress-to-currency
- cryptoaddress-to-currency/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cryptoaddress-to-currency) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Description
npm package for getting supporting currencies for crypto addressess.
Installation
npm i cryptoaddress-to-currency --save
let ctc = require('cryptoaddress-to-currency');
How to use
let ctc = require('cryptoaddress-to-currency');
console.log(ctc.validateaddress("TV4YkpEQDzneGqsm6ae2cRHmNeQyA64kEd"));
// [ { name: 'Tezos', ticker: 'xtz' }, { name: 'Tron', ticker: 'trx' } ]
Support
Happy to add more, and need any updates, do get in touch on my telegram over @chigovera