You can download the latest stable version from the chrome store.
This guide will take you through setting up the extension in a local environment.
Start a local Vite node. The easiest way is to use the Solidity++ Visual Studio Code Extension as described here. This should start a local node at http://127.0.0.1:9000.
Ensure you are using node 14+:
$ nvm install 14
$ nvm use 14
Clone repo and cd into it. Then, install node_modules:
$ npm install
Start webpack build server:
$ make
On a new tab, launch a chrome session pre-installed with the extension. The chrome session opens up in the src/example
dapp at http://localhost:7777/example.html.
$ make pack
- Create account
- Import account
- Add accounts in same derivation path scheme
- Network switch. Support mainnet, testnet, local and custom.
- Export private key
- Export mnemonic
- Add custom tokens
- Request connected accounts
- Request connect new account + domain
- Request createAccountBlock request
- Emit popup changes: account, chain etc
- Load and subscribe to current account VITE balances
To install a production ready build:
- Download the latest release from the releases section.
- Unzip the download.
- Head over to the Chrome extension section (
chrome://extensions/
) and enableDeveloper mode
. - Click
Load unpacked
. - Select the unzipped folder of the build.
- This should successfully load the extension, and you can now access it from the browser extension's toolbar.
- For your safety, use a burner mnemonic phrase/account when importing a wallet for testing.
- https://volt-wallet.surge.sh/example.html
- contracts:
- mainnet: vite_06b7688d6a6c11f60a03aac65c1b8647de73058caa8f2cbcb3
- testnet: vite_16f90e1b0c1631bbf72481f34c7f63bc531509590823dad3e8
https://0xkarl.github.io/vite-extension/getting-started/introduction.html
- https://docs.vite.org/go-vite/tutorial/sppguide/introduction/installation.html
- https://docs.vite.org/vite.js/accountBlock/createAccountBlock.html
- https://github.com/vitelabs/vite.js/blob/fa6109936891697dd44926e52c69930a4e0040fe/docs/viteAPI/GViteRPC.md
- https://chrome.google.com/webstore/detail/vite-wallet/fiehfolhefpnoihmfggndpmibfgbpico