Lethean Trade DEX — API backend
Find a file
Claude 1623966c32
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN
- Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC)
- Wallet: 11212 → 36944/46944
- Address prefix: iTHN
- URLs: zano.org → lethean.io
- Explorer links: explorer.lthn.io

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:24:07 +01:00
.github/workflows Delete .github/workflows/apisec-scan.yml 2025-12-02 18:11:17 +07:00
.husky finish 2025-07-01 21:07:46 +05:00
config finish 2025-07-01 21:07:46 +05:00
migrations add indexes 2026-03-14 15:38:03 +07:00
shared add: add auth session 2026-02-19 01:22:32 +03:00
src rebrand(lethean): update branding, ports, and config for Lethean blockchain 2026-04-01 22:24:07 +01:00
.dockerignore docker & actions setup for dev 2025-07-06 19:03:43 +07:00
.env.example rebrand(lethean): update branding, ports, and config for Lethean blockchain 2026-04-01 22:24:07 +01:00
.eslintignore finish 2025-07-01 21:07:46 +05:00
.eslintrc.json add indexes 2026-03-14 15:38:03 +07:00
.gitignore finish 2025-07-01 21:07:46 +05:00
.prettierignore finish 2025-07-01 21:07:46 +05:00
.sequelizerc finish 2025-07-01 21:07:46 +05:00
Dockerfile docker & actions setup for dev 2025-07-06 19:03:43 +07:00
jsconfig.json finish 2025-07-01 21:07:46 +05:00
nodemon.json finish 2025-07-01 21:07:46 +05:00
package-lock.json rebrand(lethean): update branding, ports, and config for Lethean blockchain 2026-04-01 22:24:07 +01:00
package.json rebrand(lethean): update branding, ports, and config for Lethean blockchain 2026-04-01 22:24:07 +01:00
prettier.config.cjs finish 2025-07-01 21:07:46 +05:00
README.md rebrand(lethean): update branding, ports, and config for Lethean blockchain 2026-04-01 22:24:07 +01:00
tsconfig.json finish 2025-07-01 21:07:46 +05:00

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:

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

npm install
npm run dev

Address Format

Lethean addresses use the iTHN prefix.