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
Get signatures for address including SPL transfers
You may need to look for the token accounts of these wallets. On Solana tokens are stored in token accounts.
A token account is usually derived from the wallet address, the associated token program an …
1
vote
Accepted
How to create associated token account for a new mint?
Looks like you are missing the token program id.
The guide is showing how to interact with the token extensions program. So if you want to find the associated token account you also need to pass in th …
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 TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXE …
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 …
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 m …
1
vote
How to handle both SPLs and native SOL token in my contract?
You need to wrap sol in the client and then you can use it like a normal SPL token.
Afterwards you can unwrap it again.
https://solana.com/de/developers/cookbook/tokens/manage-wrapped-sol
2
votes
Token Rewards Calculation and Distribution
If you have the data on chain you can for example use a tool like clockwork.xyz to trigger the token distribution automatically every two weeks using a cron notation trigger.
They also have a token di …
1
vote
Following the Token Extension Program, How do I add a burn function to my token
You can also use the CLI to burn the tokens:
spl-token create-token
-> Copy MintAddress
spl-token create-account MintAddress
-> Copy tokenAccount
spl-token mint MintAddress 1000
spl-token burn token …
2
votes
Accepted
Does one have to generate a special token address for USDT, USDC... when one generates a new...
Hey yes for every token except native sol that you want to send you need to create a token account if it does not yet exists. Best is to use an associated token account which can be derived from the m …
3
votes
Accepted
how to transfer spl token with transfer-hook extension
best follow this guide:
https://solana.com/developers/guides/token-extensions/transfer-hook
Here is a simple hello world example.
https://github.com/solana-developers/program-examples/tree/main/tokens …
3
votes
Accepted
Spl Tokens deployed with Token 2022 program giving error during ATA creation with Solana/Web...
When getting the token account of a token22 token you need to add the token22 program id to the call:
export async function createAssociatedTokenAccount(
connection: Connection,
payer: Signer, …