认识
Solana 是一个高性能的区块链平台,专注于提供快速、低成本且可扩展的去中心化应用(DApp)和加密货币交易解决方案。它由 Anatoly Yakovenko 于 2017 年创立,旨在解决比特币和以太坊等早期区块链面临的吞吐量低、交易费用高和扩展性差的问题。
Solana 以技术创新和高效性能成为区块链领域的重要玩家,尤其适合需要高吞吐量的应用场景。尽管存在稳定性挑战,但其生态系统的快速发展和低成本优势使其在 DeFi、NFT 和 Web3 中占据一席之地。未来升级(如 Firedancer 客户端)有望进一步提升网络可靠性。
Solana is a public blockchain built for mass adoption. It’s a high-performance network that is utilized for a range of use cases, including finance, NFTs, payments, and gaming. Solana operates as a single global state machine, and is open and interoperable.
组成
Wallet | Find a Wallet That Works for You | https://solana.com/solana-wallets
Solana Cluster
https://docs.anza.xyz/clusters/
Run Solana nodes on AWS | https://aws.amazon.com/blogs/web3/run-solana-nodes-on-aws/
The Solana blockchain operates with two different types of globally distributed nodes. These nodes receive read and write requests, called transactions, to run on-chain programs or retrieve stateful data.
- voting consensus nodes, called validators,
- and non-voting nodes, called Remote Procedure Call (RPC) nodes.
How to Become a Solana Validator: Requirements and Steps
节点类型
Validator(验证节点)参与共识(Tower BFT + PoH),验证交易并生产新区块。
- 收益:通过出块和投票获得 SOL 奖励。在 Solana 网络中,质押(Staking) 是验证节点参与网络共识并获得奖励的关键步骤。技术上,只需要质押 1 SOL 即可,但想要盈利,需要质押约 32,300 SOL(2023年数据)才能进入活跃验证者集合(Active Set),获得稳定奖励。
RPC Node(RPC 节点)提供 API 接口供开发者查询链上数据或提交交易。
应用:钱包、浏览器、DApp 后端的基础设施。
Archiver(归档节点)存储完整的历史交易数据(验证节点通常只保留最近 2-3 天的数据)。
Solana Client(轻客户端)不参与共识,仅同步区块头或特定数据(如钱包客户端)。
Leader(领导者节点)当前时隙(slot)的临时验证节点,负责打包交易并生成区块。
Bootstrap Node(引导节点)新节点加入网络时提供初始连接点(包含已知节点列表)。
Solana 主网的 entrypoint.mainnet-beta.solana.com。
构建
Anza and Agave
Anza is the leading Solana-focused software development firm, building resilient, elegant, and impactful protocols. —— https://www.anza.xyz/
Agave is a fork of the original Solana validator previously maintained by the Solana Labs team. Agave is now under active development by the core engineering team at Anza, one of several Solana validator clients. —— https://docs.anza.xyz/
Hardware Requirements
- Required Hardware for Solana Node with Historical Transaction Info Enabled | https://solana.stackexchange.com/questions/12277
- https://docs.anza.xyz/operations/requirements
- https://www.cherryservers.com/blog/how-to-become-a-solana-validator
Solana validator requirements ⇒ 并非要部署,而是先感受一下配置要求
- CPU:
- 24 physical cores / 48 threads, with a base clock speed of 3.9GHz or faster
- Support for SHA extensions and AVX2 instructions
- Recommended processors: AMD Gen 4 or newer
- RAM:
- 384GB DDR5 ECC Registered memory or more
- A motherboard with 1152GB capacity suggested for scalability
- Disk:
- OS: 1TB NVMe SSD
- Accounts: 1TB NVMe SSD (PCIe Gen3 x4 or better, with high TBW)
- Ledger: 2x4TB NVMe SSDs (PCIe Gen3 x4 or better, with high TBW)
- Storing accounts and ledger on separate disks is recommended for optimal performance due to high IOPS demands.
AWS On-Demand 差不多 Total Monthly cost: 1,715.20 USD
QuickNode
Build on Solana with the fastest RPC Nodes, a comprehensive library of web3 APIs, and the most performant blockchain ETL tools—all backed by enterprise-grade infrastructure.
Solana CLI
https://solana.com/docs/intro/installation#quick-installation
使用 AWS 快速部署
Solana 官方与 AWS 合作,提供 Blockchain Node Runners 简化部署:
- 支持一键部署 验证节点 和 RPC 节点。
- 适用于企业级应用,降低运维复杂度1。
- 适合传统金融机构和 Web3 项目快速接入 Solana1。
性质
- 高吞吐量与低延迟
– Solana 采用独特的共识机制 Proof of History (PoH),结合 Proof of Stake (PoS),通过时间戳优化交易排序,理论上可实现每秒 65,000 笔交易(TPS),远超以太坊(约 15-30 TPS)和比特币(约 7 TPS)。
– 平均出块时间仅 400 毫秒,确认速度极快。
- 低交易成本
– 交易费用通常低于 0.01 美元,适合高频交易和微支付场景。
- 可扩展性
– 通过水平扩展(如分片技术的变体)支持网络增长,避免因用户增加导致拥堵。
- 创新技术栈
– Proof of History (PoH):通过可验证的时间戳序列化交易,减少节点间的通信开销。
– Turbine:区块传播协议,将数据分片传输以提高效率。
– Sealevel:并行化智能合约执行引擎,支持多线程处理。
– Solana Virtual Machine (SVM):兼容以太坊的智能合约环境,支持 Rust、C、C++等编程语言。
生态系统
– DeFi & DApps:
Solana 是去中心化金融(DeFi)和 NFT 的热门平台,知名项目包括:
– Serum(去中心化交易所,DEX)
– Raydium(自动化做市商,AMM)
– Solend(借贷协议)
– Magic Eden(NFT 市场)
– Web3 与支付:
许多项目利用 Solana 的低费用特性开发支付解决方案和社交应用(如 STEPN 运动赚取应用)。
– 企业合作:
与 Visa、Shopify 等合作测试稳定币支付,并受 Jump Crypto、a16z 等顶级机构支持。
代币经济
– 原生代币 SOL:
– 用于支付交易费用、质押参与网络安全(PoS),以及治理投票。
– 总供应量无硬顶,但通过通胀率控制(初始通胀率 8%,逐年递减)。
– 2021 年牛市曾达到 260 美元 峰值(2024 年价格约 100-200 美元 区间波动)。
改进
### 争议与挑战
- 网络稳定性:
Solana 曾多次因 DDoS 攻击或高负载导致宕机(如 2022 年 1 月的中断事件),引发对去中心化程度的质疑。
- 中心化风险:
早期节点硬件要求较高,可能导致验证者集中化。
- 竞争压力:
面临以太坊 Layer 2(如 Arbitrum)、Avalanche 等高性能链的激烈竞争。
参考
DeepSeek / 介绍 Solana
DeepSeek / 如何部署 rpc node
DeepSeek / solana 节点类型
DeepSeek / 解释质押要求