Skip to content

Coin ID calculator

Compute a coin ID from its parent coin info, puzzle hash, and amount. Uses Chia’s minimal two’s-complement amount encoding, which is the part most hand-rolled implementations get wrong.

Fill in:

The coin ID is sha256(parent ‖ puzzle_hash ‖ amount), where the amount uses Chia’s minimal two’s-complement encoding, not fixed 8-byte padding.