Skip to content

Finalize Atlas database connection and add multi-chain support (Chang… - #11

Merged
AnmolM-777 merged 1 commit into
AnmolM-777:mainfrom
KingCloudAmazing:main
Apr 14, 2026
Merged

AnmolM-777 merged 1 commit into
AnmolM-777:mainfrom
KingCloudAmazing:main

Conversation

@KingCloudAmazing

Copy link
Copy Markdown
Collaborator

…es made in Docker, frontend, backend)

Docker Architecture:

  • Revert to MongoDB Atlas (removed local mongo container).
  • Remove ineffective frontend volume mounts (multi-stage nginx build).
  • Sync backend/.env and .env.example with correct ports and Atlas URI.
  • Update UI host ports to 3001, 5001, 8001 temporarily to handle port conflicts.

Frontend UI:

  • Replace hardcoded 'eth-mainnet' with chain selector dropdowns.
  • Support 6 chains (ETH, Polygon, BSC, BTC, DOGE, LTC) in Dashboard and Comparison views.

Backend Architecture:

  • ledger.service.js: Implemented a central routing orchestrator to direct EVM chains to GoldRush and non-EVM chains to Tatum, mapping diverse external data into a unified MongoDB document.
  • tatum.service.js: Added dedicated UTXO chain ingestion engine for Bitcoin, Dogecoin, and Litecoin. Implemented a robust failover mechanism to free public block explorers (Blockstream/BlockCypher) when Tatum API limit is reached or unavailable.

Documentation:

  • Rewrite DOCKER_README.md reflecting Atlas-first persistence and frontend-build workflow.
  • Add comprehensive .env recreation guide and test addresses for non-EVM chains.

…es made in Docker, frontend, backend)

Docker Architecture:
- Revert to MongoDB Atlas (removed local mongo container).
- Remove ineffective frontend volume mounts (multi-stage nginx build).
- Sync backend/.env and .env.example with correct ports and Atlas URI.
- Update UI host ports to 3001, 5001, 8001 temporarily to handle port conflicts.

Frontend UI:
- Replace hardcoded 'eth-mainnet' with chain selector dropdowns.
- Support 6 chains (ETH, Polygon, BSC, BTC, DOGE, LTC) in Dashboard and Comparison views.

Backend Architecture:
- ledger.service.js: Implemented a central routing orchestrator to direct EVM chains to GoldRush and non-EVM chains to Tatum, mapping diverse external data into a unified MongoDB document.
- tatum.service.js: Added dedicated UTXO chain ingestion engine for Bitcoin, Dogecoin, and Litecoin. Implemented a robust failover mechanism to free public block explorers (Blockstream/BlockCypher) when Tatum API limit is reached or unavailable.

Documentation:
- Rewrite DOCKER_README.md reflecting Atlas-first persistence and frontend-build workflow.
- Add comprehensive .env recreation guide and test addresses for non-EVM chains.
@AnmolM-777
AnmolM-777 merged commit 7be68a4 into AnmolM-777:main Apr 14, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants