标签:#ha
找到 14173 篇相关文章
Exploring retro productivity software: Visual Basic on Windows 3.1
Captcha proves you're human. HATCHA proves you're not
From Pentagons to Pentagrams
Ultrasound Imaging of the Brain
Mlibc: A fukk-featured portable C standard library
Ex-NOAA employees re-create a valuable climate data site shut down by Trump
The fight against data centers has nothing to do with data centers
AMD Readies Full Open-Source HDMI 2.1 Support for Linux
The Baffling World of Masayoshi Son's Presentations (2020)
How much? The hidden costs of restaurant dishes
Stop Killing Games Pivots to Amending Digital Fairness Act in EU After Loss
Why current LLM costs are not sustainable
Show HN: Motif Atlas – recurring patterns behind complex systems
Texas Man Gets 30 Years in Prison for Transporting 'Anti-Government' Pamphlets
Wallace the 6 inch f/2.8 telescope, building it, and hiking with it
The Meadows of Medieval Summer
Goodbye, Scientific American
The food science behind designing an ice cream
What Token Extensions Are and Why a Web2 Developer Should Care
You already understand tokens. Extensions are just middleware for your money. If you have ever worked with Stripe, you know the pattern. You start with a simple charge: send money from point A to point B. Then you add features — subscriptions, transfer fees, metadata on invoices, compliance checks. Each feature is a separate Stripe product or API call, and wiring them together is your job. Solana's Token Extensions Program is the same idea, but at the blockchain protocol level. Instead of bolting features on top of a basic token after creation (which Solana does not allow), you declare every capability upfront, and the runtime enforces it automatically. No smart contract to write. No backend service to maintain. Just configuration flags at creation time. What is a token extension? A token extension is an optional feature you enable when you create a token mint. Under the hood, each extension reserves extra bytes in the mint's on-chain account. Those bytes store configuration — an interest rate, a fee percentage, a metadata URI — and the Solana runtime reads them during every transaction. The original SPL Token Program is simple. It stores supply, decimals, and authorities. The Token Extensions Program ( TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb ) is a superset. It stores everything the original does, plus additional data for each extension you enable. Extensions map directly to Web2 concepts Extension Web2 Analogy What It Does Transfer Fees Payment processor fee Deducts a % on every transfer Interest-Bearing Savings account APY Displays time-adjusted balance Metadata Product catalog entry Stores name, symbol, URI on-chain Default Account State KYC gating All accounts start frozen; you thaw approved users Non-Transferable Professional license Tokens cannot be sold or transferred Permanent Delegate Admin revoke power Issuer can burn tokens from any holder A concrete example Here is the exact command I ran to create a token with transfer fees, interest-bearing, and m