/iroha-wallet-js

Sample wallet application for Iroha

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Iroha Wallet

npm version Iroha 1.0.0-rc5 JavaScript Style Guide License

Iroha Wallet is an example wallet application for Iroha.

Iroha Wallet has following features:

  1. Login with your Iroha account.
  2. See your assets and transactions.
  3. Transfer your assets to another Iroha account.

iroha-wallet

Getting Started

Prerequisites

First, you need to have an Iroha instance working. You can read how to launch it on Iroha's docs. In this guide we assume the local Iroha instance working at localhost:50051.

Also we provide docker that you can easily run and use.

docker-compose -f docker/docker-compose.yaml up

Then, populate the database by our example script as below. The script will create new account alice@test and several new assets. Note that there already exist admin@test. Their keys are in scripts/. Note that you need to complete "Installation" steps in advance if you want to use the example script.

 % node scripts/setup.js

Installation

Install npm packages.

# install dependencies
yarn install

Running

To run application

yarn serve