SigningApi class

Inheritance

Constructors

SigningApi()

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

constructPactCommandPayload({required SignRequest request, required String signingPubKey}) PactCommandPayload
Takes the SignRequest object, and constructs a Pact Command Payload with it
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseQuicksignRequest({required Map<String, dynamic> request}) QuicksignRequest
Attempts to parse the JSON map "request" into a SigningRequest object. Throws errors on failure. See https://github.com/kadena-io/KIPs/blob/master/kip-0015.md for the Quicksign spec.
override
parseSignRequest({required Map<String, dynamic> request}) SignRequest
Attempts to parse the JSON map "request" into a SigningRequest object. Throws errors on failure.
override
quicksign({required QuicksignRequest request, required List<KadenaSignKeyPair> keyPairs}) QuicksignResult
Takes the QuicksignRequest object and signs each cmd in the request. See https://github.com/kadena-io/KIPs/blob/master/kip-0015.md for the Quicksign spec. This accepts multiple key pairs because the signing wallet might contain multiple keys.
override
quicksignSingleCommand({required List<KadenaSignKeyPair> keyPairs, required CommandSigData commandSigData}) QuicksignResponse
Takes a commandSigData and signs it with the keyPair. See https://github.com/kadena-io/KIPs/blob/master/kip-0015.md for the CommandSigData spec, and how you are meant to sign it, and respond to errors while signing.
override
sign({required PactCommandPayload payload, required KadenaSignKeyPair keyPair}) SignResult
Takes the SigningRequest object, constructs a Pact Payload with it and signs it with the keyPair.
override
toString() String
A string representation of this object.
inherited

Operators

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