All Questions
5 questions
4
votes
2
answers
2k
views
Is there a way to estimate the transaction size?
Currently to get the size of a transaction I have to do the following
const tx = new Transaction().add(...)
const { blockhash } = await connection.getLatestBlockhash();
tx.recentBlockhash = blockhash;
...
4
votes
3
answers
575
views
"Signature verification failed" error while creating an account
I am trying to create an account but I get an error while creating it.
const provider = anchor.AnchorProvider.env();
anchor.setProvider(provider);
const newAccountKeypair = anchor.web3.Keypair....
2
votes
2
answers
2k
views
Transaction Error: Signature Verification Failed: Missing Signature For PublicKey
I'm building a transaction on devnet that previously worked when I tested my program. I don't think it's the program itself, but how I am passing down the signatures which is slightly different from ...
2
votes
1
answer
131
views
Who has the right to modify an account and who signs transactions?
I understand that in Solana, an account has an holder, which is the private key to the public key representing the account. An account also has anowner which is the program that is allowed to modify ...
0
votes
0
answers
41
views
Can I use anchor address constraint with dynamic value from state
Here is the example of how address constraint is implemented, but the address is CONSTANT
https://beta.solpg.io/66b37272cffcf4b13384d2aa
I want to be able to change the authority who signs the ...