Useful CDV examples: Difference between revisions

From mojo_puzzler
Jump to navigation Jump to search
(Created page with "===== Return to: Chialisp ===== * cdv rpc blocks -s x -e y - For looking at block outputs * cdv inspect spendbundles ./spendbundle.json -db * 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 clsp treehash trigger.clvm.hex - To verify puzzle you ha...")
 
No edit summary
 
(2 intermediate revisions 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]] - To get puzzle reveal and solution.

Latest revision as of 15:51, 27 December 2023

Return to: Chialisp