Background
Several venue endpoints are hardcoded mainnet-only: the Soroswap token-list URL (soroswap.ts:30-31), the Aquarius pools API (aquarius.ts:17), plus the default Soroswap factory and Reflector contract. On testnet these differ or don't exist. Dual-network needs each configurable (or gracefully skipped) per network.
What to build
Make token-list URL, Aquarius endpoint, factory address and oracle id per-network config, and let a venue be disabled where it has no testnet deployment.
Key files
src/ingesters/soroswap.ts (30-31 token list, factory)
src/ingest/venues/aquarius.ts:17
src/ingest/oracles/reflector.ts (24-26 default id)
Suggested execution
git checkout -b feat/per-network-venues
- Move the hardcoded URLs/addresses into the per-network config (L047)
- Add an enable flag per venue per network; skip cleanly when absent
- Document which venues exist on testnet
Acceptance criteria
Drips Wave · Complexity: Intermediate · 150 points
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk
Background
Several venue endpoints are hardcoded mainnet-only: the Soroswap token-list URL (
soroswap.ts:30-31), the Aquarius pools API (aquarius.ts:17), plus the default Soroswap factory and Reflector contract. On testnet these differ or don't exist. Dual-network needs each configurable (or gracefully skipped) per network.What to build
Make token-list URL, Aquarius endpoint, factory address and oracle id per-network config, and let a venue be disabled where it has no testnet deployment.
Key files
src/ingesters/soroswap.ts(30-31 token list, factory)src/ingest/venues/aquarius.ts:17src/ingest/oracles/reflector.ts(24-26 default id)Suggested execution
Acceptance criteria
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk