Skip to main content

Overview

Cardano uses the Ed25519 elliptic curve — the same as Solana. You derive a Cardano enterprise address by hashing the Solana wallet’s public key with Blake2b-224 and encoding with bech32. Transactions use CBOR encoding and are submitted via the Blockfrost API.

Dependencies

Derive Address

Decode the Solana base58 address to a 32-byte Ed25519 public key, hash with Blake2b-224, prepend the enterprise address header byte, and bech32-encode:
The header byte 0x60 indicates an enterprise address on preprod testnet. For mainnet, use 0x61 with the addr bech32 prefix.

Sign a Message

Sign the raw UTF-8 bytes of the message using the Solana wallet:

Verify a Signature

Verify the Ed25519 signature against the raw message bytes:

Check Balance

Query the ADA balance via the Blockfrost API:

Send a Transfer

Build a CBOR-encoded transaction, sign with the Solana wallet, and submit via Blockfrost.

CBOR Encoding Primitives

Full Transfer Implementation

Last modified on March 28, 2026