xpeed-wallet-npm

Forked from rai-wallet. Creates ciphered RaiBlocks wallets for client-side and offline use

Usage no npm install needed!

<script type="module">
  import xpeedWalletNpm from 'https://cdn.skypack.dev/xpeed-wallet-npm';
</script>

README

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