Developer Hub

Build the Future on
CryptoChain

Everything you need to build production-grade dApps, DeFi protocols, and Web3 infrastructure on the fastest EVM-compatible blockchain. SDKs, APIs, testnets, and a $50M grant programme waiting for you.

📖 Read the Docs ⚡ View on GitHub
terminal — cryptochain-quickstart
$ npm install @cryptochain/sdk
+ @cryptochain/sdk@2.4.1
✔ added 12 packages in 3.2s
$ node index.js
Connecting to CryptoChain V2 mainnet…
✔ Connected • Chain ID: 7777
RPC: https://rpc.cryptochain.io
Latest block: #8,412,881 TPS: 38,420
$
50KPeak TPS
380msBlock Finality
12KActive dApps
$50MGrants Available
$0Gas on Testnet

Up and Running in Minutes

CryptoChain is EVM-compatible — existing Solidity knowledge transfers directly. These guides get you from zero to deployed in under 10 minutes.

🔗
01 — CONNECT
Connect to the Network
Add CryptoChain to MetaMask or any EVM wallet in seconds. Works with Hardhat, Foundry, and Truffle out of the box.
Read guide →
📜
02 — DEPLOY
Deploy Your First Contract
Deploy any Solidity contract with zero modifications. Leverage native DeFi precompiles for 10x lower gas costs on swaps, staking, and lending.
Deploy now →
03 — INTEGRATE
Integrate the JS SDK
The @cryptochain/sdk package provides typed, tree-shakable access to every protocol primitive from any JS/TS environment.
SDK docs →
🔍
04 — VERIFY
Verify on CryptoScan
Submit your contract ABI to CryptoScan for public verification and automatic UI generation. Users can interact with your contract directly from the explorer.
Open explorer →
🛡️
05 — AUDIT
Security Best Practices
Run the CryptoChain Static Analyser before deployment. Get an automated pre-audit report covering reentrancy, integer overflow, and access control patterns.
Run analyser →
💰
06 — FUND
Apply for a Grant
$50M available for builders in DeFi, NFT infrastructure, identity, privacy, and developer tooling. Grants from $10K to $2M. No equity taken.
Apply now →
Examples
🔗ConnectJS
💱Native SwapSOL
🥩StakingJS
🔒ZK TransferJS
⚙️GovernanceSOL
connect.js JavaScript
import { CryptoChain, Wallet } from '@cryptochain/sdk';

// Initialize the SDK — connects to V2 mainnet by default
const cc = new CryptoChain({
  network:   'mainnet',      // or 'testnet' | 'devnet'
  rpc:       'https://rpc.cryptochain.io',
  apiKey:    process.env.CC_API_KEY,
  timeout:   10_000,          // ms
});

// Connect a wallet via private key (use a signer in production!)
const wallet = Wallet.fromPrivateKey(process.env.PRIVATE_KEY, cc);

// Query chain state
const block   = await cc.getLatestBlock();
const balance = await cc.getBalance(wallet.address);

console.log(`Block: #${block.number}  TPS: ${block.tps}`);
console.log(`Balance: ${cc.formatCCT(balance)} CCT`);

REST API Endpoints

A complete REST API for querying blocks, transactions, accounts, and DeFi state. Authentication via API key. Base URL: https://api.cryptochain.io/v2

Endpoints
GET /blocks
GET /transactions
GET /accounts/{address}
POST /transactions/send
GET /defi/pools
POST /defi/swap/quote
GET /staking/validators
POST /staking/delegate
GET /nft/collections
DEL /sessions/{id}
GET /blocks/{number} Retrieve a block by number or "latest"

Returns full block data including transaction list, validator signature, and execution stats. Use latest to get the most recent confirmed block.

Path Parameters
NameTypeRequiredDescription
numberstring | integerrequiredBlock number or "latest"
Query Parameters
NameTypeRequiredDescription
include_txsbooleanoptionalInclude full transaction objects (default: false)
include_receiptsbooleanoptionalInclude transaction receipts (default: false)
Response 200
{ "number": 8412881, "hash": "0x4a3f2b1c...", "timestamp": 1749398401, "parentHash": "0x9d8e7f6a...", "validator": "0xValidator...", "txCount": 1842, "gasUsed": "0x6a4b3c", "tps": 38420, "shard": 0 }
POST /transactions/send Broadcast a signed transaction

Broadcasts a signed raw transaction to the network. Returns the transaction hash immediately; use GET /transactions/{hash} to poll for inclusion.

