DISCLAIMER: This code is provided for demonstration purposes only. The Sui Wallet has not been thoroughly tested, verified, or audited. There are known security issues with the current implementation of the Sui Wallet. Currently, the wallet is not password protected, and the mnemonic is not encrypted in storage. Please do not use the code or derivatives in production without proper diligence.
A Chrome extension wallet for Sui.
Requirements: Node 14.0.0 or later.
Dependencies are managed using pnpm
. You can start by installing dependencies in the root of the Sui repository:
$ pnpm install
To build the extension and watch for changes run:
pnpm 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.)
To build the app once in development mode (no optimizations etc) run
pnpm run build:dev
The output directory is the same dist/, all build artifacts will go there
To build the app once in production mode run
pnpm run build:prod
Same as above the output is dist/.
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.
pnpm run test