@tolar/web3-tolar-accounts
v1.2.8
Published
Web3 module to generate Tolar accounts and sign data and transactions.
Downloads
6
Keywords
Readme
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-accounts
In the Browser
Build running the following in the @tolar/web3 repository:
npm run-script build-all
Then 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.