mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 09:05:50 +00:00
Add support for PaymentChannel transactions
This commit is contained in:
1
packages/ripple-binary-codec/test/fixtures/payment-channel-claim-binary.json
vendored
Normal file
1
packages/ripple-binary-codec/test/fixtures/payment-channel-claim-binary.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"12000F5016C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA61986140000000000F42406240000000000F4240712132D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A764630440220718D264EF05CAED7C781FF6DE298DCAC68D002562C9BF3A07C1E721B420C0DAB02203A5A4779EF4D2CCC7BC3EF886676D803A9981B928D3B8ACA483B80ECA3CD7B9B"
|
||||
8
packages/ripple-binary-codec/test/fixtures/payment-channel-claim-tx.json
vendored
Normal file
8
packages/ripple-binary-codec/test/fixtures/payment-channel-claim-tx.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"TransactionType": "PaymentChannelClaim",
|
||||
"Channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"Balance": "1000000",
|
||||
"Amount": "1000000",
|
||||
"Signature": "30440220718D264EF05CAED7C781FF6DE298DCAC68D002562C9BF3A07C1E721B420C0DAB02203A5A4779EF4D2CCC7BC3EF886676D803A9981B928D3B8ACA483B80ECA3CD7B9B",
|
||||
"PublicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A"
|
||||
}
|
||||
1
packages/ripple-binary-codec/test/fixtures/payment-channel-create-binary.json
vendored
Normal file
1
packages/ripple-binary-codec/test/fixtures/payment-channel-create-binary.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"12000D2300002DE32E00005BB820241FC78D66202700015180614000000000002710712132D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A81144B4E9C06F24296074F7BC48F92A97916C6DC5EA98314204288D2E47F8EF6C99BCC457966320D12409711"
|
||||
11
packages/ripple-binary-codec/test/fixtures/payment-channel-create-tx.json
vendored
Normal file
11
packages/ripple-binary-codec/test/fixtures/payment-channel-create-tx.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
|
||||
"TransactionType": "PaymentChannelCreate",
|
||||
"Amount": "10000",
|
||||
"Destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
|
||||
"SettleDelay": 86400,
|
||||
"PublicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A",
|
||||
"CancelAfter": 533171558,
|
||||
"DestinationTag": 23480,
|
||||
"SourceTag": 11747
|
||||
}
|
||||
1
packages/ripple-binary-codec/test/fixtures/payment-channel-fund-binary.json
vendored
Normal file
1
packages/ripple-binary-codec/test/fixtures/payment-channel-fund-binary.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"12000E2A206023E65016C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198614000000000030D4081144B4E9C06F24296074F7BC48F92A97916C6DC5EA9"
|
||||
7
packages/ripple-binary-codec/test/fixtures/payment-channel-fund-tx.json
vendored
Normal file
7
packages/ripple-binary-codec/test/fixtures/payment-channel-fund-tx.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
|
||||
"TransactionType": "PaymentChannelFund",
|
||||
"Channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"Amount": "200000",
|
||||
"Expiration": 543171558
|
||||
}
|
||||
Reference in New Issue
Block a user