Wallet Book
Updating Wallet Book
Adding First Party Wallet
Simply add an entry to firstPartyWalletsData
in packages/wallet-book/src/build/sources/firstParty/index.ts
and Compile & Publish
For example:
argentx: {
brand: {
alt: 'Argent Wallet',
primaryColor: '#FF875B',
spriteId: 'argentx',
},
desktop: {
chromeId: 'dlcobpjiigpikoobohmabehhmhfoodbb',
firefoxId: 'argent-x',
},
name: 'Argent X',
},
Required fields:
brand
alt
primaryColor
spriteId
- The id used in the iconic svgname
Refer to WalletRecordsSchema
for more schema options
Updating Wallet Connect Data
Adding overrides to WalletConnect
- modify packages/wallet-book/src/build/sources/walletConnectOverrides/index.ts
- Compile & Publish
Compile & Publish
The compiled json is stored in packages/wallet-book/wallet-book.json
. When the file is updated
and merged to main it will be published to S3 automatically.
Simply, make any changes that you need and:
- run
npx nx compile wallet-book
- commit
wallet-book.json
- Open PR with changes and merge