Skip to Content

isA Chain

Full-stack blockchain ecosystem with Rust core, smart contracts, DeFi protocols, and AI integration.

Overview

isA Chain is a comprehensive blockchain platform built in Rust (core) with TypeScript/Solidity for smart contracts and applications. It includes a custom Proof-of-Stake blockchain, HD wallets, DeFi protocols, NFT marketplace, and privacy layer.

Quick Start

# Install dependencies npm install # Build blockchain core (Rust) cargo build --release --manifest-path=core/blockchain/Cargo.toml # Start all services ./scripts/start-services.sh start # Deploy contracts to testnet npm run deploy:testnet

Architecture

┌─────────────────────────────────────────────────┐ │ Applications │ │ Web UI (Next.js) • Wallet • Explorer │ └──────────────────────┬──────────────────────────┘ ┌─────────────────────────────────────────────────┐ │ Smart Contracts Layer │ │ ┌──────────────────┐ ┌──────────────────┐ │ │ │ Solidity (EVM) │ │ Rust (Native) │ │ │ │ DeFi • NFT • Gov │ │ High-performance │ │ │ └──────────────────┘ └──────────────────┘ │ └──────────────────────┬──────────────────────────┘ ┌─────────────────────────────────────────────────┐ │ Core Blockchain (Rust) │ │ Consensus • Networking • Storage • Mempool │ │ PoS Validators • Merkle Patricia Trie • libp2p │ └──────────────────────┬──────────────────────────┘ ┌─────────────────────────────────────────────────┐ │ Infrastructure │ │ RocksDB • libp2p • Tokio • ZK Proofs │ └─────────────────────────────────────────────────┘

Core Modules

Blockchain Core (Rust)

ModulePurpose
blockchain.rsCore chain logic
block.rsBlock creation and validation
transaction.rsTransaction handling
consensus.rsProof-of-Stake consensus
network.rsP2P networking (libp2p, gossip)
storage.rsState and block storage (RocksDB)
mempool.rsTransaction pool management
validator.rsValidator management and slashing
state.rsMerkle Patricia Trie state

Wallet

  • HD wallets with BIP32/BIP39/BIP44 standards
  • Hardware wallet support (Ledger, Trezor)
  • Social recovery mechanisms
  • Secure key storage with AES-GCM encryption

DeFi Protocols

ProtocolFeatures
DEXDecentralized exchange with optimal routing
StakingLiquid staking with delegation
LendingLending protocols with collateral
Yield FarmingYield optimization strategies

Additional Modules

ModulePurpose
NFTMarketplace with metadata management
PrivacyZK-SNARKs for anonymous transactions
OracleOracle network for external data
GovernanceOn-chain proposal voting
AI IntegrationMCP bridges for AI agent access

Cryptography

AlgorithmUse Case
SHA-256, SHA-3, BLAKE3Block and transaction hashing
secp256k1, Ed25519Digital signatures
AES-GCMWallet encryption
ZK-SNARKs (ark-*)Privacy proofs

Consensus

Proof-of-Stake with:

  • Validator delegation and staking rewards
  • Slashing for malicious behavior
  • Byzantine fault tolerance
  • Finality guarantees

Tech Stack

ToolPurpose
Rust + TokioCore blockchain (async runtime)
libp2pP2P networking and peer discovery
RocksDB / sledState and block storage
SolidityEVM-compatible smart contracts
Next.js + TypeScriptWeb application layer
ark-* librariesZero-knowledge proofs

Development

npm run dev:all # Run all services cargo test # Test blockchain core npm run build:contracts # Compile smart contracts npm run test:contracts # Test contracts docker-compose up -d # Start infrastructure