Running a Cacher
Cacher nodes are edge caching nodes distributed across the CD²N network, designed to operate efficiently with minimal resources. They are suitable for deployment on various devices including personal computers, servers, smartphones, and Raspberry Pi. The primary functions of Cacher nodes include providing or caching user data for Retrievers in CD²N, creating value through contributions of cache storage and bandwidth resources. Cacher nodes currently operate in three modes:
Receiving user data shards from gateways and distributing them to connected storage nodes, accelerating persistent storage processes;
Retrieving data shards from local cache, storage nodes, or alternative sources (e.g., IPFS) to fulfill data requests from Retriever nodes;
Storing user data offloaded from Retriever nodes in local cache for rapid response, enabling dynamic scaling of Retriever node cache capacity;
Typical deployment scenarios for Cacher nodes include:
Independent operation on personal devices to earn rewards by caching offloaded data from Retriever nodes;
Co-deployment with storage nodes to enhance mining rewards through data provisioning and earn additional income by serving data from storage nodes to Retrievers;
Integration with external platforms (e.g., IPFS nodes) to facilitate cross-platform resource interoperability and earn rewards by serving data from these platforms to Retrievers;
Cacher node rewards are calculated based on verifiable data volume contributed to Retriever nodes. Rewards are distributed periodically according to the Proof of Traffic (PoT) protocol, with properly configured nodes automatically claiming earnings each operational cycle.
Hardware Requirements
Processor: 2.0 GHz or higher
Memory: 2 GB or higher
Storage: 32 GB or higher
Bandwidth: 10 Mbps or higher
OS: Ubuntu, CentOS
Network: TCP/IP support
Account Preparation
Operating a Cacher node requires two Ethereum wallet accounts:
Node Operational Account: For node registration and reward collection
Token Account: Holds the NFT access certificate for CD²N network participation
Key considerations:
Both accounts interact with smart contracts on CESS consensus nodes' EVM
Each NFT token can only authorize one Cacher node
Testnet phases:
Early phase: No token required
Mid phase: Tokens distributed by CESS community
Final phase: Test contract activation
Setup steps:
Create Operational Account:
Generate Ethereum wallet
Fund with $CESS for transaction fees
Create Token Account:
Generate Ethereum wallet
Acquire token via purchase or community distribution
Generate Token Authorization:
Use CD²N signing tool with token account's private key
Sign node operational account and token details
This signature serves as proof of token-node binding
Configuration File
When leaving account, token, and signature fields empty, the node operates in altruistic mode - contributing resources without financial rewards. This mode gains gateway trust for increased data shard allocation to enhance storage node mining efficiency, used during debugging and early testnet phases.
Running via Docker
Download the cesslab/cacher image from Docker Hub and launch with:
Replace /opt/cd2n/cacher with your host's data directory and /opt/cess/config.yaml with your config file path. Configuration updates require container restart.
Running via Nodeadm
The mineradm program (latest version) will natively support Cacher operations, enabling communication between storage nodes in NAT environments and Retriever nodes for bidirectional data flow between users and the CESS network. By default, Cacher operates in altruistic mode. Configure Cacher nodes through mineradm's default config file at /opt/cess/mineradm/config.yaml.
Last updated
Was this helpful?

