Skip to content

Files

Latest commit

db0ee7a · Jul 1, 2022

History

History

wallet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 30, 2022
Jul 1, 2022
Jul 1, 2022
May 9, 2022
Jul 1, 2022
May 17, 2022
May 31, 2022
Jul 1, 2022
May 9, 2022
Jul 1, 2022
May 26, 2022
May 12, 2022
May 17, 2022
Jun 28, 2022
Jul 1, 2022
May 9, 2022
May 17, 2022
May 17, 2022

Sui Wallet

A chrome (v88+) extension wallet for Sui.

Set up

Requirements: Node 14.0.0 or later.

Run npm i first to install the required node modules

Then one of the following build steps is required:

Build in watch mode (dev)

To build the extension and watch for changes run

npm start

This will build the app in the dist/ directory, watch for changes and rebuild it. (Also runs prettier to format the files that changed.)

Build once in dev mode

To build the app once in development mode (no optimizations etc) run

npm run build:dev

The output directory is the same dist/, all build artifacts will go there

Build once in prod mode

To build the app once in production mode run

npm run build:prod

Same as above the output is dist/.

Install the extension to Chrome

After building the app, the extension needs to be installed to Chrome. Follow the steps to load an unpacked extension and install the app from the dist/ directory.

Testing

npm run test