Cardano4All

Open source · Built in public · By @kshot9000

Building for the Cardano blockchain — for everyone.

Cardano4All is my builder hub for Cardano: live analytics, DeFi front-ends, programmable-token research, smart-contract insurance, staking trackers and developer tools — every project open source, every claim on this page checked against the live site.

Flagship projects
5 live sites
Catalogued repos
16 Cardano / Midnight
Builder loop
Hourly, tested + verified

Projects

Start with the live flagships, then dig into the full catalogue. Filter by what you need:

Tools — right here, no wallet needed

Address inspector

Paste any Cardano address. Checks the bech32 checksum locally in your browser and tells you the address type and network. Nothing is sent anywhere.

ADA ⇄ lovelace converter

1 ADA = 1,000,000 lovelace. Exact integer maths (BigInt) — no floating-point rounding, works offline.

Epoch / slot calculator

Convert between Cardano mainnet slots and epochs, offline, from the fixed protocol parameters: Byron epochs held 21,600 slots of 20 seconds; since Shelley (epoch 208, slot 4,492,800) an epoch holds 432,000 slots of 1 second.

Staking rewards estimator

Model a stake at an annual rate you assume. A Cardano epoch is 5 days, so a year holds 73 epochs; the rate is split evenly across them and compounded each epoch in exact integer lovelace maths. A modelled estimate only — actual pool rewards vary with performance, saturation and fees, and are never promised.

Pool reward split calculator

How does one epoch's pool reward actually divide? By the ledger's own reward-sharing rule: the operator's fixed cost comes out first — if the rewards don't cover it, the operator takes them all and delegators get nothing that epoch — then the margin percentage of what remains goes to the operator, and the rest is shared by stake, the operator's own stake included, with each share floored to whole lovelace exactly as the ledger floors it. Enter a pool's figures to see the split for the operator and for one delegator. This divides a reward total you supply; it does not predict what a pool will earn, which depends on blocks minted, saturation and protocol parameters.

Transaction fee calculator

Cardano's minimum fee is a fixed protocol formula: 44 lovelace per byte of transaction size + 155,381 lovelace (mainnet parameters, checked against the live protocol parameters for epoch 660). Enter a transaction size — your wallet or cardano-cli reports it when building — and get the exact minimum in lovelace.

Size-based minimum only: transactions that run Plutus scripts also pay for execution units, and reference scripts add a per-byte charge, so real script transactions cost more than this floor.

Plutus execution cost calculator

The script part of a transaction's fee. When a transaction runs Plutus scripts, the ledger charges for their total execution units on top of the size fee: ⌈ memory × 0.0577 + steps × 0.0000721 ⌉ lovelace — one ceiling over the sum, exactly as the ledger defines it (mainnet prices, checked against the live protocol parameters for epoch 660). Enter the units your wallet, cardano-cli or an evaluator reports for a script — measuring a script to find its units is node work; this prices units you already have. A transaction's totals are capped at 16,500,000 memory units and 10,000,000,000 steps.

Reference script fee calculator

The reference-script part of a transaction's fee. Since the Conway era, a transaction that uses reference scripts pays for their total size in 25,600-byte tiers: the first tier costs 15 lovelace per byte (the current mainnet protocol parameter, checked against the live protocol parameters for epoch 660) and each following tier's per-byte price rises by a factor of 1.2 — the ledger's defence against oversized-script attacks, with the total floored once at the end. Every referenced script counts, duplicates included. Enter the total size of the reference scripts your transaction uses (your wallet or cardano-cli reports script sizes); the per-transaction limit is 204,800 bytes.

Total minimum fee calculator

All three parts of a transaction's minimum fee in one place — the ledger's minimum is their exact sum: the size fee (44 lovelace/byte + 155,381), the Plutus execution cost (⌈ memory × 0.0577 + steps × 0.0000721 ⌉) and the tiered reference script fee (15 lovelace/byte rising 1.2× per 25,600-byte tier), each computed by the proven calculators above with their own rounding exactly where the ledger puts it — the total itself is never rounded. Mainnet parameters, checked against the live protocol parameters for epoch 660. Leave the script fields at 0 for a plain transaction.

Ledger deposits calculator

