etoken-lib

0.17.2 • Public • Published

EToken lib

NodeJS

npm install -s etoken-lib

const EToken = require('etoken-lib');
const eToken = new EToken('http://localhost:8545'); // Ethereum node RPC url.
eToken.setPrivateKey(privateKeyToSignransactions);
// eToken.web3 is now ready to send transactions.

Browser

<script src='../build/bundle.min.js'></script>
<script>
    const EToken = require('etoken-lib');
    const eToken = new EToken('http://localhost:8545'); // Ethereum node RPC url.
    eToken.setPrivateKey(privateKeyToSignransactions);
    // eToken.web3 is now ready to send transactions.
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i etoken-lib

Weekly Downloads

1

Version

0.17.2

License

ISC

Unpacked Size

5.28 MB

Total Files

31

Last publish

Collaborators

  • ambisafe-dev