ckb-tx-illustration

To install dependencies:

bun install

To run:

cd examples
bun run dev

Quick Start

import { createTransactionIllustration } from "ckb-tx-illustration";

createTransactionIllustration({
  data: {
    txHash: "0x...",
    inputs: [{ capacity, lock, type, data }],
    outputs: [{ capacity, lock, type, data }],
  },
});