Registering on chain takes a refundable deposit, charged once per registration at the current mainnet protocol parameters (checked against the live protocol parameters for epoch 660): a stake credential registration is 2 ADA, a new stake pool registration 500 ADA, a DRep registration 500 ADA and a governance action proposal 100,000 ADA. The total below is their exact sum — and deposits are not fees: they come back on deregistration, on pool retirement, or when a governance action is enacted or expires. Updating an existing pool charges no new pool deposit, and delegating on its own charges nothing.

Bitcoin DeFi collateral modeler — BTC collateral, ADA loan (modelled)

Thinking of using Bitcoin as collateral in Cardano DeFi? Model the numbers before any protocol sees a satoshi: enter your collateral in satoshis (1 BTC = 100,000,000 sats, counted exactly — never through a floating-point BTC amount), a BTC price in ADA you assume, the ADA loan, and the liquidation LTV your protocol would use. The tool works out the collateral value, the current LTV, the maximum loan and the BTC price at which the loan would reach liquidation, all in exact BigInt maths. Be clear about what this is: a model from a price you enter — this page fetches no live price, offers no loan, builds no transaction and signs nothing. And the numbers are only half the safety question: BTC reaches Cardano through very different trust models — custodial wrapped BTC, watcher bridges such as Rosen, ZK bridgeless designs such as BitcoinOS Grail / xBTC and Charms, and MuSig2 / BitVMX designs such as Cardinal — and a custodial or watcher-held asset is not trustless or native just because its loan maths look healthy. No protocol is endorsed here; check which model a protocol actually uses before trusting it with collateral — the hub's Bitcoin on Cardano trust-model guide works through all four models in plain words.

Bitcoin bridge cost estimator — what a BTC round trip to Cardano costs (estimated)

Before bridging Bitcoin to Cardano and back, add up what the round trip itself costs — from estimates you enter: this page fetches no live fee rate, no live price and no protocol's live fee schedule, and presents nothing as market data. Enter the amount in satoshis (counted exactly), the Bitcoin fee rate you expect in sat/vB, the Cardano-side fee in ADA, the protocol fee percentage the bridge you are considering charges, and a BTC price in ADA you assume (only used to express the Cardano fee in sats). The Bitcoin network fee assumes a 250 vB lock transaction and a 200 vB unlock transaction — typical single-UTXO sizes used as estimates; your wallet shows the real size before you sign. The model pays the network fees on top from your Bitcoin wallet and takes the protocol fee out of the amount; each network leg and the total percentage are rounded up, never down, so the estimate never understates the cost. And cost is only half the question: bridges use very different trust models — custodial wrapped BTC, watcher bridges such as Rosen, ZK bridgeless designs such as BitcoinOS Grail / xBTC and Charms, and MuSig2 / BitVMX designs such as Cardinal — a cheap bridge is not a safe bridge, and a custodial or watcher-held asset is not trustless or native whatever it costs. No protocol is endorsed here; read the hub's Bitcoin on Cardano trust-model guide before trusting any of them. This page operates no bridge, builds no transaction and signs nothing, and charges no fee.

Transaction ID calculator

A transaction's ID — the identifier every explorer shows — is blake2b-256 of the transaction body's CBOR bytes, and nothing else: the witness set, the is-valid flag and the auxiliary data are not part of it, so the ID is fixed before the transaction is signed. Paste the body's CBOR hex, or a whole transaction's CBOR hex (the array cardano-cli and wallets emit) and the body is taken out exactly as transmitted — never re-serialised. Computed locally; nothing is signed or sent.

Transaction inspector

Paste a transaction (or just its body) as CBOR hex — the form explorers, cardano-cli and wallets exchange — and read what it actually does before you trust it: every input it spends, every output with its address, lovelace, native assets (with CIP-14 fingerprints), datum and reference script, the declared fee, the validity interval, reward withdrawals, mints and burns, collateral, required signers and governance entries. Decoded locally against the Conway ledger format — body field numbering follows the ledger's own CDDL (the script data hash is key 11, collateral key 13, reference inputs key 18), and both output serialisations the ledger allows are understood. One honest limit: a body names its inputs by reference, so their amounts are not in the body and no balance or fee-sufficiency check is possible from the body alone — the fee shown is the fee the body declares. Nothing is signed or sent.

