All Questions
Tagged with solana-cli solana-program-library
18 questions
1
vote
0
answers
42
views
Solana USDC Transfer: "Cannot Read Properties of Undefined (Reading 'from')" Error in @solana/spl-token
I'm trying to transfer USDC on Solana using @solana/spl-token in a React app with @solana/wallet-adapter-react, but I'm getting this error:
Uncaught TypeError: Cannot read properties of undefined (...
0
votes
0
answers
5k
views
Error: "Could not find token account XXXXXXXXXXXXXXXXXXXX" after using spl-token create-account
After following these steps, I receive the error "Error: "Could not find token account ___" when trying to mint or transfer tokens to a recipient.
Creating keypairs:
solana-keygen new ...
0
votes
1
answer
170
views
Having issues with solana cli token distribution, recieving error PickleDbError(Error { msg: EOF while parsing a value })
enter image description hereHi im recieving the error above in the title while running solana-tokens distribute-tokens on devnet. im following the instructions correctly. Below im adding an image of ...
0
votes
0
answers
196
views
Error Deploying Solana Nodes on OVH Machines: QUIC Connection Timed Out
I've been deploying 2 solana nodes (1 RPC and 1 Validator) on OVH machines, but I've encountered the following error:
2024-05-14T11:06:39.244108182Z WARN solana_perf] CUDA is disabled [2024-05-...
0
votes
0
answers
831
views
Get new tokens on Solana (realtime)
I want to obtain the token addresses of new tokens released on Solana that are compatible for swapping on Raydium.
I've explored various API providers, but unfortunately, none of them offer this ...
0
votes
0
answers
564
views
Is it possible to send SPL-Tokens to multiple addresses in 1 or multiple transaction with spltoken cli in Solana
I've tried to do it using a .csv but couldn't get it to work, I've only used cli commands. I'm a beginner in coding (been doing it for roughly 2 months now). So if the only way is through code, please ...
1
vote
1
answer
848
views
SendTransactionError: failed to send transaction: Node is unhealthy
I'm trying to send a transaction with a memo program inside it.
The problem appears on solana cli and web3 too.
This is the command:
solana transfer --from ./.cache/solana.json RECIVER_PUBLIC_KEY 0....
0
votes
1
answer
516
views
Testnet validator is not coming up the with leader schedule
Hello I have started the Testnet validator, and it's not validating at all, I have changed the Validator identity and Vote account identityy it's still showing the same info. There is no issue with ...
0
votes
1
answer
633
views
having issues with deploying smart contract on solana
Anytime I try to deploy a contract on Solana I am always getting these issues.
Deploying workspace: https://api.devnet.solana.com
Upgrade authority: /Users/*****/.config/solana/id.json
Deploying ...
1
vote
0
answers
2k
views
SOLANA Rent and Rent Exemption | Which accounts they are taking rent from
Hi I'm new to SOLANA Blockchain , While gazing through the charges inside Solana, I found there is a fee associated with transaction like , minting tokens , transferring them , creating token accounts ...
2
votes
0
answers
458
views
How to find the Pubkey of the user who made a transaction using Solana web3.js websocket
I have tried the following WS methods to get live updates for certain Solana account:
connection.onLogs()
connection.onAccountChange()
But none of them displays the Publickey of the wallet that is ...
1
vote
1
answer
3k
views
Use another Fee Payer for SOLANA spl-token Transfer
I was actually developing a token in SOLANA Blockchain and stuck in a place. The problem is.
I need to transfer a custom token ( Eg: MyCustomToken ) I created ( Not SOL ) from one wallet to another ...
0
votes
1
answer
452
views
Solana build crashing on the compilation of solana-validator package
super new to Solana. Trying to get the cloned repo build on my local machine. But the build stops while compiling solana-validator package and the terminal closes itself (crashes if you will) without ...
0
votes
2
answers
989
views
How can I return an array of integers from Solana rust program function to front end?
I don't know how can I write a smart contract in Solana that after executing the logic, returns an array of integers, strings, ... to the client, and how can I fetch it using Web3?
5
votes
1
answer
5k
views
How to transfer (using Program instructions) custom SPL token from my own account to another user's wallet?
This is my situation:
I have created a wallet
solana-keygen new
I have created my own custom SPL Token
spl-token create-token
Then I created an Account for this SPL Token
spl-token create-account
...