SuiAddrEncoder class

Encodes a Sui Ed25519 address (with secp256k1/secp256r1/multisig helpers).

Implemented types

Constructors

SuiAddrEncoder()

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

encodeKey(List<int> pubKey) → String
Encodes a public key or address bytes into a blockchain address.
override
encodeMultisigKey({required List<SuiPublicKeyAndWeight> pubKey, required int threshold}) → String
Encodes public keys + threshold to a Sui multisig address.
encodeSecp256k1Key(List<int> pubKey) → String
Encodes a secp256k1 public key to a Sui address.
encodeSecp256r1Key(List<int> pubKey) → String
Encodes a secp256r1 public key to a Sui address.
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