Skip to content

Latest commit

 

History

History

electron

ioPay: IoTeX wallet

This is a desktop version of iotex wallet.

Development

Watch the server first.

cd ../../
npm run watch

Then open another terminal window.

npm run start

To build it in production

npm run build

How To Release

  1. bump the version of ioPay desktop in /src/electron/package.json

  2. push a new tag of version by running the following command in your local machine

git tag vx.y.z
git push origin vx.y.z

in case you pushed wrong tag, you can remove it this way

  1. remove tag locally
git tag -d [tagname]
  1. remove tag in remote github repo
git push --delete origin [tagname]

After a new tag pushed to github, github action will start building desktop wallet and creating a draft release.

The building takes about 20mins.

Release steps

  1. use tag to create a new draft release
  2. download the app and allow 2-3 days testing from the team
  3. publish the draft release

Deep Link Integration

iopay://?type=CONTRACT_INTERACT&amount=0&gasPrice=1&gasLimit=2&abi=encodeURIComponent(abi)&contractAddress=io123&method=unpause

for example, unpause an XRC20 contract

Web Socket Integration

ioPay wallet will serve web socket at 64102 during the Application initialization.

When the user opens the DApp integrated with iotex-antenna WsSignerPlugin, our antenna SDK will connect to the wallet to get the address and send envelops.