Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 84

A token is a coin on the Solana network

2 votes

Can the LP tokens be burnt of a 'frozen' token?

Frozen token accounts are completely unusable by the owner. More info at https://spl.solana.com/token#freezing-accounts …
Jon C's user avatar
  • 19.6k
1 vote

Remove Transfer-Hook from my token

You just need to disable the transfer hook program id on your token. You can do that by running: $ spl-token set-transfer-hook <TOKEN_MINT_ID> --disable …
Jon C's user avatar
  • 19.6k
3 votes

Don't understand what wrapped SOL is

The concept is similar to wrapped ETH on Ethereum, which turns ETH from a native token to an ERC-20. Essentially, SOL is the native token on Solana, so it's ingrained into the base protocol. … SPL-Token provides a way to send SOL into an account and pretend like the SOL is a normal SPL-Token, and this process is called "wrapping". …
Jon C's user avatar
  • 19.6k
1 vote

What is the First Mint Tx of SOL?

The first accounts holding SOL were defined at genesis, so it was never "minted" -- it was just in all of the accounts when the cluster was started. You can see them all at https://github.com/anza-xyz …
Jon C's user avatar
  • 19.6k
1 vote

How creating a swaper for my token

This is a question of opinion, since you're asking for the best way to create a market for your token. You can use any ecosystem project that allows you to create your own market, like Openbook Dex. … Keep in mind, however, that many projects actually use token-swap in production! …
Jon C's user avatar
  • 19.6k
2 votes

where and how to find info about airdropped tokens on phantom

You can view the token on Solscan by clicking in the top right corner when viewing the token in Phantom. From there, you can see how people are interacting with it. … Or you can do more research on the token from the Solscan page. …
Jon C's user avatar
  • 19.6k
0 votes

solana spl token revoke authority of accountowner

Your code sample is calling transfer with the token client and then trying to add it to a transaction, which is incorrect for two reasons: you want to revoke, not transfer the token client will create … , sign, and send the transaction for you already Instead, you can just do: def revoke_authority(token_client: Token, account_address: str, key_pair: Keypair): try: token_client.revoke(account …
Jon C's user avatar
  • 19.6k
0 votes

How to burn LP on Solana with CLI?

Here's a sample CLI command to do it: spl-token burn <TOKEN_ACCOUNT_ADDRESS> <TOKEN_AMOUNT> …
Jon C's user avatar
  • 19.6k
1 vote

creating a custom spl token 22

In your case, you need to specify some keypair to pay for the transaction to create the token. …
Jon C's user avatar
  • 19.6k
1 vote

Updated SPL Token Metadata Causes Token To Display Inconsistenly

There is no way to update the legacy token-list on GitHub, so it's up to the wallets / explorers to fix any inconsistencies that they have. That's a problem on their side. …
Jon C's user avatar
  • 19.6k
3 votes

How add a metadata for this old token?

To add metadata to a token mint, you must sign with the token's mint authority. … Unfortunately, this mint has no mint authority: $ spl-token display 9bnKvEK2ymzbrtKGeCSbDtn7Dr1afCQoTTH1y4fL5seK SPL Token Mint Address: 9bnKvEK2ymzbrtKGeCSbDtn7Dr1afCQoTTH1y4fL5seK Program: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA …
Jon C's user avatar
  • 19.6k
2 votes
Accepted

What's the use case for the CPI Guard Token Extension?

There are two ways to make this much safer: Wallets warn whenever a wallet signature is made available to an opaque (non-system, non-token) instruction. … Users should be educated to treat the request for a signature on such an instruction as highly suspect The token program prohibits CPI calls with the user authority, forcing opaque programs to directly …
Jon C's user avatar
  • 19.6k
2 votes
Accepted

What's the use case for the Interest Bearing Mint Token Extension?

If new tokens are minted from a Mint Account that has this extension enabled, would the UI calculation for accrued interest be based on the entire life of the mint account (instead of accruing starti …
Jon C's user avatar
  • 19.6k
2 votes

How to upload metadata of Token-2022 Program?

Another option is to use the token metadata extension that's available directly inside of the token-2022 mint. … spl-token initialize-metadata <MINT_ADDRESS> <NAME> <SYMBOL> <URI> And from there, you can update your metadata: $ spl-token update-metadata <MINT_ADDRESS> <KEY> <VALUE> …
Jon C's user avatar
  • 19.6k
0 votes

How can you check if a SPL token has been modified from the stock Token Program?

The token-2022 program allows for certain "extensions" to exist on token accounts and mints. … https://spl.solana.com/token and spl-token-2022 at https://spl.solana.com/token-2022 …
Jon C's user avatar
  • 19.6k

15 30 50 per page