Skip to main content

Overview

Cardano uses the Ed25519 elliptic curve — the same as Solana. Enterprise addresses are derived by taking the Blake2b-224 (28-byte) hash of the Ed25519 public key, prepending a network/type header byte, and bech32-encoding with the addr_test (testnet) or addr (mainnet) prefix.

Dependencies

Add to pubspec.yaml:

Derive Address

Cardano enterprise addresses use Blake2b-224 of the public key with a network prefix byte:

Sign a Message

Cardano message signing uses Blake2b-256 of the raw message bytes:

Sign a Transaction

Cardano transactions are CBOR-serialized. The signing payload is the Blake2b-256 hash of the serialized transaction body:
For the full CBOR encoding helpers with proper length-prefixed byte encoding, see flutter-multichain-demo/lib/chains/cardano.dart.

Check Balance

Last modified on March 28, 2026