description |
---|
Particle provides a complete wallet service. |
👉 https://wallet.particle.network/
Particle Wallet support scan address QRCode and WalletConnect QRCode, so you need add camera permission to iframe.
// get iframe element and add 'camera' permission
const iframe = document.getElementById('particle-wallet-iframe');
iframe?.allow = 'camera';
When your DApp integration Particle Auth, you can call openWallet()
open wallet.
Wallet custom style
You can preview wallet style in Particle Wallet, and edit styles through the bottom right artboard. Copy style JSON set to Auth Service or Connect Service.
name | description |
---|---|
supportChains | The chains wallet support switch |
displayTokenAddresses | The tokens wallet display in list |
displayNFTContractAddresses | The NFT contracts display in list |
priorityTokenAddresses | Token list priority |
priorityNFTContractAddresses | NFT list priority |
fiatCoin | The Currency Unit |
evmSupportWalletConnect | The Wallet support WalletConnect protocol or not |
supportUIModeSwitch | The Wallet support UI Mode switch or not |
supportLanguageSwitch | The Wallet support Language switch or not |
light | light mode style |
dark | dark mode style |