Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Verify XRPL Signature (XUMM)

node v10.24.1
version: 2.0.0
endpointsharetweet
const verifySignature = require('verify-xrpl-signature').verifySignature const someTx = '228000000024000000D568400000000000000C732102C71103C10E706EFCBACDBC1A1F505D0421369CD625A9953990393E14202DC15274463044022035B6ABAC593979FBB745E8DB71B2CCDC255220EFE03ECC9037F7E0DA6356F0A302201119ED7F26D4131A2E24607B60911ED7E01571FD82F433640562C755135D397981146C09EF73F2C503101303D9716D3209A90732ACBD' // { // "Flags": 2147483648, // "Sequence": 213, // "Fee": "12", // "SigningPubKey": "02C71103C10E706EFCBACDBC1A1F505D0421369CD625A9953990393E14202DC152", // "TxnSignature": "3044022035B6ABAC593979FBB745E8DB71B2CCDC255220EFE03ECC9037F7E0DA6356F0A302201119ED7F26D4131A2E24607B60911ED7E01571FD82F433640562C755135D3979", // "Account": "rwiEtsEY8YRxgHQgvWXsxyUBSZzTMqL2EX" // } console.log(verifySignature(someTx)) // In case of explicit MultiSign signer verification: // console.log(verifySignature(someTx, 'rwiETSee2wMz3SBnAG8hkMsCgvGy9LWbZ1'))
Loading…

no comments

    sign in to comment