Useful CDV examples: Difference between revisions

From mojo_puzzler
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
* [[cdv inspect spendbundles ./spend_bundle.json -db|cdv inspect spendbundles ./spendbundle.json -db]]
* [[cdv inspect spendbundles ./spend_bundle.json -db|cdv inspect spendbundles ./spendbundle.json -db]]
* [[cdv inspect --id coins]] - For getting coinID
* [[cdv inspect --id coins]] - For getting coinID
* [[cdv rpc coinrecords --by id]] - For following up on parent coins block height to get puzzle reveal and solution.
* [[cdv rpc coinrecords --by id]] - To get parent coinID and spent block height.
* [[cdv clsp treehash trigger.clvm| cdv clsp treehash trigger.clvm.hex]] - To verify puzzle you have revealed is the one committed to in the coin.
* [[cdv clsp treehash trigger.clvm| cdv clsp treehash trigger.clvm.hex]] - To verify puzzle you have revealed is the one committed to in the coin.
* [[cdv rpc coinrecords --by puzhash]]
* [[cdv rpc coinrecords --by puzhash]] -nd
* [[cdv rpc blockspends --by id]]
* [[cdv rpc blockspends --by id]] - To get puzzle reveal and solution.

Latest revision as of 15:51, 27 December 2023

Return to: Chialisp