All Questions
7 questions with no upvoted or accepted answers
3
votes
0
answers
139
views
Is it possible to use conditional seed for PDA creation?
So, the two endpoints I am using are almost identical, the only difference being the seed used in the creation of PDA for each of the accounts.
I will start with the abstract of my program:
First of ...
1
vote
0
answers
219
views
Account:try_from with different Anchor versions
I have a program which is on 0.28.0, and it uses an 0.26.0 dep. It builds without issue. Let's say the deps look like:
[dependencies]
anchor-lang = "0.28.0"
solana-program = "=1.16.23&...
1
vote
0
answers
242
views
Issue while executing anchor deploy
I am trying to deploy my solana smart contract and is receiving the error :account already in use or not an upgradeable program.
I tried the possible solution given in google like
npm run clean
npm ...
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 ...
0
votes
1
answer
92
views
why "Transaction references a signature that is unnecessary" warning, and value of 'isSigner' is false in IDL?
I was playing with counter program in program-example repo.
When run test, I got warning: Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts ...
0
votes
0
answers
14
views
Error when trying to update an account on Solana built with anchor
Here's the error I am getting:
Link to transaction: https://explorer.solana.com/tx/5LSyn7NfjK4me56nU8fiYVb9RGXCe7AJ7MBFYKBfcvxh35sLN9krkYU7fFLTJWWW6iz3aTpu3K4kXdhwAb8kydEq?cluster=devnet
Here's the ...
0
votes
1
answer
45
views
Is it possible to set up an account to point to another account?
I'm making an anchor program where I would like to make a user ID easily retrievable with their Pk, sequential ID or username. one way I thought is to make a PK link account (in case the seed for the ...