-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spl-token-2022-js]: Add SetTransferFee
instruction
#5451
Comments
SetTransferFee
instruction
Ah, thanks for calling this out, looks like we just need to add the functions to support |
Hello @buffalojoec , Is this issue still open at the moment? |
Yes, appears so! Would you like to work on it? |
@buffalojoec Yeah, I would like to take a crack at it. For context, do you have a repo or project where you are using this where I can see exactly what you outlined above? |
solana-program-library/token/js/src/extensions/transferFee/instructions.ts Lines 63 to 89 in 5ce6eac
We're missing a function like this for |
Rust side: solana-program-library/token/program-2022/src/extension/transfer_fee/instruction.rs Lines 397 to 422 in 5ce6eac
|
Hello, I added a PR for this here |
While it's possible to create a Mint with a transfer fee in TypeScript with
createInitializeTransferFeeConfigInstruction()
, there seem to be no way to update the fee later.The text was updated successfully, but these errors were encountered: