CosmosChain class
Cosmos-SDK zones (and their Ethermint cousins) over the ERA wire.
Constructors
- CosmosChain([EraConnectConfig? config])
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
-
generateEthermintSignRequest(
EthermintSignRequestProps props) → SignRequest< CosmosSignatureResult> -
Build an
evm-sign-request(4101, the Ethermint shape) for Injective/Evmos/Dymension-style chains. Reply:evm-signature(4102). The digest on these chains is keccak-256 — seeverifyCosmosSignature. -
generateSignRequest(
CosmosSignRequestProps props) → SignRequest< CosmosSignatureResult> -
Build a
cosmos-sign-request(4101). Reply:cosmos-signature(4102). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseSignature(
Object input, [ExpectedReply? expect]) → CosmosSignatureResult -
Parse a
cosmos-signature/evm-signaturestandalone. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited