To install dependencies:
bun install
To run:
cd examples
bun run dev
import { createTransactionIllustration } from "ckb-tx-illustration";
createTransactionIllustration({
data: {
txHash: "0x...",
inputs: [{ capacity, lock, type, data }],
outputs: [{ capacity, lock, type, data }],
},
});