Skip to main content
3 votes

Confidential Transfer Solana Setup script failing

I think the token proof program for confidential transfers is not yet deployed to mainnet. It will come with Solana version 1.18.x. https://github.com/anza-xyz/agave/wiki/v1.18-Release-Schedule They ...
Jonas H.'s user avatar
  • 5,777
3 votes

Why can i not add metadata to my Token-2022?

I faced the same issue and I had to update both spl-token-cli and solana tools to their latest versions https://docs.solana.com/cli/install-solana-cli-tools
kevinrodriguez-io's user avatar
2 votes

Find all tokens created by a public key, whose token accounts are not even created

There's no command to give you all the mints that you own, but you have two options. Look at past transactions involving your wallet on an explorer, and find the transaction in which you created the ...
Jon C's user avatar
  • 15.8k
2 votes

`spl-token create-token` error when running

many apologies, this is a regression in 2.0.16. i think i was accidentally calling the wrong binary when i originally attempted to investigate im making a 2.0.17 that fixes this. in the mean time you ...
hana's user avatar
  • 351
2 votes

`spl-token create-token` error when running

The spl-token configuration is shared with the solana command-line tool. Try running solana config get to the path of the solana config file. Use spl-token -C <PATH> to set it. OPTIONS: -C, -...
felix's user avatar
  • 270
2 votes
Accepted

How to resolve "hidapi" problems when installing "spl-token-cli" on Ubuntu

Across the different answers that I found, this worked for me and a lot of people who encountered this: rustup component add rustfmt sudo apt-get update sudo apt install build-essential sudo apt-get ...
OCDev's user avatar
  • 752
2 votes

can't send sol on dev address

It's tough to tell exactly without more info, but it seems like dev.json is not a normal system account / wallet. The second error of "this account may not be used to pay transaction fees" ...
Jon C's user avatar
  • 15.8k
2 votes

Why are the validator functions in `solana_clap_v3_utils` deprecated? What is the intended flow for solana clap tools?

To add to the answer above, there is currently two ways to parse pubkeys from user input. The first way is to specify the argument with parser Arg::new("token") .long("token") ....
Sam Kim's user avatar
  • 21
1 vote
Accepted

What is TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb in process of creating spl token?

This is the Token extensions(or Token 22) program address, solscan address. You need to specify it, if you are working with a token that will need token extensions features, for example, adding ...
Jimii's user avatar
  • 3,460
1 vote

How to set max supply for a token using spl-token cli?

If you want to fix the supply of your token, you need to disable the mint authority: $ spl-token authorize <MINT> mint --disable More information at https://spl.solana.com/token#example-create-...
Jon C's user avatar
  • 15.8k
1 vote

SPL Token Metadata Initialization Error - Transaction Simulation Failed

Looks like you are trying to initialize token meta data with the old token program. Tokenkeg... is the old program. The Token Extensions program has the programID ...
Jonas H.'s user avatar
  • 5,777
1 vote
Accepted

Issue in Adding Token Metadata using SPL Token CLI

Since you're using the spl-token CLI, then the metadata that you're trying to create is specific to spl-token-2022. To create the metadata then, you first need to create a mint with spl-token-2022 ...
Jon C's user avatar
  • 15.8k
1 vote
Accepted

Token Creation Issue on DevNet

The error says: Create Account: account Address { address: ottKBxXuJjtQoLXD21AM5aVFTAHJvZMuZfuUyEdL37J, base: None } already in use", This means that you've already created an account on address ...
Jon C's user avatar
  • 15.8k
1 vote
Accepted

Correct usage of "spl-token transfer" with offline signing

This is a bug with the spl-token CLI. There's always a weird intersection in the features of "offline signing" and "nonce signing". It's often assumed that they're being used ...
Jon C's user avatar
  • 15.8k
1 vote

Why are the validator functions in `solana_clap_v3_utils` deprecated? What is the intended flow for solana clap tools?

One of the biggest changes between clap v2 and v3 is the deprecation of input validators. Clap v2 does redundant work by validating an input on start, and then validating it a second time when parsing ...
Jon C's user avatar
  • 15.8k
1 vote

spl-token-cli: how to fix this error

Whenever you send a token to another address you the other wallet needs to have a token account to save these tokens. These token accounts costs some sol in rent to be saved on the blockchain. Someone ...
Jonas H.'s user avatar
  • 5,777
1 vote
Accepted

Make token metadata immutable with SPL-TOKEN

Does your token have any meta data assigned to it already? If not it probably shows as mutable. If you create meta data for your token (Icon and name etc) you can set it to mutable = false afterwards. ...
Jonas H.'s user avatar
  • 5,777
1 vote
Accepted

spl-token 0.2.3 not working due "missing config", but it's not missing

Try running solana config get for more information about your config. It should give you the default keypair in the "Keypair Path": $ solana config get Config File: /home/you/.config/solana/...
Jon C's user avatar
  • 15.8k
1 vote

SPL TOKEN recognized as NFT instead of a regular token

Wallets will treat unknown tokens in all sorts of different ways, so one wallet calling it an NFT just means that it corresponds to a few of their criteria, so don't worry about that too much. You're ...
Jon C's user avatar
  • 15.8k
1 vote

spl-token CLI unexpected behaviour

after some discussion we decided --owner is working as intended, as it typically refers to the authority the main action is tied to or taken under. ive added a --recipient-owner flag to mint that ...
hana's user avatar
  • 351
1 vote

spl-token CLI unexpected behaviour

This is a bug, so there's this issue to track its resolution: https://github.com/solana-labs/solana-program-library/issues/3684 In the meantime, to get around this, you can avoid using the --owner ...
Jon C's user avatar
  • 15.8k
1 vote

spl-token-cli: "Attempt to debit an account but found no record of a prior credit" after `solana airdrop 1`

just for sake of posterity, this was fixed in master and should not be an issue in any existing release
hana's user avatar
  • 351
1 vote

spl-token-cli: "Attempt to debit an account but found no record of a prior credit" after `solana airdrop 1`

I think there's a bug in solana-program-library/master. git bisect points to cc2739fce19537ae454ee513da96698d79362c53. cargo install spl-token-cli installs spl-token-cli v2.0.17, which doesn't exhibit ...
Bert Muthalaly's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible