🔧 AI Nachrichten Debian is Voting on Whether to Allow AI-Assisted Contributions(23.08.2026 um 09:34 Uhr)
🔧 AI Nachrichten The Linux Kernel Is Approaching 2,000 CVEs Per Release(29.08.2026 um 20:00 Uhr)
⚠️ Malware / Trojaner / VirenCitrix Adds a Linux-Powered Escape Hatch For Compromised Windows PCs(30.08.2026 um 17:34 Uhr)
🔧 AI Nachrichten Debian is Voting on Whether to Allow AI-Assisted Contributions(23.08.2026 um 09:34 Uhr)
🔧 AI Nachrichten The Linux Kernel Is Approaching 2,000 CVEs Per Release(29.08.2026 um 20:00 Uhr)
⚠️ Malware / Trojaner / VirenCitrix Adds a Linux-Powered Escape Hatch For Compromised Windows PCs(30.08.2026 um 17:34 Uhr)

🔧 Programmierung 🕛 vor 2 Monaten 4 Min Lesezeit
0

Three Token-2022 Mints in One Week: Fees, Yield, and Soul-Bound Tokens on Solana

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

A Token-2022 mint is not just a number that moves around. It is a number that moves around with rules attached.




If you have ever worked with Stripe, you know the pattern. You start with a simple charge. Then you add features — subscriptions, transfer fees, metadata. Each feature is a separate API call, and wiring them together is your job.



Token-2022 (the upgraded SPL Token program at TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb) flips that. Instead of middleware living next to the asset, the middleware lives inside the asset. You bake rules directly into the mint at creation time, and every wallet, program, and dApp that handles your token automatically respects them.



Here are three mints I shipped this week, what each extension does, and when you would reach for one.









1. Transfer Fee Mint — Skim 1% on Every Transfer



Mint: AXdJwLSxuzh2hjLvwEtjuDSKXMhWeVwvH2ZZkfguTBJP

Explorer:

Extensions: Transfer Fee (100bps) + Interest-Bearing (5000bps = 50% APR)




CODE
spl-token create-token \
--program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb \
--decimals 6 \
--transfer-fee-basis-points 100 \
--transfer-fee-maximum-fee 1000000 \
--interest-rate 5000






Two extensions, one mint, zero conflict. I minted 1,000,000 tokens, and within seconds the displayed balance started growing — no transaction needed. The trick: interest updates the UI amount only. The raw token balance in your account never changes. The protocol computes the displayed amount on the fly from the mint's rate and the network clock.




CODE
# Check balance twice with a 30s pause — watch it grow
spl-token balance $MINT
sleep 30
spl-token balance $MINT






The transfer fee still operates on the raw amount, so both extensions compose cleanly. You get a token that charges fees when it moves and yields interest while it sits.



When to use: Savings accounts, vesting schedules, any token where time should affect value.









3. Non-Transferable Mint — A Token That Refuses to Move



Mint: 3oJBDKS7hrnTsjKQVJ9wGXZm3BVt6NnGekBXfbHRyvfP

Explorer: https://explorer.solana.com/address/3oJBDKS7hrnTsjKQVJ9wGXZm3BVt6NnGekBXfbHRyvfP?cluster=devnet

Extension: Non-Transferable (soul-bound)




CODE
spl-token create-token --program-2022 --enable-non-transferable






I minted one token to myself and tried to send it to a fresh wallet. The runtime rejected me immediately:




CODE
Error: The transfer is disabled because this token is non-transferable






That error is the feature. The non-transferable extension turns a fungible token into a soul-bound badge. Once it lands in your account, it stays there forever — no wallet, marketplace, or dApp can move it.



When to use: Certificates, credentials, achievement badges, identity attestations — anything where the holder should be the permanent owner.









What Surprised Me



The biggest surprise was that none of this required a custom smart contract. In Web2, every new behavior means a new API endpoint, a new database migration, a new cron job. On Solana with Token-2022, you flip a flag at creation time and the runtime does the rest — fees, interest, transfer restrictions, all composed from the same primitive.



The second surprise was the interest extension. I kept waiting for a "mint" transaction to appear, but there never was one. The balance just... drifted upward. It is the closest thing to a bank savings account I have seen on a blockchain, and it took one flag to enable.



If I were building a real product, I would reach for the transfer fee extension for a creator-owned token where every trade pays the treasury, and the non-transferable extension for on-chain credentials that prove attendance or completion without the risk of secondary sales.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Debian is Voting on Whether to Allow AI-Assisted Contributions
1 Quelle
The Linux Kernel Is Approaching 2,000 CVEs Per Release
1 Quelle
Citrix Adds a Linux-Powered Escape Hatch For Compromised Windows PCs
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Three Token-2022 Mints in One Week: Fees, Yield, and Soul-Bound Tokens on Solana

Thematisch verwandte Begriffe: Three, Token2022, Mints, Week · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...