0.1.1 • Published 7 years ago
tweb3-mit-iban v0.1.1
tweb3-mit-iban
This is a sub package of tweb3.js
This is the IBAN package to be used in the tweb3-mit package.
Please read the documentation for more.
Installation
Node.js
npm install tweb3-mit-ibanIn the Browser
Build running the following in the tweb3.js repository:
npm run-script build-allThen include dist/tweb3-mit-iban.js in your html file.
This will expose the Web3EthIban object on the window object.
Usage
// in node.js
var Web3EthIban = require('tweb3-mit-iban');
var iban = new Web3EthIban('XE75JRZCTTLBSYEQBGAS7GID8DKR7QY0QA3');
iban.toAddress()
> '0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B'