CNTRPRTY / xcpdev-genesis

Open Counterparty Bitcoin Data Explorer - DIY Node
https://xcp.dev
The Unlicense
4 stars 4 forks source link

Show dispenser address #15

Closed Jpja closed 7 months ago

Jpja commented 7 months ago

disp_addr_hex is shown for dispenser transactions. The human-readable address is not shown.

If xcp.dev uses my decoder library, it only takes one line: let disp_addr = hex_to_address(disp_addr_hex);

Example tx: https://jpja.github.io/Electrum-Counterparty/decode_tx.html?tx=0a2131dfd9f21c85485aea6574eb4826dc7b433a24021bb66532045bc291747c