Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 979 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 979 Bytes

rai-wallet npm downloads javascript style guide

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