mirror of
https://github.com/zhigang1992/xverse-web-extension.git
synced 2026-01-12 18:02:19 +08:00
193260905cb0ca099be8da0ae8c492f899c0bf67
* [ENG-5252] Switching currency to BTC * Add btc balance view for token tile, account row, balance card * Show balance in fiat for the btc token tile * Add hovers, change interface -> type, remove unused imports * Skip switching to btc mode on BTC details screen * Skip show balance in btc on tokens pages without fiat value * Update the fiat block on Dashboard to not look like like it is interactive * Add `Total Balance BTC` copy, add `Show balance` button * Hide ellipses for the hidden balances when tx has no value * Add store migration for the `showBalanceInBtc` property * Add `BtcAmountText` component * Remove the export word * Simplify the balance view rendering logic * Remove undefined type option for the showBalanceInBtc redux property * [ENG-5436][ENG-5437][ENG-5438][ENG-5439] Add wallet backup reminder (#770) * [ENG-5436][ENG-5437][ENG-5438][ENG-5439] Add wallet backup reminder * Add `has_backed_up_wallet` property to the `AnalyticsEvents.CreateNewWallet` event * Make the backup reminder clickable and redirect to show seedphrase * Use the SetWalletBackupStatus interface
xverse-extension
Installing and Running
Procedures
- Check if your Node.js version is >= 18.
- Clone this repository.
- Make sure you're logged in to the @secretkeylabs scope on the GitHub NPM package registry. See the Guide
- Create a GitHub personal access token (classic)
- Run
npm login --scope=@secretkeylabs --registry=https://npm.pkg.github.com - Username: GITHUB USERNAME Password: PERSONAL_ACCESS_TOKEN Email: PUBLIC-EMAIL-ADDRESS
- Add .env file (example: .env.example)
- Run
npm installto install the dependencies. - Run
npm start - Load your extension on Chrome following:
- Access
chrome://extensions/ - Check
Developer mode - Click on
Load unpacked extension - Select the
buildfolder.
- Access
Developing with local dependencies
Use esm build, and reference your filesystem in package.json
For example, if your xverse-core and xverse-web-extension are in same directory, make or pull your local changes to xverse-core, then:
cd ../xverse-core && npm i && npm run build:esm && \
cd $OLDPWD && npm i --legacy-peer-deps @secretkeylabs/xverse-core@../xverse-core && npm start
Description
Languages
TypeScript
99%
JavaScript
0.5%
Shell
0.4%
CSS
0.1%