Wallet Connection

Connecting Web3 Wallets

When using Passive mode you can enable user wallet connection via negotiatorConnectToWallet

To utilise this method create you can create your UI for the user to select a connection (similar to the active mode UI) or invoke directly with a specific wallet in the params.

Connection options:

  • 'WalletConnectV2'

  • 'MetaMask'

  • 'Torus'

  • 'Phantom'

  • 'Flow'

  • 'Ultra'

  • 'SafeConnect'

  • 'AlphaWallet'

  • 'Socios'

negotiator.negotiatorConnectToWallet('MetaMask').then(() => {
  // wallet connected
}, () => {
  console.log('please try again');
});

For support and any questions please reach out to us on discord or via sayhi@smarttokenlabs.com

Last updated