Questions tagged [solana-cli]

104 questions
1
vote
1 answer

solana command not found after ubuntu update 22.04 jammy

No matter how many times I try installing solana-cli and adding the path with PATH="/home/myUserName/.local/share/solana/install/active_release/bin:$PATH" export…
Bek
  • 173
  • 1
  • 14
1
vote
0 answers

Can't connect to Solana devnet/testnet

I've been trying to connect to solana devnet/testnet through cli and python solana SDK, but both without success, getting below error from CLI: "Error: RPC request error: cluster version query failed: error sending request for url…
Sai Ma
  • 11
  • 4
1
vote
1 answer

Account could not be parsed as token account: pubkey Solana

I have been able to create the tokens and the accounts associated to handle the tokens and I have more than enough solana to send the token. I am trying to send my token to my phantom chrome extension wallet and I get this error. Account could not…
Koops
  • 422
  • 3
  • 11
1
vote
1 answer

Restoring Solana wallet in CLI from mnemonic

I am looking to restore my Solana CLI wallet from the mnemonic. The ID.json file was overwritten so I only have the seed phrase. It doesnt provide the same address when imported into phantom or sollet. Is there a command to do this or how can I…
Solana Dev
  • 11
  • 2
1
vote
1 answer

Solana. Not matched transfer amount and target account balance change

I sent transaction transferring 3000 lamports, but target account balance was increased for 2954 lamports. Link to transaction:…
1
vote
1 answer

SOLANA: How to display my candy machine NFT's on metaplex's storefront?

I minted 30 tokens with candy machine's cli, following the metaplex's github boilerplate project Uploaded, verified, minted and signed all the NFT's. I can see them on my phantom wallet and it created a cache file on the main directory with the…
jalapina
  • 3,962
  • 3
  • 12
  • 19
1
vote
3 answers

Solana Anchor framework: Can't connect to localhost and therefor not deply to it

Anchor deploy Deploying workspace: http://localhost:8899 Upgrade authority: /home/tomcatzy/.config/solana/id.json Deploying program "basic-1"... Program path:…
1
vote
1 answer

Solana rent exempttion clarification

I want to understand Solana rent and it's relation to the CLI usage. I understand the basics, that you need 2 years worth of rent in order to be rent-exempt but I have several questions in order to reach a better understanding: I have wallet keypair…
1
vote
1 answer

How can fix anchor test error after installing rust?

I installed rust on Ubuntu and checked that version but there's rustc version error. myunixx@LAPTOP-JSMKVSS3:~$ rustup --version rustup 1.24.3 (ce5817a94 2021-05-31) info: This is the version for the rustup toolchain manager, not the rustc…
Shift_that
  • 183
  • 1
  • 5
1
vote
1 answer

Missing transaction history in solana-test-validator

I have successfully deploy the BPF and run the client on the Solana hello world example: https://github.com/solana-labs/example-helloworld. The greeted counter in the program also works as expected. Then, I tried to inspect the transactions using…
Piko Monde
  • 396
  • 1
  • 4
  • 18
1
vote
3 answers

How to create a new Solana SPL Token and account using solana-py

I am running into some issues when trying to create tokens using solana-py, I have seen the python functions for the SPL client but I don't really know how to use it. For instance, how could I replicate the following Solana CLI actions using…
Peter Schwarz
  • 231
  • 2
  • 10
1
vote
1 answer

Solana start solana-test-validator on Linux / Ubuntu blockstore error

When trying to start the solana-test-validator on my Ubuntu machine I received the following error: Error: failed to start validator: Failed to create ledger at test-ledger: blockstore error When taking a detailed look at the error logs I noticed…
finn
  • 653
  • 3
  • 15
1
vote
1 answer

solana cli paper wallets generating a different pubkey

When creating a paper wallet with the solana cli and then running the seed phrase back into the cli I get a completely different pubkey? What am I missing here? Not using a passphase in this example. ❯ solana-keygen new --no-outfile Generating a…
utx0_
  • 1,364
  • 14
  • 24
0
votes
0 answers

Want to get information about solana validators using solana/web3js

I want to get information about solana validator. information like name, sociallink and other. I tried using solana-cli solana validator-info get --output json it's give me excepetd result that i want but i want same result using solana/web3js I…
0
votes
1 answer

What is the proper CLI command to transfer Solana delegated tokens?

Account B delegated authority to Account A for n tokens. Now Account A wants to transfer tokens to Account C using delegated amount. CLI command is needed. I tried running the below command. the default account is Account A. spl-token transfer