Skip to content

Milimeter/solana-vs-other-chains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


# 🔗 Solana vs Other Chains — Practical Blockchain Integration Series

Welcome to an open-source deep dive into **how building on Solana** compares with other blockchains like **EVM (Ethereum, BSC, Polygon)**, **Aptos**, **Cardano**, **Bitcoin**, **Near**, and **Sui**.

> 🤔 Is Solana easy or complex to build on? How does it really compare with other ecosystems in terms of cryptography, wallet creation, and transaction flow?

This repo explores that question—**one module at a time**, with working code examples and architecture comparisons across chains.

---

## 🧠 Must-Read Before Diving In

Before diving into the code, I *highly* recommend reading this article:  
**👉 [Understanding Elliptic Curve Digital Signature Algorithm (ECDSA, EdDSA, etc.)](https://2finance.medium.com/understanding-elliptic-curve-digital-signature-algorithm-ecdsa-secp256k1-and-eddsa-curve25519-56ff82fc4f74) **

It gives essential context on **cryptographic key generation**, helping you understand **why each chain behaves the way it does** under the hood.

---

## 🚀 Modules (More Coming Soon)

### 1. **🧪 Create Wallet (Compare: Solana vs Others)**

This module shows how wallet keypairs are generated on each chain using their SDKs.  
We compare:
- Keypair structure (private/public)
- Underlying cryptographic curves (e.g., secp256k1 vs ed25519)
- Output format differences
- Ease of use & abstraction level

#### 📂 Structure:
```bash
create_wallet/
├── sol.ts                 # Solana wallet creation using @solana/web3.js
├── other_chains/
│   ├── evm.ts             # EVM wallet using viem
│   ├── aptos.ts
│   ├── bitcoin.ts
│   ├── cardano.ts
│   ├── near.ts
│   ├── sui.ts

📊 Summary Table

Step 💠 EVM (via viem) 🟣 Solana (via @solana/web3.js)
1. Generate Keypair generatePrivateKey() (32-byte secp256k1) Keypair.generate() (64-byte ed25519)
2. Derive Address From key → EVM checksum address From publicKey → base58 address
3. Output Secret/Private Returns raw 32-byte hex Returns 64-byte (public + private) in hex

2. 📥 Import Wallet — "One mnemonic to rule them all..."

Inspired by the timeless words of Tolkien:

"One mnemonic to rule them all, one mnemonic to find them, One mnemonic to bring them all, and in the blockchain bind them."

This module will showcases:

  • How to derive wallets from a mnemonic phrase
  • Differences in derivation paths (BIP44, SLIP-0010, etc.)
  • Unique behaviors in chains like Solana (ed25519) vs EVM (secp256k1)

⚙️ Upcoming Modules

  • ✅ Create Wallets (Implemented)
  • 🔜 Import Wallets
  • 🔜 Fetch Balances & History
  • 🔜 Sign & Verify Messages
  • 🔜 Send Transactions
  • 🔜 Swaps
  • 🔜 DApp Integrations (wallet connect, etc.)

🌐 Why This Repo?

Let’s be honest—Solana gets a lot of attention, but many devs still ask:

"Is it really worth the hype?"
"How does it stack up against EVM or Aptos or Cardano?"

This repo exists to answer those questions with code, not opinions.

Here’s the thing:
✅ Solana isn’t just fast—it’s architecturally different.
✅ Transactions are parallelized, not sequential.
✅ The keypair system is compact and insanely efficient.
✅ Fees are almost nonexistent, yet you get finality in seconds.
✅ It’s built for performance, not just compatibility.

But—every chain has its strengths.
That’s why we’re doing real side-by-side comparisons: wallet creation, signing, transactions, and more.

Whether you're a dev exploring Solana or building cross-chain apps, this repo helps you truly understand the "why" behind the "wow".


🤝 Contributions Welcome

Found something worth improving? Want to add a module for another chain?
Feel free to fork, submit a PR, or open an issue!


📜 License

MIT © 2025


Made with ☕ and many blockchain SDKs 😅

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published