Connect
Connect your dapp to Algorand users's wallets. User should grant access and choose the wallets that wish to share with your dapp.
#
PreconditionsUser must have MyAlgo Wallet Account previously set in MyAlgo Wallet to be able to connect to the dapp. Otherwise user will be alerted in MyAlgo Connect popup.
User should have a wallet previously added in MyAlgo Wallet in order to be able to share it. Otherwise user will be aleted in MyAlgo Connect popup.
#
Interactive ExampleParams
import MyAlgoConnect from '@randlabs/myalgo-connect';
const myAlgoConnect = new MyAlgoConnect({ disableLedgerNano: false });
const settings = {
shouldSelectOneAccount: false,
openManager: false
};
const accounts = await myAlgoConnect.connect(settings);