Search Results
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 |
1
vote
Accepted
How to reduce cost when creating token-2022 when using CLI
Looks like creating the mint with the example you posted costs:
Transfer Amount (SOL) ◎0.00251952
for Allocated Data Size 234 byte(s)
And each token account
Transfer Amount (SOL) ◎0.00210888
Alloc …
2
votes
How to use recover-lamports in Token2022 cli?
You best shot is probably transfer all the tokens out and then close the token account. That should give you your sol back.
Here is a similar question:
How to close SPL token accounts to redeem SOL
1
vote
the trait bound `T: spl_discriminator::discriminator::SplDiscriminate` is not satisfied
You can find the dependencies of solana crates on crates.io.
For spl-tlv-account-resolution for examples the dependecy would be solana program 2.0.3.
1
vote
Wallets that support transfer hook
Looks like solscan shows your transfer hook:
Token22 Meta data is not support everywhere yet. Just write any wallet and explorer that does not have support yet that you need it and they should add it …
2
votes
Accepted
Minting Token2022 token error. Account not found
The Solution to this problem is that you first need to create a token account for your new token using the command:
spl-token create-account EBF22st7gRqvKtEYW2WomsHUsNrjtPcZvpDAnh6W7Ugu
Then afterward …
1
vote
Token2022 testing interest bearing token doesn't update balance and freeze when updateRate
The interest bearing token extension does not actually change the token amounts.
Instead it does change the token uiAmount. This is not supported my many wallets and explorers yet.
But you can try it …
2
votes
metadata extension interface - invalid account data for instruction on TlvStateMut::unpack
You can use the instructions from the spl crate:
You can init the meta data like this:
let init_token_meta_data_ix =
&spl_token_metadata_interface::instruction::initialize(
&spl_token …
0
votes
Token 2022 rust anchor ( Instruction 0: custom program error: 0x4 )
This sounds very much like you forgot to specify the token22 program in one of your function calls.
Its hard to see without the full code, but double check all parts that have tokenProgram is paramete …
0
votes
How to mint token after close mint in Token extension program
You can create a token like this:
spl-token create-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
spl-token mint yourmint 100
Then you can disable the mint like so:
spl-token authori …
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 …
4
votes
Token name and icon are not showing on explorers
The token extensions are pretty new and not yet supported everywhere. Feel free to nag all the wallets and explorers to support metadata and transfer hooks :D Im pretty sure many are working on adding …
3
votes
Accepted
What are Token Extensions in Solana?
Token extensions is the new name for Token22 basically.
Its backwards compatible but its a new program and enables a bunch of new functionality like transfer hooks, native meta data, confidential tran …
2
votes
How to use a Transferhook + Permanent Delegate together
Yes i think that should be possible. You can maybe change this white list example up a bit to make it work:
https://github.com/solana-developers/program-examples/blob/main/tokens/token-2022/transfer-h …