solana Questions
3
I am trying to create an NFT using web3.js and spl-token.js.
However, i need to add meta data (like the name of the token or other attributes), otherwise it just shows up as "Unknown Token&quo...
Expediential asked 24/10, 2021 at 23:25
2
Solved
I type the command :
npx ts-node candy-machine-v2-cli.ts upload -e devnet \
-k DEVw4sdjjwo3he1JgJbycZuWmZuC28YFMEY9uYpnP7cP.json -c cm2test \
-cp /users/macbook/git/cmv2/setup/cmsetup.json \
/u...
Cremator asked 10/1, 2022 at 15:1
3
Solved
How can you transfer SOL using the web3.js sdk for Solana?
Straightaway asked 28/6, 2021 at 16:30
6
Solved
I'm trying to validate that the input text I get from a user is a valid Solana address.
According to the web3.js documentation, the method .isOnCurve() does that:
https://solana-labs.github.io/sola...
Papke asked 21/2, 2022 at 3:37
3
I want to get a list of tokens I currently own, for a given wallet public key.
Currently I am using https://api.solscan.io/account/tokens?address="PUBLIC_KEY">&price=1 to get the t...
2
Solved
I'm minting Solana NFTs. Candy machine v2 was recently released and v1 is deprecated.
If I create a v2 candy machine and mint some NFTs, how can I later find the hashes from all the tokens that wer...
Gastronome asked 5/1, 2022 at 18:19
3
Solved
I followed this guide:
https://docs.solana.com/cli/install-solana-cli-tools#:\~:text=Windows-,Download%20the%20binaries%20by%20navigating%20to%20https%3A%2F%2Fgithub.com,archive%20using%20WinZip%20...
Schug asked 28/3, 2022 at 22:19
8
When I type this in the command prompt:
solana airdrop 2 -k ./Wallet/.config/solana/Seller.json
I get this error
Requesting airdrop of 2 SOL
Error: airdrop request failed. This can happen when the...
Doi asked 18/2, 2022 at 1:15
3
I am trying to get proper public address for Solana wallet using solana-web3.js at my react-native test project
import { Keypair} from '@solana/web3.js';
import * as bip39 from 'bip39';
import * as...
Sedentary asked 20/9, 2021 at 2:47
5
Solved
I'm attempting to use the private key I generated using the Solana command-line to create a wallet in JavaScript / Node.
I want to use the web3.Keypair.fromSeed() method.
Here are the steps I've ta...
Heathcote asked 24/10, 2021 at 23:39
2
Solved
With this code VS show a deprecated warning:
(method) Connection.confirmTransaction(strategy: string, commitment?:
Commitment): Promise<RpcResponseAndContext> (+1
overload) @deprecated — Ins...
Haematosis asked 21/5, 2022 at 14:12
4
Solved
I want to create an NFT using the Metaplex SDK with react. But when i execute this function, it throws following error:
AccountNotFoundError:
The account of type [MintAccount] was not found at the...
2
Solved
I am trying to use @metaplex/js to do some NFT minting. Usually my .js files work properly but when I run the file this error comes up.
bigint: Failed to load bindings, pure JS will be used (try np...
Lion asked 12/5, 2022 at 16:4
4
Solved
I'm using solana json rpc api to check a wallet's token balance from my javascript app. I have used the function for it like this
const getTokenBalance = async (walletAddress, tokenMintAddress) =&g...
Diplegia asked 24/10, 2021 at 19:39
2
I have a program on the Solana blockchain which works fine, however I now want to integrate a function for the program to receive SOL hold it in an account and then send it out to users as needed.
...
Harmless asked 21/11, 2021 at 14:55
3
I was hoping if anyone could point me in the right direction... I am trying to add the "wallet connect" extension (e.g. sollet / phantom) functionality to my website but I have no idea wh...
3
Solved
I need to use a Phantom Wallet through the Solana CLI, but I'm unable to configure it.
For example, to check balance using
solana balance --keypair fileexportedfromphantom
but can't read the info....
Toledo asked 19/9, 2021 at 18:22
2
Solved
I have just jumped in Solana on-chain program.
I am going to make coin game which judge frontside or backside.
I tried to use std:: rand and get_random crate but they don't work.
If you have experi...
Unfriendly asked 13/1, 2022 at 8:30
3
For some reason, my mocha test is unable to find my IDL. I am getting the error below:
name@Mabels-MacBook-Pro solana-anchor-reactjs-payment % anchor test
BPF SDK: /Users/name/.local/share/solana/i...
Haugen asked 10/1, 2022 at 20:33
2
Solved
I ran anchor test --skip-deploy and all it should do is initialize my program, but all I get is this error, that I cannot resolve. I checked the tsconfig.json settings they should be fine. This is ...
Berlyn asked 15/2, 2022 at 0:13
6
Solved
I ran:
curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
In my Windows command prompt and it...
Hankhanke asked 16/11, 2021 at 4:2
3
Am working with Solana Blockchain. Am trying to transfer Solana SOL via Phantom. To this effect I used the code below which was found on Stack Overflow: source link
I already have Phantom installed...
Danged asked 12/10, 2021 at 21:0
1
I'm trying to connect to Solana mainnet using websockets. I can't find out how to connect using web3.js. Maybe someone faced this issue and can help me ?
Thanks
Here's a simple line of code I made:...
Livonia asked 26/1, 2022 at 11:49
1
Solved
I am new to blockchain and I am using solana/anchor/cargo/rust to build a project. I am confused about these commands. What is the difference between cargo build, cargo build-bpf and cargo build-sb...
Axinomancy asked 29/10, 2022 at 14:29
2
Hello to fetch all the NFTs in a collection using the symbol of the collection. Is any API available that provides the data?
Flop asked 5/3, 2022 at 5:52
1 Next >
© 2022 - 2025 — McMap. All rights reserved.