- Install NVM
- Go to this folder repo and run
nvm use
to takes the right version for node (install if you need it)
npm ci
npm run dev
and load /dist
directory as unpacked extension on Google Chrome.
If you are simultaneously making changes in the wallet-core lib and you would like to test the wallet with your changes, do the following:
on wallet-core:
yarn
yarn build # or yarn watch
on the wallet:
yarn link /path/to/wallet-core/repo
This will link wallet-core in the wallet with your local version.
If you see dependency errors when you link, try to update any common dependencies to the same version as in wallet-core
.
npm run build
npm run lint
Wallet Integration tests have been written using puppeteer
$ export SEED_WORDS={testNet import wallet 12 words}
Ex: export SEED_WORDS="test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12"
$ npm run test:mainnet:prodagent:release
Run single test locally, update the .mocharc.yml values parallel: false jobs: 1
and add .only
to the test you want to run.
Release to Chrome Store
yarn sync-versions
it will update the tag in manifest.json
git tag <TAG NAME>
git push origin <TAG NAME>
branch name format: username/liq-xx-title eg: b0b/liq-21-integrate-github-with-linear