详解Solana新功能「Token Extension」:助力下一个杀手级应用?

Odaily星球日报Published on 2024-03-06Last updated on 2024-03-06

Abstract

Solana 新 SPL 代币标准「Token Extension」包含 19 种不同的代币标准,允许开发人员构建自定义的代币功能。

原文作者:@hmalviya 9 

原文编译:Frank,Foresight News

编者按: 1 月份,Solana 基金会发布新的 SPL 代币标准「Token Extension」,打开了 Solana 网络解锁更复杂链上用例的想象空间。

开门见山,我认为 Solana 生态系统正在迎来新的爆发,其中主要得益于 Solana 开发者正在努力探索新的边界,包括已经推出的「Token Extension」功能。

本文就将简单介绍下「Token Extension」功能及其可以带来的潜在场景用例。

什么是「Token Extension」?

一句话概括,「Token Extension」是新一代的 SPL 代币标准。

其中它允许开发人员构建自定义的代币功能,例如隐私交易、转账 Hooks、不可转让代币、生息资产、元数据等等。

详解Solana新功能「Token Extension」:助力下一个杀手级应用?


为了更简单地理解它,可以将其视为一个包含 19 种不同代币标准的库,而这些代币标准又可以根据具体用例需求为代币启用某些特定功能。

这就像将 19 个 ETH 代币标准合并为一个代币标准,我们可以按照自己的方式自由使用所有这 19 个标准。

当然最大的优势之一,就是没有像 ETH 代币标准那样的固定规则,毕竟 ERC 提案议程太慢了,而在「Token Extension」中,开发人员甚至可以尝试合并其中的几个标准,以根据需求构建下一个杀手级应用。

「Token Extension」用例

接下来让我们来谈谈我真正看好的 5 种「Token Extension」用例,并分享围绕对应用例的项目方向,您完全可以在下一个 Solana 黑客马拉松中实现这些想法。

1.隐私交易

「Token Extension」将允许我们构建支持隐私或保密交易的 DApp,而在不久的将来,对此类 DApp 需求无疑会十分巨大,因为一些 Degens 真的希望在隐私环境中进行链上操作。详解Solana新功能「Token Extension」:助力下一个杀手级应用?


举个例子,我们可以创建一个具备隐私性的 DeFi 协议,允许用户在保持转账金额和余额私密性的情况下,将某个 SPL 代币兑换为为另一种 SPL 代币。

同时我们还可以探索构建一个多链跨链桥,实现 Solana 和 NeonEVM 之间的隐私交易。

2.转账 Hooks

转账 Hooks 非常酷——它们允许用户在代币转账时强制执行某些规则。

譬如可以强制执行中间人的分润比例、第三方 KYC、合规性,或者为开发人员提供某种代币激励。详解Solana新功能「Token Extension」:助力下一个杀手级应用?


举个例子,我们可以使用转账 Hooks 构建一个基本的 DeFi 智能合约,该合约应该允许我们在有人使用该合约进行代币转账时赚取 SOL——本质上类似于艺术家如何强制执行版税,以确保开发者激励。

3.不可转让代币

不可转让代币(Non-Transferable Tokens)是指那些无法转移的代币,类似于灵魂绑定代币(SBT),它们预计将在与政府文件相关的相关用例中得到广泛使用。

举个例子,政府部门可以基于该标准建立一个治理门户,为公民发放不可转让的 NFT 国民身份证,持有这些 NFT 的人可以获得政府提供的福利。

4.生息资产

生息资产(Interest-Bearing Assets)是指在持有期间能够产生利息的代币。

基于「Token Extension」,我们可以构建通过质押或使用 DeFi 策略获得利息的代币、流动性质押代币或稳定币,也可以包括任何类型的现实世界资产(RWA),如美国国债等。详解Solana新功能「Token Extension」:助力下一个杀手级应用?


举个例子,我们可以推出一个类似于「Solana 版本 USDe」的 delta 中性稳定币,其中每个用户通过持有 jitoSOL 头寸来管理其挂钩情况,并以 1: 1 的比例开设空头头寸(延伸阅读《27% !比 UST 年化还高的 USDe 是不是庞氏骗局?》)。

那对应的金库就可以通过资金费率收入和质押收益赚取利息,并使用再平衡策略来维持挂钩。

5.元数据

基于「Token Extension」,现在可以使用 Command Line/JavaScript 将 NFT 的元数据(Metadata)存储在 SPL 标准的代币中。

这是非常重要的,因为 NFT 正在变得真正的链上化,而这可能会刺激对链上游戏的需求。详解Solana新功能「Token Extension」:助力下一个杀手级应用?


举个例子,我们可以构建一个基础的逻辑游戏,譬如只能由持有链上 NFT 或者 SBT 的玩家才能访问。由于「Token Extension」允许将所有这些功能合并起来,因此可以直接构建该游戏。

一个综合样例

我们可以结合上面的 5 个方向,来设想一个综合样例:

