Package Exports
- w3m-custom-qr
- w3m-custom-qr/react
- w3m-custom-qr/vue
Readme
W3M Custom QR
mobileBase
mobileBase({
name,
img,
order,
mobile_link
})Generates a wallet object for a mobile wallet.
name- name of the walletimg- logo image URLorder- display ordermobile_link- deep link to open wallet on mobile- Returns wallet object for use in wallet selector
desktopBase
desktopBase({
img,
name
})Generates a desktop wallet object.
img- logo image URLname- wallet name- Returns desktop wallet object
setInjected
setInjected(bool)Set to false if you don't want to show Metamask injected connector
setWalletConnect
setWalletConnect(bool)Set to false if you don't want to show WalletConnect button
walletBase
walletBase(bases)Sets additional wallets to the modal window
bases- array of wallet objects with mobileBase and/or desktopBase