SigningApi class
- Inheritance
-
- Object
- ISigningApi
- SigningApi
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
-
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/jam/quicksign/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/jam/quicksign/kip-0015.md for the Quicksign spec.
This accepts multiple key pairs because the signing wallet might contain multiple keys.
override
-
sign(
{required SignRequest request, 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