Request Body
NameTypeRequiredDescription
rawTxstringrequiredHex-encoded signed transaction bytes
privacybooleanoptionalEnable ZK-shielded submission (default: false)
Response 200
{ "hash": "0xTxHash...", "status": "pending", "shardId": 12 }
POST /defi/swap/quote Get a native AMM swap quote

Returns a precise swap quote from the native AMM including price impact, minimum output, and execution gas estimate.

Request Body
NameTypeRequiredDescription
tokenInaddressrequiredInput token contract address
tokenOutaddressrequiredOutput token contract address
amountInstringrequiredInput amount in wei
slippagenumberoptionalMax slippage tolerance in % (default: 0.5)
Response 200
{ "amountOut": "4823910000000000000", "priceImpact": 0.12, "minAmountOut": "4799820000000000000", "gasEstimate": 12000, "route": ["CCT", "USDC"], "validUntil": 1749398461 }
GET /staking/validators List all active validators

Returns a paginated list of all active validators with their delegation stats, APY, uptime, and commission rates.

Query Parameters
NameTypeRequiredDescription
sortBystringoptionalSort field: "apy" | "stake" | "uptime" | "commission"
limitintegeroptionalResults per page (default: 20, max: 100)
pageintegeroptionalPage number (default: 1)
Response 200
{ "validators": [{ "address": "0xValidator...", "name": "NodeAlpha", "apy": 13.8, "stake": "4820000000000000000000000", "uptime": 99.98, "commission": 5 }], "total": 4200, "page": 1 }

Build in Your Language

Typed, well-documented SDKs for every major language and framework. All SDKs are open-source, MIT-licensed, and maintained by the CryptoChain core team.

JavaScript / TypeScript
v2.4.1 — Latest stable

Full-featured SDK for browser and Node.js. Tree-shakable ESM build. Includes React hooks, ethers.js compatibility, and WalletConnect integration.

npm install @cryptochain/sdk
124K/wk 2.8K 📦 ESM+CJS
Python
v2.2.0 — Latest stable

Pythonic SDK supporting async/await. Native integration with web3.py for existing projects. Ideal for data analysis, bots, and backend services.

pip install cryptochain-sdk
68K/wk 1.4K 🐍 3.9+
Go
v2.1.3 — Latest stable

High-performance Go SDK ideal for validator infrastructure, indexers, and high-throughput trading bots. Supports all native precompiles.

go get cryptochain.io/sdk
31K/wk 980 🐹 1.20+
Java / Kotlin
v2.0.5 — Latest stable

JVM SDK for enterprise Java and Android applications. Kotlin-first API with full coroutines support. Compatible with web3j for easy migration.

implementation 'io.cryptochain:sdk:2.0.5'
22K/wk 640 JVM 11+
.NET / C#
v1.9.2 — Stable

Nethereum-compatible .NET SDK. Supports Unity game engine for Web3 gaming integrations. Full async/await, strong typing, and NuGet packaging.

dotnet add package CryptoChain.SDK
18K/wk 510 🎮 Unity
Rust
v1.8.0 — Stable

Zero-copy, async Rust SDK powered by ethers-rs. Ideal for performance-critical applications, MEV bots, and native validator clients.

14K/wk 720 no_std

Everything You Need to Ship

A complete toolkit for every stage of the development lifecycle — from writing your first line of Solidity to monitoring your production dApp at scale.

🔭
CryptoScan — Block Explorer
Full-featured block explorer with contract verification, token analytics, address labels, and an interactive ABI reader. Supports mainnet, testnet, and devnet. Export to CSV for tax reporting.
ExplorerLiveContract Verify
⚒️
Hardhat Plugin
Official Hardhat plugin with CryptoChain-specific tasks: deploy to mainnet/testnet, verify contracts, run gas benchmarks against native precompiles, and simulate parallel execution lanes.
HardhatSolidityTypeChain
🔨
Foundry Integration
Native Foundry cheatcodes for CryptoChain V2 primitives. Mock native precompile calls in Forge tests, fuzz parallel execution edge cases, and generate gas reports broken down by precompile type.
FoundryForgeFuzz Testing
📊
Analytics Dashboard
Real-time monitoring for deployed contracts: gas consumption, call frequency, event logs, TVL tracking, and user retention charts. Set threshold alerts and export raw data via REST or WebSocket.
Real-timeWebSocketGrafana Export
🛡️
Static Analyser
Automated pre-audit tool scanning for reentrancy, integer overflow, access control, and CryptoChain-specific issues like unsafe cross-shard calls and missing parallel execution hints. CI/CD ready via CLI or GitHub Action.
SecurityCI/CDGitHub Action
🎭
Local Devnet
Spin up a fully-featured CryptoChain node locally with one command. Includes pre-funded accounts, fast block times (200ms), and all V2 native precompiles. Supports state snapshots and revert for testing.
DockerLocalPre-funded

