1.2.8 • Published 3 years ago
@tolar/web3-tolar-accounts v1.2.8
web3-tolar-accounts
This is a sub-package of @tolar/web3.
This is the accounts package used in the @tolar/web3-tolar package.
Please read the documentation for more.
Installation
Node.js
npm install @tolar/web3-tolar-accountsIn the Browser
Build running the following in the @tolar/web3 repository:
npm run-script build-allThen include dist/web3-tolar-accounts.js in your html file.
This will expose the Web3TolarAccounts object on the window object.
Usage
// in node.js
var Web3TolarAccounts = require("@tolar/web3-tolar-accounts");
var account = new Web3TolarAccounts("https://...");Types
All the TypeScript typings are placed in the types folder.