DEV Community

NIRANJAN LAMICHHANE
NIRANJAN LAMICHHANE Subscriber

Posted on

Understanding tokenomics of Solana

In recent days of #100daysofsolana , i learned worked with transfer-fee-enabled tokens, withheld fees, fee authorities, and Token-2022-specific behavior.

During this , i specifically struggled with creating a standard SPL token account instead of a Token-2022 token account, which result in transactions fail, accounts appear incompatible, and CLI commands behave unexpectedly.

Failure

From this struggle , i specifically learnt that :

  • fees are automatically deducted during transfers,
  • fees accumulate in token accounts,
  • withheld fees must later be withdrawn.

Withheld fees withdrawn illustrated

Top comments (0)