Value decoder

One transaction output's value on its own — the CBOR cardano-cli prints for an output amount and indexers store — decoded locally: the lovelace, and every native asset with its policy ID, asset name (as text when the name bytes are readable text), exact quantity and CIP-14 fingerprint. A value is a bare coin amount, or [coin, {policy: {name: quantity}}]; quantities in an output are always positive, and each asset appears exactly once. A mint's signed quantities and a whole output or transaction are different shapes — the transaction inspector above decodes those.

Transaction output decoder

One transaction output on its own — the CBOR a block, an indexer or cardano-cli carries for a single output — decoded locally: its address, lovelace and native assets (with CIP-14 fingerprints), its datum (hash or inline) and its reference script. Both serialisations the ledger allows are understood: the current Babbage map form {0: address, 1: value, 2: datum option, 3: script reference} and the older Alonzo array form. The address must be a Shelley payment address — a reward address is not an output address — quantities in an output are always positive, and no map key may repeat. A value alone is decoded by the value decoder above; a whole transaction by the transaction inspector.

Transaction outputs decoder

A transaction's outputs field on its own — body key 1, the whole array of outputs a transaction creates, rather than one output at a time. The field is a plain list, and that shapes what it may carry: entries are shown in the order encoded, numbered from 0 — an output's position is the index every later reference to it uses (txHash#index) — and the same output twice is two UTxOs, not a repeated key, because the field is not a set. Even the empty list decodes: the grammar ([* transaction_output]) admits it and no ledger rule requires outputs the way the inputs rule requires inputs — though value conservation leaves it no room in a real transaction. Every entry passes the output decoder's gates above (Shelley payment address, positive quantities, no repeated key inside an output), and one bad entry refuses the whole field. The outputs' lovelace is totalled exactly. Decoded locally; nothing is signed or sent.

Mint / burn decoder

One transaction's mint field on its own — body key 9, the map a transaction carries when it creates or destroys native assets — decoded locally: every asset with its policy ID, name (as text when the name bytes are readable text), signed quantity and CIP-14 fingerprint, labelled mint or burn. The ledger rule (Conway CDDL) is mint = {+ policy_id => {+ asset_name => nonzero_int64}}: at least one policy and one asset per policy, and every quantity a non-zero int64 — positive mints, negative burns, zero is not a legal entry. That sign rule is the opposite of an output value's, which is why this is its own decoder. Repeated policy or asset-name keys are rejected — a mint is a map. An output value is decoded by the value decoder above; a whole transaction by the transaction inspector.

Withdrawals decoder

One transaction's withdrawals field on its own — body key 5, the map a transaction carries when it takes staking rewards out of reward accounts — decoded locally: every reward account with its stake credential (key or script), network and exact amount in lovelace, plus the total. The ledger rule (Conway CDDL) is withdrawals = {+ reward_account => coin}: at least one entry, every key a Shelley reward address — a payment address is not a reward account — and every amount an unsigned coin amount. Unlike a mint field's quantities, a zero amount is a legal entry here: this field's rule is plain coin, not nonzero. Repeated accounts are rejected — a withdrawals field is a map. An output value is decoded by the value decoder above; a whole transaction by the transaction inspector.

Transaction inputs decoder

One transaction's inputs field on its own — body key 0, the set of UTxO references a transaction spends — decoded locally: every input in the familiar transaction-ID#index form, in the order encoded. The ledger rule (Conway CDDL) is transaction_input = [transaction_id, index] with a 32-byte transaction ID and an index that is a uint .size 2 (0–65,535), and the field is a set: serialised as a plain array or under CBOR set tag 258 — both forms decode here — with no reference repeated. A transaction must spend at least one output, so an empty set is rejected, and an index above 65,535 is rejected even though some libraries serialise one. The same reference shape is what the collateral and reference-inputs fields carry. A single output is decoded by the transaction output decoder above; a whole transaction by the transaction inspector.

Required signers decoder

One transaction's required signers field on its own — body key 14, the set of key hashes a transaction declares must sign it (native-script and Plutus witnesses are checked against this list) — decoded locally: every required signer's key hash, in the order encoded. The ledger rule (Conway CDDL) is required_signers = nonempty_set<addr_keyhash>: a non-empty set of 28-byte key hashes, serialised as a plain array or under CBOR set tag 258 — both forms decode here — with no hash repeated. The non-empty rule is in the grammar itself here (nonempty_set), unlike the inputs field above, whose empty rejection rests on the separate must-spend rule. A 32-byte transaction ID is not a key hash and is rejected. The inputs a transaction spends are decoded by the inputs decoder above; a whole transaction by the transaction inspector.

Reference inputs decoder

One transaction's reference inputs field on its own — body key 18, the UTxOs a transaction reads without spending (CIP-31: a script can see a referenced output's datum, and take a reference script from it, while the UTxO itself stays unspent) — decoded locally: every reference in the familiar transaction-ID#index form, in the order encoded. The entry shape is the inputs field's — transaction_input = [transaction_id, index], a 32-byte transaction ID and an index that is a uint .size 2 (0–65,535) — but the field rule differs in one word: the Conway CDDL makes this a nonempty_set, so an empty field is forbidden by the grammar itself, where the inputs field's empty rejection rests on the separate must-spend rule. Serialised as a plain array or under CBOR set tag 258 — both forms decode here — with no reference repeated (the same transaction at a different index is a different reference). The UTxOs a transaction spends are decoded by the inputs decoder above; a whole transaction by the transaction inspector.

