Unanswered Questions
2,075 questions with no upvoted or accepted answers
7
votes
0
answers
98
views
Are curve25519 syscalls sufficient to perform an ed25519 signature verification?
There is a syscall to verify an secp256k1 signature, but there isn't one for ed25519.
There is a native program for both.
Recently some curve25519 syscalls have been enabled on mainnet-beta, i believe ...
4
votes
1
answer
28
views
Blockhash not found when using solana CLI
Im trying to deploy a program and close buffer accounts.
I am using a payed quicknode RPC for that, some problem happens with the public endpoint quite often. After a few tries it usually works.
Does ...
4
votes
2
answers
1k
views
How to listen and decode all buy raydium swaps
As the title suggests the goal is to listen to all Raydium swaps that happen live, preferably via websockets and be able to decode meaningful info. I have a code snippet that to my understanding does ...
4
votes
0
answers
81
views
Anchor / Solana: where to specify commitment level?
I am learning the basics of creating dApps using Solana/Anchor by following these series of articles. It is now outdated, but nonetheless, it's a great way to start.
So, straight to the question ...
4
votes
1
answer
506
views
how to create market id in devnet with js
I was learning solana evm on devnet and I started to code a token with @solana/spl-token library and then I tried to add a liquidity to radiyum and then it asked for openbook market id , I want to ...
4
votes
0
answers
349
views
anchor build: error: toolchain 'solana' is not installed
I use this command of anchor, but there is some wrong with it:
levi@LEVI-104-PC:/opt/solana/youtube-tutorial/mint-nft$ anchor build
error: toolchain 'solana' is not installed
My specifications:
...
4
votes
0
answers
205
views
Anchor idl upgrade triggers: require_gte expression was violated
i had to recompile anchor to print the error (is there away to stream idl write logs during anchor idl upgrade|install?)
> ../anchor/target/debug/anchor idl upgrade ...
4
votes
2
answers
164
views
Metaplex JS SDK returning null when jsonLoaded is True
I'm having an issue while trying to get an NFT's JSON data. Regardless of mint address, I keep getting null.
(Using @metaplex-foundation/[email protected] on a free QuickNode RPC).
I'm trying the following:
...
4
votes
1
answer
1k
views
Versioned Transaction can't sign or serialize
I'm trying to sign a VersionedTransaction using Solana Wallet Adapter and getting
TypeError: Blob.encode[data] requires (length 40) Uint8Array as src
My code:
const tx = new ...
4
votes
1
answer
62
views
Reveal URL on mint Solana Anchor Lang
I want to hide the minting URL and reveal it later once a user has minted NFTs.
let path = "http://abc.com";
let new_uri = format!("http://abc.com/1.json");
invoke(
...
4
votes
1
answer
133
views
Is there a way to destructure a freezeDelegatedNft?
I am looking for a way to destructure a freezeDelegatedNft so I can combine it with another transaction.
This is what I have currently:
await metaplex.tokens().approveDelegateAuthority({
mintAddress:...
4
votes
1
answer
527
views
Does `jsonParsed` always work for `getTokenAccountsByOwner`?
The docs for the getTokenAccountsByOwner RPC method say:
If "jsonParsed" is requested but a parser cannot be found, the field falls back to "base64" encoding.
However since we're ...
3
votes
0
answers
46
views
How to visually understand canopy depth in a Concurrent Merkle Tree
I've been trying for a while how to visually understand the canopy in a Concurrent Merkle Tree but I cannot fully understand it.
According to the docs, the canopy depth is the amount of upper nodes ...
3
votes
0
answers
68
views
How to implement a wallet button using web3.js v2
I have been using sveltekit + @solana/wallet-adapter-base, @solana/wallet-adapter-phantom to build my solana frontend dapp, this is not good because they depends on web3.js v1 which depends on bs58 ...
3
votes
1
answer
34
views
What if the rent exemption price goes up?
Given that
new Solana accounts must be credited - at creation time - with enough SOL to be "rent-exempt",
the balance of an account isn't allowed to go below its corresponding minimum "...