.cursor/skills/0g-da/SKILL.md
Integrate 0G Data Availability layer for rollups, L2s, and high-throughput applications. Use when building with DA, running DA nodes, or integrating rollups.
npx skillsauth add fabianferno/caas-1213 0g-daInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Infinitely scalable DA layer — 50 Gbps throughput, VRF-based quorums, built-in storage, Ethereum-inherited security.
git clone https://github.com/0gfoundation/0g-da-client.git
cd 0g-da-client
docker build -t 0g-da-client -f combined.Dockerfile .
Create envfile.env:
COMBINED_SERVER_CHAIN_RPC=https://evmrpc-testnet.0g.ai
COMBINED_SERVER_PRIVATE_KEY=YOUR_PRIVATE_KEY
ENTRANCE_CONTRACT_ADDR=0x857C0A28A8634614BB2C96039Cf4a20AFF709Aa9
COMBINED_SERVER_RECEIPT_POLLING_ROUNDS=180
COMBINED_SERVER_RECEIPT_POLLING_INTERVAL=1s
COMBINED_SERVER_TX_GAS_LIMIT=2000000
COMBINED_SERVER_USE_MEMORY_DB=true
COMBINED_SERVER_KV_DB_PATH=/runtime/
COMBINED_SERVER_TimeToExpire=2592000
DISPERSER_SERVER_GRPC_PORT=51001
BATCHER_DASIGNERS_CONTRACT_ADDRESS=0x0000000000000000000000000000000000001000
BATCHER_FINALIZER_INTERVAL=20s
BATCHER_CONFIRMER_NUM=3
BATCHER_MAX_NUM_RETRIES_PER_BLOB=3
BATCHER_FINALIZED_BLOCK_COUNT=50
BATCHER_BATCH_SIZE_LIMIT=500
BATCHER_ENCODING_INTERVAL=3s
BATCHER_ENCODING_REQUEST_QUEUE_SIZE=1
BATCHER_PULL_INTERVAL=10s
BATCHER_SIGNING_INTERVAL=3s
BATCHER_SIGNED_PULL_INTERVAL=20s
BATCHER_EXPIRATION_POLL_INTERVAL=3600
BATCHER_ENCODER_ADDRESS=DA_ENCODER_SERVER
BATCHER_ENCODING_TIMEOUT=300s
BATCHER_SIGNING_TIMEOUT=60s
BATCHER_CHAIN_READ_TIMEOUT=12s
BATCHER_CHAIN_WRITE_TIMEOUT=13s
docker run -d --env-file envfile.env --name 0g-da-client \
-v ./run:/runtime -p 51001:51001 0g-da-client combined
Requires Rust + NVIDIA GPU (RTX 4090 tested).
git clone https://github.com/0gfoundation/0g-da-encoder.git
# Download params
./dev-support/download_params.sh
# Run server
cargo run -r -p server --features grpc/parallel,grpc/cuda -- --config run/config.toml
Serves on port 34000 via gRPC.
git clone https://github.com/0gfoundation/0g-da-retriever.git
cd 0g-da-retriever
docker build -t 0g-da-retriever .
docker run -d --name 0g-da-retriever -p 34005:34005 0g-da-retriever
| Node Type | Memory | CPU | Bandwidth | Notes | |-----------|--------|-----|-----------|-------| | DA Client | 8 GB | 2 cores | 100 MBps | | | DA Encoder | - | - | - | NVIDIA RTX 4090 + CUDA 12.04 | | DA Retriever | 8 GB | 2 cores | 100 MBps | |
0xE75A073dA5bb7b0eC622170Fd268f35E675a957B0x0000000000000000000000000000000000001000See example: https://github.com/0gfoundation/0g-da-example-rust/blob/main/src/disperser.proto
BLOB_PRICE per DA blob submission1/REWARD_RATIO of reward pool per valid responsedevelopment
Guides integration and answers about the Ethereum Name Service using official ENS documentation. Use when working with ENS, .eth names, resolvers, reverse resolution, primary names, text records, multichain ENS, CCIP Read, Name Wrapper, ENSIPs, SIWE with ENS, subgraphs, or ENS DAO governance docs.
development
Integrate 0G decentralized storage using Go/TypeScript SDKs. Use when uploading, downloading, or managing files and key-value data on 0G Storage.
testing
Entry point for the 0G (Zero Gravity) decentralized AI stack. Use when the user mentions 0G, 0g labs, Galileo testnet, 0g chain, 0g storage, 0g compute, 0g DA, INFT, ERC-7857, DePIN, or alignment nodes; route to the focused skill below or official docs.
development
Build INFTs (Intelligent NFTs) with ERC-7857 for tokenizing AI agents. Use when creating, transferring, or integrating AI agent NFTs with encrypted intelligence.