𝗧𝗢𝗞𝗘𝗡-𝟮𝟬𝟮𝟮 𝗟𝗢𝗚𝗜𝗖 𝗢𝗡 𝗦𝗢𝗟𝗔𝗡𝗔

Web2 asset rules live in databases. Solana puts these rules inside the token.

I tested the Token-2022 Program. I used non-transferable tokens. I used multiple wallets. I tested transfers and burning.

Standard tokens rely on apps for rules. Those rules stay off-chain. Token-2022 moves rules to the protocol layer.

Tokens are no longer balances. They are state machines with economic rules.

I created a mint with a Non-Transferable extension. This enforces identity rules at the protocol level. Non-transferable tokens do not move between wallets.

Use them for:

I created token accounts for two wallets. The account model remains the foundation. Rules change based on extensions.

I tried to transfer tokens. Protocol rules decide if a transfer works. This removes the need for custom backend code.

I burned tokens to control supply. Burning is a state change on-chain. It reduces total supply.

Web2 state lives in databases. Solana state is deterministic. The protocol enforces it.

Key shifts:

Next steps:

Token-2022 is a framework for economic logic.

Source: https://dev.to/neocarvajal/how-token-2022-changes-token-logic-a-hands-on-experiment-with-minting-transfers-and-burning-on-3gj8