1

I run a coinflip site built with anchor, and I would like to know how I could take an extra fee out of every transaction. Thank you.

1 Answer 1

3

Your best bet will be to use the Token-2022 Program. This explains how to set it up so that you can take out transaction fees:

https://spl.solana.com/token-2022/extensions#transfer-fees

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.