我们可以建立一个 DeFi 借贷应用程序,只允许那些 Nomis 分数高于 500 的钱包地址使用(通过转账 Hooks 实现这一点);而用户可以在该平台上存入 jitoSOL 并获得 7.5% 的年化收益和积分(通过生息代币实现这一点)。详解Solana新功能「Token Extension」:助力下一个杀手级应用?


就我个人而言,我对「Token Extension」的未来感到非常兴奋。我相信它会是游戏规则的改变者,将帮助开发人员构建下一个杀手级 Web3 应用程序。

Related Reads

Report Interpretation: J.P. Morgan Details Micron's Pre-Earnings Sentiment, Current Hardware Sector Dynamics

Morgan Stanley analyst Joshua Meyers' report (June 21, 2026) highlights key trends in the hardware and semiconductor sector ahead of Micron's earnings. The core takeaways are: 1. **Micron & Memory:** Memory remains a high-conviction long theme, driven by strong AI demand and rising ASPs. However, investor focus is shifting to the sustainability of Micron's >80% gross margins and the specifics of potential new long-term supply agreements (SCAs). 2. **Hardware Supply Chain:** AI-related demand for servers, networking, and storage remains robust, but company performance is diverging. Celestica (CLS) shows improved margin confidence, Western Digital and Seagate benefit from pricing, Fabrinet (FN) sees predictable AI optics growth, and Teradyne (TER) anticipates a new Google customer. 3. **AI Capex & WFE Forecasts:** JPMorgan increased its Wafer Fab Equipment (WFE) market growth forecasts to 28% in 2026 and 29% in 2027. AI infrastructure financing is evolving, with higher project-level debt reducing constraints on capex expansion. The report signals that while the AI-driven hardware cycle is strong, the market is entering a phase focused on execution verification (e.g., Micron's SCA details, Fabrinet's ramp with Amazon) and valuation sustainability. Key near-term signals include Micron's guidance, Arista Networks' outlook, and the pace of demand normalization post potential tariff-related pull-ins.

marsbit14m ago

Report Interpretation: J.P. Morgan Details Micron's Pre-Earnings Sentiment, Current Hardware Sector Dynamics

marsbit14m ago

Research Report Analysis: The Fed's New Chair's Debut – New Leader, But Same Script?

Report Analysis: Federal Reserve's New Chair Debut – A New Captain, But the Same Script? Morgan Stanley's chief global economist Seth B. Carpenter analyzes the first FOMC meeting under new Fed Chair Kevin Warsh in a June 21 report. Warsh deliberately avoided providing forward guidance on interest rates, aligning with his philosophy. However, market expectations for a rate hike this year were reinforced. Key signals lie elsewhere: inflation may fall more than expected, and quantitative tightening (QT) could be more aggressive than anticipated. The FOMC's "dot plot" suggests only one rate hike in 2026. Carpenter argues that if inflation undershoots forecasts, the logic for even a single hike weakens, especially as projections indicate potential rate cuts in 2027. On QT, Warsh's stance is clear. Carpenter notes that measures like halving the Treasury's account balance could shrink the Fed's balance sheet by around $500 billion with minimal market impact. Combined with adjustments to reserve interest and liquidity rules, the ultimate QT scale may exceed expectations, though its market effect might be less disruptive unless the Fed actively sells Mortgage-Backed Securities (MBS). While Warsh initiated a review of the Fed's policy framework, the 2% inflation target remains intact for now. The report concludes that the market may be overestimating the significance of reduced forward guidance and the near-term rate hike risk, while potentially underestimating the scope and manageable nature of the coming balance sheet reduction. The key debates will hinge on upcoming core PCE data, the specifics of the QT path, and the framework review's findings.

marsbit25m ago

Research Report Analysis: The Fed's New Chair's Debut – New Leader, But Same Script?

marsbit25m ago

Critical Game Week: BTC Retracement Confirmation vs. HYPE Support Battle | Guest Analysis

This weekly analysis outlines a critical juncture for BTC and HYPE markets, focusing on key price level confirmations. **BTC Analysis:** BTC is at a pivotal point after a five-wave rally from the June 5th low of $59,100. The price has broken below a short-term rising channel's lower boundary, with the current move seen as a pullback to test this breakdown. Failure to reclaim this level could lead to a retest of the $59,000-$60,000 support zone. The core scenario hinges on this channel retest outcome. * **Key Levels:** Resistance at $64,500-$65,000 (channel boundary) and $69,500-$70,500. Support at $59,000-$60,000 and $55,000. * **Strategy:** A core bearish stance is maintained (20% short from last week), with short-term plans for tactical trades. Three detailed contingency plans (A/B/C) are provided for short positions on resistance tests or breakdowns, emphasizing strict stop-loss discipline. **HYPE Analysis:** HYPE shows strong momentum but is currently in a corrective phase after hitting a new high of $76.94. The price is retesting the crucial $64-$66 support area. * **Key Levels:** Resistance near $77 and $80-$82. Support at $64-$66 and $52-$54. * **Strategy:** The short-term approach is "buy on dips, avoid chasing rallies." A long position is considered only if clear stabilization signals appear at the $64-$66 or deeper $52-$54 support zones, with tight risk controls. **General Risk Management:** A standardized trailing stop-loss protocol is emphasized: set initial stop, breakeven at +1% profit, then trail stops upward to lock in gains. *Disclaimer: All analysis is presented as a personal trading framework, not investment advice. Market conditions are complex and require dynamic adjustment.*

