Timeline for Transfer Hook Program That Collect Transfer Fee to mutiple wallets
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4 at 16:52 | comment | added | Sol Addict | thanks for the explanation. I think the only solution is to manually do that when harvesting those withheld fees | |
May 4 at 13:00 | comment | added | Jon C | If you just use the transfer hook extension, you run into the same problem, since you can't do re-entrancy back into token-2022 to move tokens. You can only charge transfer fees in a transfer hook in non-token-2022 tokens (ie SOL and USDC), since in those cases, token-2022 calls into your transfer hook program, which calls into the token program. | |
May 2 at 19:18 | comment | added | Sol Addict | What About Not using the Transfer-fee extension, but rather making the user pay the transfer fee in the token they are sending, just like what transfer hook is designed for i.e. pay some amount of SOL for any NFT transfer? so instead of charging SOL can we charge Token itsleft when making a trainsaction. | |
May 1 at 9:57 | history | answered | Jon C | CC BY-SA 4.0 |