bc48aad5a5
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.2) --- updated-dependencies: - dependency-name: axios dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
staging | ||
testing | ||
tokenbridge-bw-exchange | ||
.eslintrc.js | ||
docker-compose.yml | ||
Dockerfile | ||
lerna.json | ||
package.json | ||
publish.md | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
TokenBridge Burner Wallet 2 Plugin
Please refer to the Plugin README for resources provided, instructions to install and use the plugin.
Setup
- Initialize the monorepository.
- Run
yarn build
or from the monorepository rootyarn build:plugin
Run Burner Wallet with the plugin in Mainnet & Classic
- Create
.env
file instaging
folder and setREACT_APP_INFURA_KEY=<your key from infura.com>
- Run
yarn start-staging
to start the wallet connected to Mainnet & Classic and interact with the ETH - WETC Bridge.
Run Burner Wallet with the plugin in Sokol & Kovan
- Create
.env
file intesting
folder and setREACT_APP_INFURA_KEY=<your key from infura.com>
. Also, a private key can be set to start the wallet with the specified accountREACT_APP_PK=0x...
- Run
yarn start-testing
to start the wallet connected to Sokol & Kovan and interact with a test bridge that works on top of the AMB bridge.
Docker Setup
Docker can be used to build the services and run the testing and staging wallets.
First you may want to create the .env
files for testing and staging as mentioned before. This is optional before building the containers, variables can be passes later using --env-file
or --env
parameters in docker run
.
Build the services with docker-compose:
docker-compose build
Run Burner Wallet with the plugin in Mainnet & Classic using Docker
docker run -ti -p 8080:8080 -e PORT=8080 --rm burner-wallet-plugin_staging
Run Burner Wallet with the plugin in Sokol & Kovan using Docker
docker run -ti -p 8080:8080 -e PORT=8080 --rm burner-wallet-plugin_testing
Publish to npm
In order to make this plugin accessible, it should be available as a npm package. Follow the instructions to publish the package to npm registry.