All Questions
Tagged with transfer-checked spl-token
7 questions
3
votes
1
answer
52
views
How to received typed getTransaction response with jsonParsed encoding?
Context:
I am using @solana/web3.js 2.0 to invoke the getTransaction RPC method with encoding: "jsonParsed". The transaction is expected to have SPL Token instructions (create, ...
1
vote
1
answer
67
views
Transfer Fees/Tax per Transfer of Token
How can we collect the transfer fee/tax per token transfer on Solana? Is it possible to automate this process, or do we need to collect it manually?
Manually means here , to run js code for searching ...
1
vote
1
answer
114
views
Does token-2022 allow selling tax instead of a basic transfer fee?
I'm new to Solana, I just wanted to figure out if the Token22 transfer fee extension can segregate buy tax and sell tax because in Ethereum I guess we could alter the ERC-20 contract by taking the LP ...
2
votes
1
answer
199
views
how to transfer spl token with transfer-hook extension
I used the Solana Playground wallet to deploy a program and obtained the program ID. The ID is 6baxXgMr7HypeTBhN64rbrt31UwbSeRtsQQxGw1KBi5b. Then, I used the following script to create an SPL token.
//...
2
votes
2
answers
442
views
How do I send a token with the transfer-hook extension using the spl-token command line interface?
I am trying to test the transfer-hook extension by creating and minting a token using the example transfer-hook program. I have successfully deployed the program, created the token with the transfer-...
1
vote
1
answer
279
views
Token-2022: Can an Instruction to Execute a Transfer Hook be added to a Program with other Instructions?
I'm looking into using the transfer hook from token-2022 to run some logic whenever my custom spl-token is transferred. I came this Github link and while it helps, I have a lot of questions. Like for ...
19
votes
2
answers
3k
views
What is the difference between Transfer and TransferChecked instruction from the SPL Token Program?
I'm curious what the practical difference is between the Transfer and TransferChecked instructions, and when should we use one over the other.
In this question, I'm using Transfer/TransferChecked as ...