Useful CDV examples
Jump to navigation
Jump to search
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 - To get parent coinID and spent block height.
- 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 -nd
- cdv rpc blockspends --by id - To get puzzle reveal and solution.