Files
xrpl-dev-portal/content/tutorial-escrow.md
2017-07-27 15:24:49 -07:00

1.2 KiB

Escrow Tutorials

The XRP Ledger supports held payments that can be executed only after a certain time has passed or a cryptographic condition has been fulfilled. You can use these simple features to build publicly-provable smart contracts. This article explains basic tasks relating to held payments.

  • Send a time-held payment
  • Send a conditionally-held payment
  • Look up held payments where you are the destination
  • Look up held payments where you are the sender/owner

Availability of Held Payments

Held payments have been enabled by the "Escrow" Amendment to the Ripple Consensus Protocol since 2017-03-31. A previous version of the same functionality was available on the Ripple Test Net by the name "Suspended Payments" (SusPay) in 2016.

When testing in stand-alone mode, you can force the Escrow feature to be enabled locally regardless of the amendment status. Add the following stanza to your rippled.cfg:

[features]
Escrow

You can check the status of the Escrow amendment using the feature command.

TODO

{% include 'snippets/tx-type-links.md' %}