JSPM

crypto-address-converter

0.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 161
  • Score
    100M100P100Q78109F
  • License ISC

npm package for address conversion form various chains customized, Currently supported EVM chains, TRON, XINFIN, WELUPS Chains. ## Installation `npm i crypto-address-converter --save` import {crypto-address-converter} from 'crypto-address-converter'; ```

Package Exports

  • crypto-address-converter
  • crypto-address-converter/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 (crypto-address-converter) 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 address conversion form various chains customized, Currently supported EVM chains, TRON, XINFIN, WELUPS Chains.

Installation

`npm i crypto-address-converter --save`
import {crypto-address-converter} from 'crypto-address-converter';

How to use

    const cryptoaddressconverter = require('crypto-address-converter')
    console.log(cryptoaddressconverter.convertaddress("TPBkHycN1Hmr2bFcfjvp2fjkca1hfPbPka","TRON","EVM")); //0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1
    console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","TRON")); //TPBkHycN1Hmr2bFcfjvp2fjkca1hfPbPka
    console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","XINFIN")); //xdc90f8bf6a479f320ead074411a4b0e7944ea8c9c1
    console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","WELUPS")); //WPBkHycN1Hmr2bFcfjvp2fjkca1hfPbPka

Support

Happy to add more, and need any updates, do get in touch on my telegram over @chigovera