Collateral inputs decoder

One transaction's collateral field on its own — body key 13, the UTxOs a script transaction puts at risk: if its Plutus scripts pass, the collateral is not spent; if a script fails, the ledger takes it as the fee — decoded locally: every entry in the familiar transaction-ID#index form, in the order encoded. The entry shape is the inputs field's — transaction_input = [transaction_id, index], a 32-byte transaction ID and an index that is a uint .size 2 (0–65,535) — and the Conway CDDL makes this field a nonempty_set, so an empty field is forbidden by the grammar itself. This field carries one more rule its siblings don't: at most 3 entries, the current max_collateral_inputs protocol parameter (checked against the live protocol parameters for epoch 660). Serialised as a plain array or under CBOR set tag 258 — both forms decode here — with no reference repeated (the same transaction at a different index is a different reference). The UTxOs a transaction spends are decoded by the inputs decoder above, the ones it only reads by the reference inputs decoder; a whole transaction by the transaction inspector.

Certificates decoder

One transaction's certificates field on its own — body key 4, the stake, pool, committee and DRep actions the transaction carries: registering or retiring a stake credential or pool, delegating stake or voting power, authorising a committee hot credential, registering a DRep — decoded locally, in the order encoded. The Conway CDDL makes the field a nonempty_oset (an ordered set, plain array or CBOR set tag 258), and all seventeen Conway certificate types decode (0–4 and 7–18; the old genesis and MIR types 5 and 6 don't exist in Conway and are rejected), each with its credential — a key hash or a script hash — its pool, its DRep (a key hash, a script hash, always abstain or always no confidence) and its deposit or refund where it carries one. A pool registration shows the full pool parameters: operator, VRF key hash, pledge, cost, margin, reward account, owners, every relay and the metadata pointer. The same certificate twice is rejected (it's a set — but the same credential in two different certificates is the normal register-and-delegate flow, and decodes). A whole transaction is decoded by the transaction inspector above.

Voting procedures decoder

One transaction's voting procedures field on its own — body key 19, the Conway governance votes the transaction carries: who voted on which governance actions, and how. The Conway CDDL makes the field a non-empty map from a voter to a non-empty map of that voter's procedures. A voter is a constitutional committee hot credential, a DRep (each a key hash or a script hash) or a stake pool (a key hash — a pool has no script form). Each entry names a governance action by its transaction ID and index, and gives the vote — no, yes or abstain — with an optional rationale anchor (a URL of at most 128 bytes and its data hash). The same voter twice, or the same action twice under one voter, is rejected — but the same action under different voters is exactly how governance works, and decodes. The map's encoded order is preserved (serialisers such as pycardano emit voters in canonical order). A whole transaction is decoded by the transaction inspector above.

Governance proposals decoder

One transaction's proposals field on its own — body key 20, the Conway governance actions the transaction proposes: an info action, a motion of no confidence, a hard fork initiation, a parameter change, treasury withdrawals, a committee update or a new constitution — decoded locally, in the order encoded. The Conway CDDL makes the field a nonempty_oset (an ordered set, plain array or CBOR set tag 258; the same proposal twice is rejected), and each proposal is its deposit, the reward account the deposit returns to, the action itself, and its anchor (a URL of at most 128 bytes and its data hash — required here, unlike a vote's optional rationale anchor). Actions name the previous governance action they build on, or none. A parameter change shows every named parameter with its new value — sized integers, rational rates and prices as exact fractions, cost models, execution-unit caps and all fifteen pool and DRep voting thresholds — and rejects the update keys that don't exist in Conway (12–15) outright. A whole transaction is decoded by the transaction inspector above.

