Node Setup (Relayer & Indexer)
This guide is intended for technically inclined community members, contributors, and power users interested in supporting the decentralization and resilience of OmniSocial’s infrastructure.
⚙️ 1. Relayer Node Setup (OmniWallet Meta-Tx Handler)
📦 Requirements
📁 Clone the Repo
git clone https://github.com/OmniSocialBlockchain/omnisocial-relayer.git
cd omnisocial-relayer📄 .env Configuration
.env ConfigurationPRIVATE_KEY=your_relayer_wallet_private_key
RPC_URL=https://your-zkevm-rpc-node
CHAIN_ID=1101
REDIS_URL=redis://localhost:6379
WALLET_FACTORY_ADDRESS=0xOmniWalletFactory...
RELAYER_LOG_LEVEL=info
PORT=4000🚀 Start the Relayer
📝 Logs and metrics are available at localhost:4000/health and /metrics.
localhost:4000/health and /metrics.🌐 2. Indexer Node Setup (The Graph)
📦 Requirements
📁 Clone the Subgraph
🐳 Spin Up the Graph Node Stack
🚀 Deploy the Subgraph
🔄 Syncing & Metrics
💡 Why Run a Node?
🛠 Optional Enhancements
Last updated
Was this helpful?
