MyAlgoPlugin class

A web implementation of the MyAlgo Connect plugin.

Inheritance
  • Object
  • PlatformInterface
  • MyAlgoPlugin

Constructors

MyAlgoPlugin({required MyAlgo myAlgo})

Properties

hashCode int
The hash code for this object.
no setterinherited
myAlgo → MyAlgo
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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 an array of signed transaction objects, with the binary blob field base64 encoded to prevent transmission issues.
signTransactions({required List transactions}) Future<List<Map<String, dynamic>>>
Send transaction objects to MyAlgo for approval. If approved, the response is an array of signed transaction objects, with the binary blob field base64 encoded to prevent transmission issues.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith(Registrar registrar) → void