Create Signer class to allow for offline signing, multisigning and signing authorizeChannel requests.
This commit is contained in:
Jackson Mills
2021-09-08 11:53:35 -07:00
committed by Mayukha Vadari
parent 04dd65af38
commit c401f703c7
9 changed files with 524 additions and 20 deletions

View File

@@ -42,9 +42,11 @@ describe('BaseTransaction', function () {
],
Signers: [
{
Account: 'r....',
TxnSignature: 'DEADBEEF',
SigningPubKey: 'hex-string',
Signer: {
Account: 'r....',
TxnSignature: 'DEADBEEF',
SigningPubKey: 'hex-string',
},
},
],
SourceTag: 31,
@@ -197,7 +199,9 @@ describe('BaseTransaction', function () {
TransactionType: 'Payment',
Signers: [
{
Account: 'r....',
Signer: {
Account: 'r....',
},
},
],
} as any