Questions tagged [sign]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
3 answers
69 views

signTransaction removes partialSigned signatures making it impossible to sign a partial signed transaction using wallet adaptor

Problem Create instruction in backend server and partial sign it with a private key Serialize the transaction and send it to the Frontend Frontend deserialize transaction, and signs with the wallet ...
benjamin hon's user avatar
2 votes
1 answer
52 views

Python - Sign encoded transaction and broadcast

I am using an API that builds a TX for me. I get the following fields: { "encoded_transaction": "...
José D.'s user avatar
  • 121
1 vote
1 answer
89 views

Solana sing failing - keypair-pubkey mismatch

I'm trying to create a swap transaction using the Jupiter API, and all seems to be done correctly until the part where I have to sign the transaction, it just fails and for me makes no sense since I'm ...
Jorge Brib's user avatar
1 vote
1 answer
258 views

Confirming transaction with Solana/Web3.js

I'm new to Solana development. I'm trying to create a simple token swap application in React js (not using ts). I have issue with confirming the transaction. The "@solana/wallet-adapter-react&...
Tim's user avatar
  • 21
0 votes
1 answer
58 views

sign and approve all transactions with connected ledger wallet

how can I make ledger approve/sign multiple transactions at once? I'm using Solana wallet adapter for the browser, and for ledger users, they have to approve each transaction even when invoking the ...
Fares_Hassen's user avatar
1 vote
1 answer
213 views

How to properly deserialize encoded transaction?

// Sign the transaction const feePayer = USER_KEYPAIR; const deserializedTx = Transaction.from(Buffer.from(swapTransaction, 'base64')); deserializedTx.partialSign(feePayer); const ...
omm's user avatar
  • 27
2 votes
1 answer
76 views

An Account signing off on all transactions

I need to create a program where only 1 wallet signs and pays all transactions. Example: #[derive(Accounts)] pub struct SignupUser<'info> { #[account(init, payer = authority, space = 8 + 40 +...
Vitor Ribeiro's user avatar
1 vote
2 answers
195 views

Is it possible to call an Ethereum solidity smart contract from a solana program?

I need to call an Ethereum solidity smart contract inside a Solana program. Is this possible? If not, is there any alternative to perform this?
cris.sol's user avatar
  • 272
2 votes
1 answer
478 views

WalletSignTransactionError: t.serialize is not a function

There is a transaction which needs to signed by both the sender and the receiver because the receiver is the feePayer in this case (Unstaking function). The transaction is built on the backend and ...
Brad Gyemi's user avatar
1 vote
2 answers
693 views

How to Sign a Transaction with Multiple Signers

I have a transaction that uses 2 signers(the user and the Keypair from the backend). It signs from the Backend and returns a serialized transaction for the user to sign. However, I am getting this ...
chinepun.sol's user avatar
2 votes
2 answers
572 views

Cross-program invocation with unauthorized signer or writable account when using PDA with seeds

I've been able to write a simple program to create some accounts using a generated keypair. But, when I've tried to modify things in an attempt to make the user the authority of the account and use a ...
Qhapaq Qowi's user avatar
3 votes
1 answer
193 views

What is the best way to handle multiple transactions having transaction size exceed 1232 bytes

How can I handle multiple transactions which have more than the limit of 1232 bytes. I can do this like Case 1: transactions= [] transactions.push(txn1) transactions.push(txn1) signed = ...
Aslam's user avatar
  • 423
2 votes
2 answers
446 views

Why does magic eden buy_now instruction #3 fail

We are trying to execute a magic eden buy now instruction, by sending it to the chain inside of a transaction. There are 3 instructions. For clarity we posted a picture of a fund flow from a working ...
Tomvkgames's user avatar
2 votes
1 answer
803 views

What is the best practice to sign and send multiple transaction at once in solana with one popup of phantom wallet?

What is the best practice to handle multiple transaction to sign and send at once with one popup of phantom wallet ?
Aslam's user avatar
  • 423
2 votes
1 answer
114 views

Sign PDA (owned by system program)

I have a program which consists of transferring funds to an account and works fine on the frontend, but that PDA is owned by the system program and when calling the function to transfer the funds, the ...
Sing's user avatar
  • 111
3 votes
1 answer
41 views

Transaction does not show amount

I am writing a program to transfer SOL owned by the system program to another system program PDA, in the tests everything works fine and also on the frontend UI but the problem is that, when the user ...
Sing's user avatar
  • 111