MyAlgoConnect class
MyAlgo is an Algorand Wallet allowing you to freely interact with the Algorand blockchain.
MyAlgo provides the simplest and most secure way to send and receive Algos and tokens, organize and track all your Algorand wallets, manage your assets and much more.
MyAlgo Connect allows WebApp users to review and sign Algorand transactions using accounts secured within their MyAlgo Wallet. This enables Algorand applications to use MyAlgo Wallet to interact with the Algorand blockchain and users to access the applications in a private and secure manner.
The integration with MyAlgo Wallet allows users secure access to Algorand DApps. Users only need to share their public addresses with the WebApp and this in turn allows them to review and sign all types of transactions without exposing their private keys.
The main novelty of MyAlgo Connect lies in the fact that all the process is managed in the user’s browser without the need for any backend service nor downloads, extensions or browser plugins.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
connect(
) → Future< List< String> > - Requests access to the Wallet for the dApp, may be rejected or approved. Every access to the extension begins with a connect request, which if approved by the user, allows the dApp to follow-up with other requests.
-
signLogicSigTransaction(
{required String logic, required String address}) → Future< String> - Logic Signatures (or LogicSigs) authorize transactions associated with an Algorand Smart Contract. Logic signatures are added to transactions to authorize spends from a Contract Account or from a Delegated Account.
-
signTransaction(
dynamic transaction) → Future< Map< String, dynamic> > - Send transaction objects to MyAlgo for approval. If approved, the response is a signed transaction object, with the binary blob field base64 encoded to prevent transmission issues.
-
signTransactions(
List transactions) → Future< List< Map< >String, dynamic> > - Send transaction objects to MyAlgo for approval. If approved, the response is a signed transaction object, with the binary blob field base64 encoded to prevent transmission issues.