Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
Accepted
Anchor error while running test
Your program uses authority.key() as a seed for both pdas
However, when you derive the pdas, you use deployKeypair.publicKey for one and userKeypair.publicKey for the second one.
Try using userKeypair …
-1
votes
How can I access the 'Retry-After' HTTP response header while using @solana/web3.js to make ...
If you're currently using the public rpc and getting rate limited, try signing up for a free helius account and use a custom rpc endpoint.
https://www.helius.dev/
0
votes
Set Mint Authority as PDA
Here is an example of an Anchor program instruction that creates a token2022 mint account with the metadata extension enable. You can use it as a starting point and update it to use a PDA as the mint …
5
votes
Accepted
How do we call solana methods if program.rpc deprecated?
Try adding .rpc to the end of await program.methods to send the transaction
Example format below, (signers([]) can be excluded if there are not additional signers required):
// sends transaction
await …
4
votes
Accepted
How do I mint an SPL token with custom Metadata without using the Metaplex JS SDK?
You'll still end up needing to use metaplex since metaplex controls the Token Metadata Program. Specifically, you'll need to use createCreateMetadataAccountV3Instruction from @metaplex-foundation/mpl- …