Given a DID, it's sometimes useful to be able to identify the corresponding Bitcoin transaction in which it was published.
The locate_transaction in trustchain-ion already does this, so we should add a CLI command for convenience.
For instance, the root DID in our current demo network is did:ion:test:EiBJ8o9Bh-6ToxK3hVyZEHIspTEAqnURQy-7NAVFrr9_bw, for which locate_transaction returns the block hash and transaction index:
Given a DID, it's sometimes useful to be able to identify the corresponding Bitcoin transaction in which it was published.
The
locate_transaction
intrustchain-ion
already does this, so we should add a CLI command for convenience.For instance, the root DID in our current demo network is
did:ion:test:EiBJ8o9Bh-6ToxK3hVyZEHIspTEAqnURQy-7NAVFrr9_bw
, for whichlocate_transaction
returns the block hash and transaction index:(Even more convenient would be the
txid
.)