elucidsoft / dotnet-stellar-sdk

Stellar API SDK for .NET 6.x
Apache License 2.0
116 stars 55 forks source link

Add 'AddSignature' function #333

Closed mootz12 closed 2 years ago

mootz12 commented 2 years ago

Types of changes

Change

There is a new function to help Sign a transaction. This function, Sign(string publicKey, string signature) is modeled after the following JS version: https://github.com/stellar/js-stellar-base/blob/master/src/transaction_base.js#L129

This function is extremely useful for Stellar Turrets, since they return a Base64 encoded signature and public key, and expect users to be able to apply those signatures to a given XDR.

Kirbyrawr commented 2 years ago

Looks good to me!

elucidsoft commented 2 years ago

LGTM, thank you!