Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

medibloc/wallet

Repository files navigation

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