medibloc / wallet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panacea Web Wallet

An official web wallet for Panacea Core v2+.

Building

Prerequisites

Installing dependencies

npm install

Running a dev server

First of all, edit configurations in the network.js.

{
  name: 'Mynet',                        // An alias of the network
  chainId: 'mychain-1',                 // A chain ID of the network
  code: 1,                              // To be deprecated soon
  mServerURL: 'http://localhost:8080',  // A Panacea Explorer Server endpoint
  mClientURL: 'http://localhost:7070',  // A Panacea Explorer Client(web) endpoint
  nodes: ['http://localhost:26657'],    // Tendermint RPC endpoint
}

Then, the dev server can be run:

npm run dev

Deploying

Packaging for production

npm run build

The package is built in the output directory: app/build/.

Uploading the package to AWS S3

Upload the package to the AWS S3 bucket which is associated to a proper AWS Cloudfront.

cd app/build/
aws cp . s3://BUCKET_NAME/ --recursive

License

GPL-3.0 License

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 79.7%Language:CSS 18.4%Language:HTML 1.8%Language:Shell 0.1%