Adapter for integrating Algebra DEX protocols with DEX Screener. Supports multiple chains and provides a unified API interface.
- Docker & Docker Compose installed
- 2GB RAM minimum
- Open ports: 80, 443
- Configure:
cd dexscreener-adapter
cp .env.example .env
# Edit .env file with your configuration- Start Services:
docker compose up --build -d- Test API:
All endpoints follow the pattern: /{network}/{endpoint}
# Test health
curl http://localhost:8000/health
# Test endpoints
curl http://localhost:8000/polygon/latest-block
curl http://localhost:8000/polygon/asset?id=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
The adapter uses a flexible configuration system based on environment variables.
# Networks (comma-separated list)
NETWORKS=ethereum,polygon,arbitrum,base
# Logging
LOG_LEVEL=INFOEach network requires a subgraph URL configured with the pattern {NETWORK}_SUBGRAPH_URL:
# Default networks (automatically configured if not specified)
ETHEREUM_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/cryptoalgebra/algebra-integral-mainnet
POLYGON_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/cryptoalgebra/algebra-integral-polygon
NETWORKS=ethereum,polygon