xrpl-py
xrpl-py copied to clipboard
Implement PREIMAGE-SHA-256 crypto-conditions
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.
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
@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