Creates ciphered RaiBlocks wallets for client-side and offline use
Installation
yarn add rai-wallet
or
npm install --save rai-wallet
Usage
ES5
var RaiWallet = require('rai-wallet');
var Wallet = RaiWallet.Wallet;
ES6
import { Wallet } from 'rai-wallet';
const wallet = new Wallet('password');
Development
In this directory:
yarn link
In the directory you are working with rai-wallet
:
yarn link rai-wallet