xrpl-dev-portal
xrpl-dev-portal copied to clipboard
Update Payment Channels tutorial
The "Use Payment Channels" tutorial is a bit long and kind of vague. Updates to the tutorial would be useful:
- Make it interactive!
- Provide specific suggestions for channel details. For example, require a SettleDelay time of 90+ minutes and set up an hourly redeem job.
- Update code samples with JS, Python examples
Test Code Samples for signing/verifying claim.
I had a lot of trouble finding this at first as the first example on the tutorial is send seed to server and I didn't want to do that.
JS: https://github.com/XRPLF/xrpl.js/blob/53d01d8a6a967565f5b1041aabd81042ab9f36fc/packages/ripple-binary-codec/test/signing-data-encoding.test.js#L112
PY: https://github.com/XRPLF/xrpl-py/blob/ae6eac89d55a8db6b26a0189749b8c4b83d00d88/tests/unit/core/binarycodec/test_main.py#L393