# Lethean Trade Backend Backend service for the Lethean decentralised exchange (DEX). Built with Express, Socket.IO, and PostgreSQL. ## Configuration Copy `.env.example` to `.env` and set real values: ```bash cp .env.example .env ``` ### Lethean RPC Endpoints | Service | Testnet | Mainnet | |---------|---------|---------| | Daemon RPC | `http://127.0.0.1:46941/json_rpc` | `http://127.0.0.1:36941/json_rpc` | | Wallet RPC | `http://127.0.0.1:46944/json_rpc` | `http://127.0.0.1:36944/json_rpc` | Set `DAEMON_RPC_URL` and `WALLET_RPC_URL` in `.env` accordingly. ## Getting Started ```bash npm install npm run dev ``` ## Address Format Lethean addresses use the `iTHN` prefix.