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 |
0
votes
1
answer
669
views
Swapping on Raydium
I am using the Raydium script to swap transactions, and I'm currently testing on the mainnet. I tried to swap a small amount of 0.001 SOL, but each time I do this, I receive a transaction hash. Howeve …
3
votes
2
answers
228
views
HashMap in Solana Rust Contract
My HashMap is not functioning properly on Solana when using a Rust program. Is there an alternative approach to achieving a similar functionality to a HashMap? Essentially, I want to retrieve data ass …
0
votes
0
answers
122
views
custom program error: 0x64:
I'm facing an issue while breeding the NFTs. The first test case for initializing the parent and the second test case for computing the child run successfully. This means that the child generation is …
0
votes
1
answer
243
views
I want to create an escrow program in Rust on Solana [closed]
I need help to create ESCROW in Rust
2
votes
1
answer
124
views
change the mintAuthority
I encountered an error while attempting to change the mint authority. Currently, the mint authority is the same as my token address. I intend to change it to null or according to the wallet address. H …
2
votes
1
answer
140
views
Send SOL from PDA account to PubKey in anchor
I want to send SOL from PDA to Pubkey. I have saved some addresses in a Vec and now I want to send SOL on these accounts from the PDA account which holds the SOL. How can I send SOL on to these accoun …
1
vote
1
answer
611
views
Error - 3012 : The program expected this account to be already initialized
Updated:
I am encountering an issue while breeding the NFT. The NFT address and generation have been successfully created, but during the minting process, I encountered an error - Error: 0xbc4.
I am u …
1
vote
1
answer
5k
views
can't create Pool on Raydium
I'm facing issues creating a pool on Raydium. I make a market ID and then want to create a pool with my token paired with USDC(myToken/USDC), it shows an error that the freeze authority can't be enabl …
1
vote
1
answer
247
views
How to mint tokens into two accounts?
Is there a way for a user to mint SPL tokens into two accounts, such that the total supply is 1000, and during the minting process, 500 tokens are minted into one account and 500 into another?
I'm att …
1
vote
2
answers
1k
views
SPL Token lock/unlock
I need help with locking and unlocking SPL tokens. Does Solana or Metaplex provide any functionality for this, or do we need to work on a Rust program to achieve this?
1
vote
1
answer
566
views
Creating DEX on Solana
Can I use any package to create the DEX on Solana, or do I have to deploy the Rust contract and then use those contracts for my own DEX?
0
votes
1
answer
48
views
uploading metadata using React
Facing an issue while uploading the metadata from React.
const metaplex = Metaplex.make(connection)
.use(walletAdapterIdentity(wallet.adapter))
.use(
bundlrStorage({
address: " …
1
vote
1
answer
242
views
SPL Token 2022 Transfer Fee
Is there a way to retrieve the token extension fee for SolToken2022?
When we pass the Mint address, it returns the transfer fee.
Edit:
const fee = await getTransferFeeConfig(mint
);
console.log(" …
0
votes
1
answer
142
views
SPL Token 2022 minting
I am facing an issue while minting the SPLToken2022 using a React app.
the problem arises when minting the transaction. The process works fine when passing the keypairs directly, but encounters an iss …
1
vote
0
answers
9
views
Gotting Error on spl token latest version [duplicate]
Previously, I was using SPL Token version 0.3.8 to mint tokens from the frontend. However, when I attempt to install the latest version(0.3.11), it returns an error.
ReferenceError: Buffer is not defi …