Skip to main content

Connect

Connect your dapp to Algorand users's wallets. User should grant access and choose the wallets that wish to share with your dapp.

Preconditions

  • The user must have MyAlgo Wallet Account previously created in MyAlgo Wallet to be able to connect to the dapp.

  • User should have a wallet previously created in MyAlgo Wallet in order to be able to share it.

Interactive Example

Params
shouldSelectOneAccount
openManager
import MyAlgoConnect from '@randlabs/myalgo-connect';

const myAlgoConnect = new MyAlgoConnect({ disableLedgerNano: false });

const settings = {
    shouldSelectOneAccount: false,
    openManager: false
};

const accounts = await myAlgoConnect.connect(settings);