Network Endpoints

Public endpoints for getting started. For production workloads, upgrade to a dedicated node for guaranteed uptime, higher rate limits, and WebSocket support.

Mainnet
● Live
HTTPS RPC
https://rpc.cryptochain.io
WSS RPC
wss://rpc.cryptochain.io/ws
Chain ID
7777
Currency
CCT
Rate limit: 100 req/s · Free tier
Upgrade to dedicated →
Testnet (Helios)
● Public Beta
HTTPS RPC
https://testnet.cryptochain.io
WSS RPC
wss://testnet.cryptochain.io/ws
Chain ID
7778
Currency
tCCT (free)
Rate limit: Unlimited · No API key needed
Get testnet CCT →
Devnet
● Experimental
HTTPS RPC
https://devnet.cryptochain.io
WSS RPC
wss://devnet.cryptochain.io/ws
Chain ID
7779
Features
V2.1 preview APIs
Rate limit: Unlimited · May reset anytime
View devnet changelog →
Dedicated Node
PRO
Your own dedicated RPC node with a guaranteed SLA, custom configuration, private mempool access, and 24/7 support.
  • Unlimited requests/second
  • 99.99% uptime SLA
  • Private WebSocket streams
  • MEV-protected mempool
  • Archive node access
Get Dedicated Node →

Get Free Testnet CCT

Deploy and test your smart contracts on the Helios testnet without spending a single dollar. Free tCCT dispensed every 24 hours.

🚰

Helios Testnet Faucet

Enter your wallet address to receive 100 tCCT on the Helios testnet. Funds typically arrive within 1–2 blocks (~380ms each).

Dispenses 100 tCCT Once per 24 hours Chain: Helios (7778) Arrives in ~380ms

Build with Thousands of Developers

Join the most active blockchain developer community. Get help, share your projects, access office hours, and shape the protocol's future.

💬
Discord
Real-time help in #dev-support. Daily office hours with core engineers every weekday at 15:00 UTC.
32,700+ members
Join Discord →
GitHub
Browse protocol source, open issues, submit PRs, and track the roadmap. All core repos are open source.
48 public repos
View GitHub →
📘
Developer Forum
Long-form discussions, protocol research proposals (PRPs), and technical deep-dives from the community and core team.
12,400+ posts
Read Forum →
🎓
Dev Academy
Free structured courses from "Hello CryptoChain" to advanced DeFi protocol design. Earn a CryptoChain Certified Developer NFT on completion.
4,200 graduates
Start Learning →

What's New

Track every update to CryptoChain SDKs, APIs, and developer tooling. Subscribe to our developer digest for weekly summaries.

Jun 10, 2025
JS SDK v2.4.1 · Python SDK v2.2.0
NewImprovement
Added full support for V2 parallel execution hints (PARALLEL_HINT precompile wrapper)
New ZKWallet class with Groth16 proof generation and shielded transfers
Python: async/await rewrite of the staking module — 4x throughput improvement
React hooks package @cryptochain/react released with useBalance, usePools, useValidator hooks
May 28, 2025
REST API v2.1 · CryptoScan v3.0
NewSecurity
REST API: new /defi/swap/quote endpoint with sub-100ms quote latency
REST API: WebSocket event subscriptions for blocks, transactions, and price feeds
API key rotation endpoint added for improved key hygiene practices
CryptoScan: NFT gallery view, holder analytics, and cross-shard transaction tracing
May 14, 2025
Hardhat Plugin v1.5.0 · Static Analyser v2.0
NewFix
Hardhat: cc:parallel-bench task to benchmark parallel vs sequential execution for your contracts
Static Analyser: 14 new rules for V2-specific patterns including unsafe cross-shard calls
Fixed gas estimation bug affecting contracts calling multiple native precompiles in a single transaction
GitHub Action now supports matrix testing across multiple Solidity compiler versions
Apr 30, 2025
Go SDK v2.1.3 · Foundry Integration v1.2.0
ImprovementFix
Go SDK: connection pooling for high-throughput RPC usage — handles 10K+ concurrent requests
Foundry: vm.ccMockNativeSwap() cheatcode for mocking native AMM responses in tests
Fixed race condition in Go SDK event listener when reconnecting after network interruption

Ready to Build?

Join 12,000+ developers building on the fastest EVM-compatible blockchain. Get $200 in free API credits on signup.