SPB Git

Repository Public

README.md 2.1 KB

# security/vectors/tron — transactions of the public TRON chain

Third-party material. chain-transactions.json.gz holds public blockchain data, not SP Boucher code: it carries no SP Boucher header. The transactions were signed by their senders and published on the TRON main network and on the Nile test network; a block of a public chain is factual data and has no licence of its own.

File Source Revision Licence
chain-transactions.json.gz POST /wallet/getblockbynum {"num": N} on https://api.trongrid.io (main network, blocks 65000000, 70000000, 70000001) and https://nile.trongrid.io (Nile, blocks 50000001, 50000003), read on 2026-12-05 the block ids recorded in the file (blockID of each block) public blockchain data

Content: for each block, its number, its block id and, for each of its transactions, txID, raw_data_hex, the signature list, the contract type name, the owner address (hexadecimal) and the permission id, exactly as the node printed them (visible false). 1 103 transactions: 1 099 of the main network, 4 of Nile. Nothing else of the node's answer is kept (no raw_data JSON, no ret).

The file is JSON with sorted keys and compact separators, gzip-compressed with a zero timestamp (reproducible bytes). MANIFEST.json pins the SHA-256 of the raw JSON and of the stored file. The blocks are irreversible: asking any full node for the same block numbers gives the same transactions (the block id is the check).

Used by security/tests/Tests/ConformanceAuditTests/TronVectors.swift: the transaction id the chain gives must be SHA-256 of raw_data_hex; the strict decoder must return those very bytes when it accepts a transaction; a refusal must be one of the documented policy refusals (field 12 scripts); each 65-byte signature must recover to an address.

The genesis block ids used by the same test were read the same day from api.trongrid.io, tron-rpc.publicnode.com (main network), nile.trongrid.io, api.nileex.io (Nile) and api.shasta.trongrid.io (Shasta); they are written in the test, next to the chain ids of TIP-474.

Files main
Menu

Theme