Questions tagged [solana-cli]

104 questions
0
votes
1 answer

Getting error on running test validator for solana

On running command solana-test-validator on windows system, getting an error [2022-01-06T06:54:41.602352800Z INFO solana_test_validator] solana-validator 1.9.0 (src:7782d34b; feat:378846963) [2022-01-06T06:54:41.602479300Z INFO …
0
votes
1 answer

When trying to mint tokens using spl-token mint, and trying to mint 1,000,000,000,000 tokens, it only mints 18446744073.709551615 tokens

Create Token: ~$ spl-token create-token Creating token 4PgB5jPM9a5Js5FT6zPJHD8rcDogcnbSSLS1d5Mny9n1 Signature: bmHzFBvFU2vq7AeLHuQuYsgDEPZRXV9mSDfK7RjPU7CwkyQoPEZLzrsCDaAJWB32bffmKsemjEshhrataAr2tQ8 Check Supply: ~$ spl-token supply…
hasherfer
  • 25
  • 2
  • 8
0
votes
1 answer

How to mint limited edition tokens in Solana

I just what to know the anatomy of how the limited edition non-fungible tokens work on Solana. Say, I have created a 3D Sword and I would like to mint 100 only out of 3D Sword file. I am a little confused about how it works Solona SPL Token.…
nagabandaru
  • 605
  • 7
  • 20
0
votes
1 answer

Issues running "yarn build" while creating Solana NFTs

I've been having issues running "yarn build" for a few days now. I tried the suggestions I could find online without much luck. This is for an NFT project on Solana so hoping another dev on here may have ran into and has the fix. Things I've…
0
votes
1 answer

TypeError: this is undefined in rect js while passing BigNumber in solana RPC Request

i am getting this is undefined at BN while making RPC request to a function in solana smart contract ''' let token1Amount = BN(token1_amount); let token2Amount = BN(token2_amount) const add_liquidity = await router_program.rpc.addLiquidity( …
0
votes
2 answers

I cant check the solana version in VS Code

Im trying something out with the Solana CLI and I cant seem to get VS Code to recognise the solana command as valid on my system it just throws this error whenever I try to check the version: file, or operable program. Check the spelling of the…
user16496922
0
votes
2 answers

Call Solana web3.js from HTML

I am trying to run web3.js from HTML. Now so far I have been able to call window.solana.connect(); and window.solana.disconnect(); functions. However when I try run below code it doesn't work. I have tested it various options, like removing "web3."…
isash
  • 61
  • 1
  • 10
-1
votes
0 answers

When I run $ solana-test-validator I get initializing and nothing happens

Im trying to install solana CLI and Run $ solana-test-validator as per the DOCS. I am getting this: ` ` $ solana-test-validator logrotate is not supported on this platform [2023-08-11T11:31:05.995833600Z INFO solana_test_validator]…
Aadesh
  • 1
-1
votes
1 answer

Candy Machine Mints Happening Automatically During Sugar Upload

I haven't seen this before: I was just doing an NFT upload using the Sugar CLI. Everything went fine but at the end of the upload I saw this: [2/2] Verification Verifying 2000 config line(s): (Ctrl+C to abort) [00:00:35] Config line verification…
bschmitty
  • 1,118
  • 3
  • 16
  • 46
-1
votes
1 answer

Setting up multiple whitelist using Candy Machine v2

I am working to deploy my first minting site and wondering how I can go about setting up multiple whitelists. For example, I want to have 3 different whitelist each with a different price, where the first set of minters are on WL1 and can mint from…
bschmitty
  • 1,118
  • 3
  • 16
  • 46
-1
votes
1 answer

Solana Token Creation

I am trying to create a token in Solana using the command: spl-token create-token --url devnet But all I am getting is the following error. error: unrecognized signer source I am also using a Windows 10 Professional instead of MacBook.
Vimal Kurien Sam
  • 246
  • 4
  • 10
-1
votes
1 answer

solana logs failing with: Error: unable to connect to server yet solana-test-validator is running

I am trying to run the solana logs command to see the logs. But upon running this, it fails and doesn't connect to the localhost server. see below output: As you will see from the screenshot above, I already have the solana-test-validator…
Johhn
  • 979
  • 17
  • 24
-2
votes
1 answer

getttting temporary value dropped while borrow in solana smart contract

pub fn burn_liquidity(ctx: Context, _to: Pubkey) -> ProgramResult { let pool_account = &ctx.accounts.pool_account; let token1_account = &ctx.accounts.pool_token1_account; let token2_account =…
mohan A
  • 65
  • 2
  • 10
-3
votes
1 answer

How Do I Create Free or Low-Cost Custom Solana Token Airdrops?

I followed this excellent tutorial (at 0.5x speed) to create my own custom Solana token. I can send it to my wallet via command line. Now I want to do either free or low-cost airdrops. Is there a way to do this without having to spend a lot of my…
1 2 3 4 5 6
7