coin_evm
library
Classes
AccessListEntry
EIP-2930 access list entry.
Addr
Authorization
EIP-7702 authorization tuple.
Authorizes a contract's code to execute on behalf of an EOA.
Bech32
BlobData
EIP-4844 blob data. 128 KiB chunks carried by type-3 transactions.
KZG commitment/proof must be supplied externally (via a KZG library or
precomputed values). computeVersionedHash derives the hash locally.
BundlerLink
ERC-4337 bundler JSON-RPC client.
CacheMiddleware
CallBuilder
Chain
ChainReader
ChainWriter
CodecGate
CollectibleToken
ERC-721 interface.
CryptoVault
CurveGate
Implementations may use pure Dart math or native FFI/WASM bindings.
DelegatedAccount
ERC-4337 smart contract account that builds and signs UserOperations.
Denomination
DeployedContract
DerivedKey
DerivedKeyMaterial
DerivedPublicKey
DerivedSecretKey
DigestGate
EcdsaSig
Ed25519Gate
Pluggable backend for Ed25519 curve operations (Monero, etc.).
All inputs/outputs are byte arrays so native backends avoid BigInt conversion.
Envelope
EnvelopeSigner
EvmAddr
EvmChain
EvmChains
ExTx
FundingPlan <T >
FungibleToken
ERC-20 interface.
ERC-4337 paymaster -- sponsors gas so users can transact without ETH.
HardwareKeyAgent
Hardware signing device (Ledger, Trezor, etc.).
The private key never leaves the device.
HdAccount
An account node m/purpose'/coinType'/account' bound to a ChainParams
and a DerivationScheme .
HdWallet
A hierarchical-deterministic wallet root.
InputSig
DER-encoded ECDSA sig + sighash byte.
InvokeBuilder
JsonRpcLink
KeyAgent
Signing interface: in-memory, hardware, or remote.
KeyForge
LedgerAgent
LegacyAddr
LegacyInput
LegacySigHasher
Legacy sighash (pre-segwit).
Locking
LoggingMiddleware
MessageSig
Middleware
MiddlewareChain
Mnemonic
MultichainNames
ENSIP-9 multi-coin address resolution.
MultiSig
M-of-N multisig: OP_M <keys...> OP_N OP_CHECKMULTISIG
MultiToken
ERC-1155 interface.
NameRecords
ENS text records and contenthash resolution.
NameResolver
ENS name resolution and reverse lookup.
Op
OpCode
Outpoint
P2pkhAddr
P2pkhInput
scriptSig = sig, pubkey
P2shAddr
P2shMultisigInput
P2wpkhAddr
P2wpkhInput
witness = sig, pubkey
P2wshAddr
ParsedAbi
PayToPubKeyHash
P2PKH: OP_DUP OP_HASH160 <20> OP_EQUALVERIFY OP_CHECKSIG
PayToScriptHash
P2SH: OP_HASH160 <20> OP_EQUAL
PayToTaproot
P2TR: OP_1 <32>
PayToWitness
Generic witness program (version 0-16).
PayToWitnessPubKey
P2WPKH: OP_0 <20>
PayToWitnessScript
P2WSH: OP_0 <32>
PersonalSign
EIP-191 personal message signing.
Prefixes with "\x19Ethereum Signed Message:\n<length>" before keccak256.
PublicKey
PushData
PushDataMatcher
Matches any push of a given size, for pattern matching against scripts.
RawInput
RawLocking
RecoverableEcdsaSig
RetryMiddleware
Rlp
Recursive Length Prefix encoding for EVM.
SchnorrInputSig
Schnorr sig: 64 bytes, or 65 with non-default sighash.
SchnorrSig
Script
ScriptOp
SecretKey
SecretKeyAgent
In-memory key agent backed by a SecretKey .
SegwitAddr
SigHasher
SigHashType
SimpleDelegatedAccount
Simple EOA-owned smart account reference implementation.
SolAddress
20 bytes, left-padded to 32.
SolArray
Fixed-size T[N] or dynamic T[].
SolBool
SolBytes
Dynamic bytes.
SolCodec
SolError
SolEvent
SolFixedBytes
Fixed-size bytes1 .. bytes32.
SolFunction
SolInt
SolParser
SolString
SolTuple
SolType
SolUint
TapBranch
TapLeaf
Taproot
TaprootAddr
Taproot address (bech32m, witness v1).
TaprootKeyInput
Key-path spend; witness = schnorr_sig.
TaprootScriptInput
Script-path spend; witness = ...stack, script, controlBlock.
TaprootSigHasher
BIP-341 taproot sighash.
TapTree
TokenAmount
ERC-20 paymaster -- lets users pay gas in tokens instead of ETH.
TrezorAgent
Tx
TxBody
Components of a transaction body (everything after the version word),
shared by Tx.fromReader and ExTx.fromReader .
TxInput
TxOutput
TypedPayload
EIP-712 typed structured data hashing and signing.
UnknownWitnessAddr
For witness versions 2-16 (future soft forks).
UserIntent
ERC-4337 UserOperation struct.
VaultKeeper
Call initialize once before using any crypto operations.
Defaults to pure Dart backends; register FFI backends with register
or registerAsync before calling initialize .
Verifying paymaster that checks a signature from a trusted off-chain signer.
WireMeasure
Counts serialized size without allocating.
WireReader
WireWriter
WitnessInput
WitnessSigHasher
BIP-143 witness v0 sighash.
Functions
base58Decode (String encoded )
→ Uint8List
base58Encode (Uint8List payload )
→ String
bytesEqual (Uint8List a , Uint8List b )
→ bool
checkInt32 (int i )
→ void
checkUint16 (int i )
→ void
checkUint32 (int i )
→ void
checkUint64 (BigInt i )
→ void
checkUint8 (int i )
→ void
compareBytes (Uint8List a , Uint8List b )
→ int
concatBytes (List <Uint8List > parts )
→ Uint8List
copyCheckBytes (Uint8List bytes , int length , [String name = 'bytes' ])
→ Uint8List
generateSecureBytes (int n )
→ Uint8List
hash160 (Uint8List data )
→ Uint8List
hexDecode (String hex )
→ Uint8List
Accepts optional "0x" prefix.
hexEncode (Uint8List bytes )
→ String
hmacSha256 (Uint8List key , Uint8List data )
→ Uint8List
hmacSha512 (Uint8List key , Uint8List data )
→ Uint8List
initCoin ()
→ Future <void >
keccak256 (Uint8List data )
→ Uint8List
ripemd160 (Uint8List data )
→ Uint8List
sha256 (Uint8List data )
→ Uint8List
sha256d (Uint8List data )
→ Uint8List
sha512 (Uint8List data )
→ Uint8List
taggedHash (String tag , Uint8List data )
→ Uint8List
wifDecode (String wif , Chain chain )
→ (Uint8List , bool )
wifEncode (Uint8List privKey , Chain chain , {bool compressed = true })
→ String