Add support for Checks (#853)

- See https://github.com/ripple/rippled/pull/2245

* Add support for depositAuth flag

* Upgrade ripple-binary-codec to 0.1.13
This commit is contained in:
Elliot Lee
2018-03-01 21:42:46 -08:00
committed by GitHub
parent df711ecb06
commit facc513a52
50 changed files with 1405 additions and 12 deletions

View File

@@ -38,6 +38,17 @@ module.exports = {
normal: require('./prepare-escrow-cancellation'),
memos: require('./prepare-escrow-cancellation-memos')
},
prepareCheckCreate: {
normal: require('./prepare-check-create'),
full: require('./prepare-check-create-full')
},
prepareCheckCash: {
amount: require('./prepare-check-cash-amount'),
deliverMin: require('./prepare-check-cash-delivermin')
},
prepareCheckCancel: {
normal: require('./prepare-check-cancel')
},
preparePaymentChannelCreate: {
normal: require('./prepare-payment-channel-create'),
full: require('./prepare-payment-channel-create-full')

View File

@@ -0,0 +1,3 @@
{
"checkID": "49647F0D748DC3FE26BDACBC57F251AADEFFF391403EC9BF87C97F67E9977FB0"
}

View File

@@ -0,0 +1,7 @@
{
"amount": {
"currency": "XRP",
"value": "1"
},
"checkID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334"
}

View File

@@ -0,0 +1,7 @@
{
"deliverMin": {
"currency": "XRP",
"value": "0.8"
},
"checkID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334"
}

View File

@@ -0,0 +1,10 @@
{
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
"sendMax": {
"currency": "XRP",
"value": "1"
},
"destinationTag": 2,
"expiration": "2018-09-24T21:21:50.000Z",
"invoiceID": "1F40FC92DA241694750979EE6CF582F2D5D7D28E18335DE05ABC54D0560E0F53"
}

View File

@@ -0,0 +1,7 @@
{
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
"sendMax": {
"currency": "XRP",
"value": "1"
}
}