marsbit39m ago

Critical Game Week: BTC Retracement Confirmation vs. HYPE Support Battle | Guest Analysis

marsbit39m ago

Research Report Interpretation: Citi Attends AWS Summit, Bullish on Cloud Business Acceleration but Data Governance Remains Key Variable

Citi analyst Tyler Radke's team attended the AWS New York Summit (June 17-18), engaging with over 10 clients and partners. In a June 19 report, they highlighted the summit's focus on scaling agent AI for enterprise deployment. Citi maintains a "Buy" rating on Amazon, forecasting AWS revenue growth to accelerate to 37% in FY27 from 30% in FY26, noting this estimate may be conservative. Key takeaways: 1. **AWS Strategy Shift:** AWS is moving from proof-of-concepts to scalable deployment. New offerings like AWS Context (building enterprise knowledge graphs), Amazon Quick (cross-application AI assistant), and security tool Continuum address core enterprise pain points for AI adoption. 2. **Data Infrastructure Beneficiaries:** Data infrastructure companies like Snowflake, Elastic, Oracle, and ClickHouse are seen as direct beneficiaries of scaling AI workloads, as evidenced by strong growth and use cases presented. 3. **Critical Role of Data Governance:** As AI agents scale from hundreds to thousands, effective data governance becomes the key variable for deploying AI in core business processes. AWS Context represents AWS's strategic extension from providing compute/models to offering a data governance infrastructure layer. The report emphasizes that without solving data governance, AI will remain confined to pilot projects. The investment thesis focuses on AWS revenue acceleration and data infrastructure vendors' growth, while monitoring signals like AWS's quarterly revenue growth, Bedrock AgentCore task volume, and pricing impacts on companies like Elastic.

marsbit45m ago

Research Report Interpretation: Citi Attends AWS Summit, Bullish on Cloud Business Acceleration but Data Governance Remains Key Variable

marsbit45m ago

Crucial Week of Contention: BTC Tests Support and HYPE's Key Level Battle | Special Analysis

**Market Enters Critical Week: Bitcoin Pullback Test and HYPE Support Battle** The market enters a crucial phase of contention this week. The marginal shifts in Federal Reserve policy expectations continue to dictate the pricing rhythm for risk assets. Meanwhile, in the crypto market, following a period of sideways consolidation, the divergence between bulls and bears is becoming concentrated at key price levels. **Bitcoin (BTC) Analysis & Strategy** * **Technical View:** The 4-hour chart suggests BTC is in a five-wave structure since the June 5th low near $59,100. Price action shows a short-term rising channel. The recent drop below this channel's lower boundary is now being followed by a pullback attempt (wave 40-41). The outcome of this retest is critical. * **This Week's Outlook:** The core focus is whether BTC can reclaim and hold above the channel's lower boundary. * **Bullish Scenario:** A successful hold could lead to a continued rebound, potentially challenging the $69,500 - $70,500 resistance zone. * **Bearish Scenario:** Failure to hold may trigger a renewed test of the $59,000 - $60,000 core support area, with $55,000 as a deeper support level. * **Operational Strategy:** The author maintains a 20% mid-term short position initiated last week near $64,500, based on a model signaling a shift to a bearish structure. Short-term tactics involve using 30% capital for potential "spread" trades, with three contingency plans (A, B, C) outlined for reacting to resistance tests, breakouts, or support breakdowns. **HYPE Analysis & Strategy** * **Technical View:** On the 4-hour chart, HYPE shows strong momentum, having recently broken to a new high since January. The current pullback presents a clear three-wave correction structure, bringing the price back to the critical $64 - $66 support zone. * **This Week's Outlook:** The focus is on the battle for the $64 - $66 support area. * **Bullish Scenario:** Holding this support could signal a continuation of the uptrend from the June 10th low, leading to new highs. * **Bearish Scenario:** A breakdown could extend the correction, potentially testing the deeper $52 - $54 support band. * **Operational Strategy:** The recommended short-term approach is "buy on dips, avoid chasing rallies." A light long position (under 30% capital) could be considered if HYPE shows stabilization signals at the $64-$66 or $52-$54 support zones, confirmed by model signals. Strict stop-loss discipline is emphasized. **General Risk Management:** A strict trailing stop-loss protocol is advised: set an initial stop; move to breakeven at +1% profit; lock in profits progressively thereafter. *Disclaimer: All analysis is presented as the author's personal technical perspective and trading log, not as investment advice. Markets are complex and dynamic; risk control is paramount.*

Odaily星球日报45m ago

Crucial Week of Contention: BTC Tests Support and HYPE's Key Level Battle | Special Analysis

Odaily星球日报45m ago

Trading

Spot
Futures
活动图片