xrpl-py icon indicating copy to clipboard operation
xrpl-py copied to clipboard

Implement PREIMAGE-SHA-256 crypto-conditions

Open mDuo13 opened this issue 3 years ago • 2 comments

Conditional escrows use the PREIMAGE-SHA-256 crypto-condition format to define the binary format for conditions and fulfillments. It would be great to have quick access to native code that can secure create a fulfillment and derive the condition for use in EscrowCreate and EscrowFinish transactions.

mDuo13 avatar Mar 23 '21 23:03 mDuo13

These snippets for Escrows & generating crypto conditions will probably be relevant: https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/escrow/py

JST5000 avatar Jan 05 '23 22:01 JST5000

@mDuo13 Would it make sense to include this sample on the Escrow page on xrpl.org in order to show people how to do that using external libraries instead of adding another import to xrpl.js & such? - https://github.com/XRPLF/xrpl-dev-portal/blob/master/content/_code-samples/escrow/py/generate_condition.py

JST5000 avatar May 10 '23 16:05 JST5000