JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q69749F
  • License Apache-2.0

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 wallet
  • img - logo image URL
  • order - display order
  • mobile_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 URL
  • name - 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