Combine/serialize xdr and signature
See original GitHub issueI have the below transaction
AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAEAAAAHdGVzdGluZwAAAAABAAAAAAAAAAkAAAAAAAAAAc0+E2MAAABA0nGC1i7CxTIJYNZKgo067Tr6JTCZTIU5Jwa2kpNMR7ayPohKVTaO53kojTn0c+NftXaogRZvz4/9etdOhDhlDQ==
and signature from ledger “s9B4TLRtoqrUgqBYh80ktdAKxoX5NHj5EkdN49ohWhU=”
how do I combine/serialize these two into a valid final tx, I tried converting the xdr string to TrasnactionEnvlope and add the signature but did not work
b64 = "AAAAANNSjN1wrdfixw+4w0zmKXvxxikg6EKMi9SW1DnNPhNjAAAAZAAAAAAAAAACAAAAAAAAAAEAAAAHdGVzdGluZwAAAAABAAAAAAAAAAkAAAAAAAAAAc0+E2MAAABA0nGC1i7CxTIJYNZKgo067Tr6JTCZTIU5Jwa2kpNMR7ayPohKVTaO53kojTn0c+NftXaogRZvz4/9etdOhDhlDQ=="
resp['signature'] = s9B4TLRtoqrUgqBYh80ktdAKxoX5NHj5EkdN49ohWhU
tx = Transaction.from_xdr_object(b64)
te = TransactionEnvelope(tx, signatures=resp['signature'])
What am I doing wrong here ? please advice
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
EDR, XDR and AIR — The Basics (and updated Microsoft ...
Traditional protection solutions like AV (Anti-Virus) are install-to-disk and signature-based (hash) detection solutions. The anti-virus signatures (but ...
Read more >EDR vs XDR - Palo Alto Networks
EDR provides detection and response for endpoints while XDR provides more robust capabilities and extends protection, detection and response beyond the ...
Read more >Leveraging the X in XDR: Correlating Across Multiple Sources ...
One good way to spot pseudo-XDR offerings is to ask the provider if the tool has the ability to ingest and analyze all...
Read more >Understanding MDR, EDR, EPP, and XDR - Netsurion
HomeInsights Articles Understanding MDR, EDR, EPP, and XDR ... or zero-day attacks, or even fileless attacks that don't leave signature-based footprints.
Read more >Extended detection and response (XDR) - A next-generation ...
XDR is a next-generation evolution of Endpoint Detection and Response (EDR). By correlating the telemetry data from EDR shared among.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you can check the doc here and the transaction .X file
it works except
from stellar_base.keypair import Keypair
https://www.stellar.org/laboratory/#xdr-viewer?input=AAAAALPQeEy0baKq1IKgWIfNJLXQCsaF%2BTR4%2BRJHTePaIVoVAAAAZAANe5gAAAABAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAj2C%2F4PiTCADuEXb4hrltqbcz0zBpzuwpsePt2Pfr0PMAAAAAAAAABKgXyAAAAAAAAAAAAdohWhUAAABAERM8OsnEpNoKDxGM%2BX%2BiYlif0ynwiBN5DUUtzxVnt7YHarZEfL4H%2BuwSYDbZEXMH4s57QNSqPRKiydwFbIWwCg%3D%3D&type=TransactionEnvelope&network=test