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


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:


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.