Documentation

Backend Setup

Detailed setup for the action processor service

Installation

cd cylend-service
npm install

Configuration

Create .env file:

PONDER_API_URL=http://localhost:42069/graphql
SAPPHIRE_RPC_URL=https://testnet.sapphire.oasis.io
CORE_ADDRESS=0xF57a9FEAdCfb103ACC3f20a82F74858330b26862
OWNER_PRIVATE_KEY=0x...your_private_key...
Caution

Never commit OWNER_PRIVATE_KEY to version control!

Run Service

Development:

npm run dev

Production:

npm run start

Related