L1 blockchain technology explained by lines of code in the network client: ICP — 1.1m 🎖️ Sui — 501k Solana — 500k Aptos — 486k Near — 350k Avalanche — 280k 🧵 (notes)
ICP: Exclude internet-identity, http-gateway and ic-http repos repos to avoid debate: network client only $ cloc . 1.1m lines of Rust, 1.23m overall (remainder isn't code). 🧵
Sui: $ cloc . --exclude-dir=external-crates --fullpath --not-match-d="(sui-execution/v.|sui-bridge.*)" 501K lines of Rust, 703K overall (remainder mostly Markdown, JSON, and YAML, which isn’t code). 🧵
Solana: $ cloc . 500K lines of Rust, 600K overall (remainder mostly Javascript, JSON and Markdown, which isn't code). 🧵
Aptos: $ cloc . --exclude-dir=third_party,ecosystem,aptos-move 486K lines of Rust, 816K overall (remainder mostly JSON, YAML, which isn’t code). 🧵
Near: $ cloc . 350K lines of Rust, 650K overall (remainder mostly Webassembly, JSON, Python, which isn't code) 🧵
Avalanche: $ cloc . 280K lines of Go, 475K overall (remainder mostly JSON, which isn't code).
14.63K
307
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.