Auxiliary data decoder

One transaction's auxiliary data on its own — the metadata and auxiliary scripts the transaction carries beside its body (the body only holds this block's blake2b-256 hash, at key 7, which is shown with the decode so the two can be matched). All three serialisations decode: a bare metadata map (labels are unsigned 64-bit integers; values nest freely — maps, lists, integers including the bignum forms, byte and text strings of at most 64 bytes each, the ledger's own caps), the Shelley-era array of metadata and native scripts, and the Alonzo-era map under CBOR tag 259 carrying metadata, native scripts and Plutus V1, V2 and V3 scripts, every key optional. Native scripts decode recursively — sig, all, any, atLeast, after and before — and every script is shown with its script hash, taken over its exact serialised bytes. A whole transaction is decoded by the transaction inspector above.

Token metadata viewer (CIP-25 / CIP-27)

The auxiliary data decoder above shows label 721 as raw CBOR; this tool interprets it. Paste transaction metadata — the bare metadata map, or a whole auxiliary data block in any of its three serialisations — and the CIP-25 token metadata is read out per policy and asset: name and image (both required by the CIP; strings split into chunks are rejoined), media type, description, the files list, and any further properties. Version 1 (policy IDs and asset names as text) and version 2 (both as raw bytes) both decode. Label 777 is read as CIP-27 royalties — the rate as an exact percentage, computed from the decimal string, and the address it is paid to. Structural violations refuse the input; a missing required property is flagged as a warning instead, because real mints omit them and the flag is the honest part. Read locally; nothing is signed or sent.

CIP-68 datum metadata viewer

Where the viewer above reads metadata out of a transaction, CIP-68 keeps it in a datum: a reference NFT (asset name label 100) sits in an output whose inline datum holds the metadata for the user token in your wallet — an NFT (222), a fungible token (333) or a rich fungible token (444) — so it can evolve and Plutus scripts can read it. Paste that datum: constructor 0 holding the metadata, a version and an extra field for the issuer's own script data. A property map is read out property by property (byte-string keys as text, chunked URIs rejoined, the files list expanded), the version-4 nested “721” map is unpacked per policy and asset, and a non-map metadata field is shown as the Plutus data it is. Add the asset name and its CIP-67 label is decoded and its CRC-8 checksum verified, with the matching reference NFT name computed. Structural violations refuse the input; a missing name or image is flagged as a warning instead. Read locally; nothing is signed or sent.

Transaction witness set decoder

One transaction's witness set on its own — the signatures and scripts that authorise the body, carried as the second element of every transaction. Every key is optional (a script-only transaction carries no key witness, and an empty set decodes): key witnesses (key and 64-byte signature, with the key hash the chain actually names), native scripts decoded recursively with their script hashes, Byron-era bootstrap witnesses, Plutus V1/V2/V3 scripts with size and script hash, Plutus data rendered with each datum's hash, and redeemers in both serialisations — the legacy array and the Conway map — with their data and exact execution units. Lists and sets must be non-empty, set-held scripts may not repeat, and redeemer indices and ex-units are held to the ledger's own ranges. Signatures are shown as carried, not verified — putting a witness set together with the body it authorises is the full transaction decoder's job below.

Redeemers decoder

A transaction's redeemers on their own — witness set key 5, the instructions a transaction gives its Plutus scripts: which script runs (spend, mint, cert, reward, voting or proposing), which input, policy, certificate, withdrawal, voter or proposal it addresses, the data it passes the script (shown rendered, with its datum hash) and the execution units it budgets. Both serialisations decode: the legacy array of [tag, index, data, ex-units] — a list, so the same redeemer twice reads as two entries — and the Conway map from [tag, index] to [data, ex-units], where a repeated key is refused. Tags are held to 0–5, indices to 32 bits and ex-units to int64, and the data must be a real Plutus datum. Whether an index points at a real input or policy needs the body too — the full transaction decoder below makes that check. Decoded locally; nothing is signed or sent.

Plutus data decoder

A transaction's Plutus data on its own — witness set key 4, the datums a transaction carries in its witness set for its scripts to consume. The field is a non-empty set (tag 258 or a plain array, indefinite-length arrays included), and every entry must be a real Plutus datum: a constructor, a map, a list, an integer (the bignum forms included) or a byte string of at most 64 bytes — a text string is not Plutus data and is refused. Each datum is shown rendered, with its datum hash: blake2b-256 over its exact bytes, the hash an output carries when it references a datum instead of inlining it. Entries are shown exactly as encoded, in encoded order. Which output or redeemer consumes a datum needs the rest of the transaction — the full transaction decoder below checks datum availability. Decoded locally; nothing is signed or sent.

Key witnesses decoder

A transaction's key witnesses on their own — witness set key 0, the ordinary Shelley key signatures that authorise its inputs. The field is a non-empty list (tag 258 or a plain array) of [vkey, signature] pairs: each verification key exactly 32 bytes, each signature exactly 64. Because the field is a list, not a set, the same witness twice decodes as two entries, exactly as encoded. Each witness is shown with its key hash — blake2b-224 of the key, the hash a body's required signer list (key 14) actually names — so a field can be matched against a body without decoding the whole witness set. Signatures are shown as carried, not cryptographically verified — checking one needs the transaction body it signs; the full transaction decoder below checks signer presence. Decoded locally; nothing is signed or sent.

Native scripts decoder

A transaction's native scripts on their own — witness set key 1, the multisig and timelock scripts that authorise script-address inputs and native-script minting policies. The field is a non-empty list (tag 258 or a plain array) of scripts, and scripts nest freely: a signature script naming one 28-byte key hash, all or any over child scripts, at least n of the children, and the two timelocks — shown as after a slot (the script is invalid before it) and before a slot (invalid from it on). Every script, nested or not, is shown with its script hash — blake2b-224 over the 0x00 language byte and its exact bytes — which for a minting script is its policy ID. Child lists may be empty and an at-least count may exceed the number of children: the grammar states neither bound. Because the field is a list, not a set, the same script twice decodes as two entries, exactly as encoded. Whether a script is actually satisfied — signatures present, current slot in range — needs the rest of the transaction; scripts are decoded here, not evaluated. Decoded locally; nothing is signed or sent.

Bootstrap witnesses decoder

A transaction's bootstrap witnesses on their own — witness set key 2, the witnesses that authorise spending from Byron-era addresses. The field is a non-empty list (tag 258 or a plain array) of [public key, signature, chain code, attributes] entries: each public key exactly 32 bytes, each signature exactly 64, while the chain code and attributes are byte strings of any length, including empty — the ledger grammar gives them no size, and Byron's HD derivation data rides in them. Because the field is a list, not a set, the same witness twice decodes as two entries, exactly as encoded. Each witness is shown with its key hash — blake2b-224 of the public key, the hash a body's required signer list (key 14) names. Signatures are shown as carried, not cryptographically verified — checking one needs the transaction body it signs; the full transaction decoder below checks signer presence. Decoded locally; nothing is signed or sent.

Plutus scripts decoder

A transaction's Plutus scripts on their own — witness set key 3 for Plutus V1, 6 for V2, 7 for V3 — the compiled programs a transaction carries for its scripts to run from; with this tool, every component of the witness set has a standalone decoder. Each field is a non-empty set (tag 258 or a plain array) of scripts, and a script is the flat-encoded program as a byte string — the grammar gives it no size, but an empty script is refused: no hash on this hub is ever the hash of nothing. Because the field is a set, the same script twice is refused — unlike the list fields around it. Select the language first: a field's bytes alone do not say which key they sat under, and the language byte (1, 2 or 3) enters the script hash — blake2b-224 over the language byte and the script's exact bytes, the hash a script address or policy ID names. Scripts are shown by size and hash, never executed. All three languages still ride in witness sets today: one current mainnet block (14044775) carried a V1 field with two scripts, a V2 field and a V3 field in thirteen transactions. Decoded locally; nothing is signed or sent.

Full transaction decoder

A whole transaction on its own — the array cardano-cli and wallets actually emit: [body, witness set, is-valid flag, auxiliary data] (the older three-element form without the flag decodes too). The body, the witness set and the auxiliary data each pass through the proven decoders above, and then the parts are checked against each other — the checks only a whole transaction makes possible: the auxiliary data's blake2b-256 hash against the hash the body commits to at key 7; every required signer the body names against the key hashes of the witnesses actually present; every output's datum hash against the Plutus data supplied in the witness set; and every redeemer's index against the number of inputs, mint policies, certificates, withdrawals, voters or proposals it could point at. If any part fails its own decoder's gates the whole transaction is refused, never partially described. Signatures are not cryptographically verified, and the script data hash is not recomputed here — the languages a transaction runs are not all visible inside it (reference scripts live in other outputs); the script data hash calculator below does that job from the witness parts. The checks are structural: the parts agree with each other, or they do not. Decoded locally; nothing is signed or sent.

Script data hash calculator

When a transaction runs Plutus scripts, its body commits to a script data hash at key 11 — blake2b-256 of the redeemers, the datums and the language views, each as serialised. Paste the redeemers from the witness set (key 5, either serialisation — they hash differently, which is why the bytes are hashed exactly as pasted) and the Plutus data (key 4) if the set carries any, and tick every Plutus language the transaction runs — including languages that arrive by reference script, which is exactly why the decoder above cannot do this on its own. The language views are built from the current mainnet cost models (epoch 660: V1 332, V2 332, V3 350 values). Two ledger asymmetries are built in, not bugs: absent datums contribute zero bytes, while absent redeemers contribute the empty map; and Plutus V1 enters under its preserved historical encoding — key and cost model both wrapped as byte strings, the model as an indefinite-length array. Both parts are validated by the witness set decoder's gates before anything is hashed. Calculated locally; nothing is signed or sent.

Minimum-UTxO calculator

Every transaction output must carry a minimum amount of ADA, set by the ledger itself: (160 + the output's serialised size in bytes) × 4,310 lovelace at the current mainnet protocol parameter (coins_per_utxo_size, checked against the live protocol parameters for epoch 660). Native assets, datums and reference scripts all make an output bigger, so they raise its minimum. Describe the output below — this builds its exact serialised bytes locally and applies the ledger formula, it does not estimate from counts. A plain output to a base address needs 978,370 lovelace (0.97837 ADA).

Pool ID converter

A stake pool ID is a 28-byte hash shown two ways: 56 hex characters, or bech32 starting pool1…. Convert between them locally — explorers, pool tooling and cardano-cli each prefer a different form.

Asset fingerprint (CIP-14)

Every Cardano native asset has a short user-facing ID — the asset1… fingerprint explorers and wallets show. It is the bech32 form of the blake2b-160 hash of the policy ID followed by the asset name (CIP-14), computed locally here. One-way by design: a fingerprint identifies an asset but cannot be turned back into its policy ID and name.

Asset unit decoder

Data APIs identify a native asset by its unit — one long hex string: the policy ID followed directly by the asset name in hex. Paste a unit (from Blockfrost, Koios or cardano-cli) to split it back into the policy ID and the asset name — shown as text when the name bytes are readable text — plus its CIP-14 fingerprint, locally. An asset1… fingerprint is a one-way hash, not a unit, so it cannot be decoded this way.

Datum & script hashes

The two hashes Cardano developers reach for daily, computed locally. A datum hash is the blake2b-256 of a datum's CBOR bytes — what a transaction stores when it keeps the datum off-chain. A script hash is the blake2b-224 of a one-byte language tag plus the script bytes; for a minting script, that hash is its policy ID. For Plutus scripts, paste the flat script bytes (the compiledCode from an Aiken blueprint), not the CBOR-wrapped form some tools display.

CBOR / Plutus Data decoder

The read side of the hash tool above. Datums, redeemers and script parameters all travel as CBOR (RFC 8949) — explorers show the hex, but not what it means. Paste one CBOR item as hex to read its structure locally: integers decode exactly (no floating-point rounding, however large), byte strings show as h'…', and Plutus constructors show as Constr — d8799f182a182bff, the sample datum from the hash tool, reads as Constr 0 [42, 43]. Indefinite-length items (the style Plutus Data uses) are supported; truncated input and trailing bytes are rejected. Structure only — this does not check a datum against any script's schema.

Plutus Data encoder

The write side of the decoder above. Datums and redeemers are built as Plutus Data and shown across Cardano tooling in a standard JSON form — {"int": 42}, {"bytes": "deadbeef"}, {"list": […]}, {"map": [{"k": …, "v": …}]}, {"constructor": 0, "fields": […]}. Paste one value in that form to get its exact CBOR and its datum hash, locally: integers are exact at any size, byte strings over 64 bytes are chunked the way Plutus requires, and constructors use the tag forms current tooling uses (121+, 1280+ and tag 102). For example {"constructor":0,"fields":[{"int":42},{"int":43}]} encodes to the sample datum the hash tool uses, d8799f182a182bff.

Key hashes & address builder

Addresses are built from key hashes — the blake2b-224 hash of a public verification key — not from the keys themselves. Paste a payment verification key (and optionally a stake verification key) to get its key hash and the addresses it controls: the base address a wallet normally shows, the enterprise address (payment key only — it cannot earn staking rewards), and the reward address where staking rewards land. Everything is computed locally; this works on public verification keys only — never paste a private or signing key into any website, including this one.

Address builder — from credential hashes

The tool above starts from verification keys. This one starts one step later, from the credential hashes themselves — a payment or stake credential can be a key hash or a script hash, and which kind each part is decides the address type (CIP-19 types 0–3, 6–7, 14–15). The common script workflow: hash a Plutus script with the datum & script hash tool, paste the script hash here as a script payment credential, and get the enterprise script address its funds lock to — no key can spend from it, only the script can. A minting script's hash doubles as its policy ID. Everything is computed locally, offline.

Address decoder (CIP-19)

The builder above in reverse. Every Shelley address starts with a one-byte header — the address type in the high half, the network in the low half — followed by 28-byte credential hashes. Paste any base, pointer, enterprise or reward address to see its type, network and the payment and stake credential hashes inside it, plus the enterprise and reward addresses derived from those same hashes. Computed locally; Byron addresses predate this layout and are not decoded.

Address hex ⇄ bech32 converter

The same address travels in two forms: bech32 (addr1…) for people and explorers, and raw hex for machines — CIP-30 wallets hand dApps addresses as hex, and APIs and cardano-cli accept that hex form. Convert between them locally; it is a pure re-encoding of the identical address bytes, so nothing is gained or lost. Only valid Shelley addresses convert — the header byte and length are checked on the way in.

Governance ID converter (CIP-129)

Conway governance IDs — DRep IDs (drep1…), Constitutional Committee credentials (cc_hot1… / cc_cold1…) and governance action IDs (gov_action1…) — circulate in two encodings. The current CIP-129 form prepends a header byte naming the kind and whether the credential is a key hash or a script hash; the older CIP-105 form encodes the bare hash, with separate *_script prefixes. Some tools accept only one form. Paste either form (or the hex payload) and get both, locally.

Native script — policy ID & script address (multisig / timelock)

Native scripts are Cardano's built-in multisig and timelock rules — no Plutus, no contract audit: a script says which key signatures count (all / any / atLeast of a list) and the slots it is valid between (after / before). Paste one in the cardano-cli JSON form and get its policy ID — the script hash a minting script's assets live under — its exact CBOR, and the script address the script locks. Computed locally, offline, byte-for-byte the way the ledger serialises it.

Guides

Support this work

Cardano4All is free and open source. If it helped you, tips in ADA keep the builder loop running:

Built by Kyle Cox — @kshot9000 on X · github.com/Kshot3000

For the Cardano team — @cardano-foundation and @IntersectMBO: this is an independent community builder hub. Feedback and corrections are welcome in the issues.