1

I using old Transactions, and use partialSign. First sign on client then sign on servier. Now want to migrate to v0 transactions. Is exists way to partialSign VersionedTransaction ?

2 Answers 2

0

I found methods addSignature (its new methods, did not present before). First I sign transaction and then use addSignature for add signatures, that I received from client.

0

These are all viable ways to sign a Versioned Transaction:

    let tx = new VersionedTransaction(message);
    tx.sign([wallet.payer]);
    tx.addSignature(wallet.publicKey, signature);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.