BeaconPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BeaconPlatform
Implementers

Constructors

BeaconPlatform()

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

addPeer({required String id, required String name, required String publicKey, required String relayServer, required String version}) Future<Map>
Pair wallet with dApp using P2PPeer data
broadcastResponse({required String id, required String? transactionHash}) Future<Map>
send broadcast response id beacon request id transactionHash transactionHash using signedTransaction
getBeaconResponse() Stream<String>
listen to beacon response
getPeers() Future<Map>
get list of daPPs connected
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operationResponse({required String id, required String? transactionHash}) Future<Map>
send operation response id beacon request id transactionHash transactionHash from the operation
pair({required String pairingRequest}) Future<Map>
Pair wallet with dApp using pairingRequest
pause() Future<Map>
pause connection with dApp support iOS only
permissionResponse({required String id, required String? publicKey, required String? address}) Future<Map>
send permission response id beacon request id publicKey public key of crypto account address wallet address key of crypto account
removePeer({required String publicKey}) Future<Map>
remove connection with single dApp using publicKey
removePeers() Future<Map>
remove all peers
respondExample() Future<void>
example responses to test
resume() Future<Map>
resume connection with dApp support iOS only
signPayloadResponse({required String id, required String? signature, SigningType type = SigningType.micheline}) Future<Map>
send sign payload response id beacon request id signature signature using payload type signing type of payload
startBeacon({required String walletName}) Future<Map>
Initialize beacon with walletName
stop() Future<Map>
stop connection with dApp support iOS only
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance BeaconPlatform
The default instance of BeaconPlatform to use.
getter/setter pair