immutable-wallet
v0.0.6
Published
A javascript SDK for setting up Immutable wallets and creating embedded controllers.
Downloads
8
Readme
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');