0.0.6 • Published 5 years ago

immutable-wallet v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Immutable Wallet

A Javascript SDK for creating Immutable Wallets in the browser.

import { ImmutableWallet } from 'immutable-wallet';

let owner = '0x0000000000000000000000000000000000000000';

let address = new ImmutableWallet(owner);

console.log(address);

Wallets are encrypted with a user-defined password and stored in local storage.

Controllers

Each Immutable Wallet has a primary operator called the 'owner' or 'controller'. This user is able to add or remove modules and perform many other ownership-level actions. In principle.

let owner = '0x0000000000000000000000000000000000000000';

let address = new ImmutableWallet(owner);
import * as immutable from 'immutable-wallet';

let owner = await immutable.importJSON('', 'password');
let owner = await immutable.importMnemonic('hi alex this is me', 'password')
let owner = await immutable.createLocalWallet('password');