Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 6a19be9

Browse files
authored
proofread
1 parent d26aed2 commit 6a19be9

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

content/guides/token-2022/transfer-fee.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ With any form of transaction, there's often a desire to collect or apply a fee.
2121
Similar to a small service charge every time you transfer money at a bank or the
2222
way royalties or taxes are collected for particular transfers.
2323

24-
With Token Extensions, the `TransferFee` extension allows you to configure a
25-
transfer fee directly on the Mint Account, enabling fees to be collected at a
26-
protocol level. Every time tokens are transferred, the fee is set aside in the
27-
recipient's Token Account. This fee is untouchable by the recipient and can only
28-
be accessed by the Withdraw Authority.
24+
The `TransferFee` extension allows you to configure a transfer fee directly on
25+
the Mint Account, enabling fees to be collected at a protocol level. Every time
26+
tokens are transferred, the fee is set aside in the recipient's Token Account.
27+
This fee is untouchable by the recipient and can only be accessed by the
28+
Withdraw Authority.
2929

3030
The design of pooling transfer fees at the recipient account is meant to
3131
maximize parallelization of transactions. Otherwise, one configured fee
@@ -36,8 +36,6 @@ In this guide, we'll walk through an example of creating a mint with the
3636
`TransferFee` extension enabled using Solana Playground. Here is the
3737
[final script](https://beta.solpg.io/6570e5b7fb53fa325bfd0c4e).
3838

39-
Let's get started!
40-
4139
## Getting Started
4240

4341
Start by opening this Solana Playground
@@ -141,7 +139,7 @@ const mintLen = getMintLen([ExtensionType.TransferFeeConfig]);
141139
const lamports = await connection.getMinimumBalanceForRentExemption(mintLen);
142140
```
143141

144-
With Token Extensions, the size of the mint account will vary based on the
142+
With Token Extensions, the size of the Mint Account will vary based on the
145143
extensions enabled.
146144

147145
## Build Instructions
@@ -486,6 +484,7 @@ transaction on the SolanaFM.
486484

487485
## Conclusion
488486

489-
The `TransferFee` extension makes it much easier to handle transfer fees,
490-
integrating them at the protocol level. It offers a superior UX for users and
491-
dApp developers, opening up new possibilities and use cases.
487+
The `TransferFee` extension enables token creators to enforce fees on each
488+
transfer without requiring extra instructions or specialized programs. This
489+
approach ensures that fees are collected in the same currency as the transferred
490+
tokens, simplifying the transaction process.

0 commit comments

Comments
 (0)