Skip to content

feat: creating the coingecko mock API;#7

Open
lgahdl wants to merge 3 commits into
luizhatem/cow-539-add-additional-tokens-usdt-gno-and-uniswapv2pairsfrom
luizhatem/cow-542-implement-coingecko-api-mock-for-offline-price-fetching
Open

feat: creating the coingecko mock API;#7
lgahdl wants to merge 3 commits into
luizhatem/cow-539-add-additional-tokens-usdt-gno-and-uniswapv2pairsfrom
luizhatem/cow-542-implement-coingecko-api-mock-for-offline-price-fetching

Conversation

@lgahdl

@lgahdl lgahdl commented Nov 25, 2025

Copy link
Copy Markdown

feat: configuring docker-compose.offline.yml file to start coingecko mock and add it to the price estimators;

Changes

  • new folder "mocks" inside playground, where all the mocked services will be
  • new mocked service "coingecko"
  • Added coingecko deployment in the docker-compose.offline.yml and configured orderbook and autopilot to point to it, along with the driver and baseline too, they will work concurrently.

How to test

  1. Go to playground folder and run docker-compose -f docker-compose.offline.yml up -d
  2. Wait the containers to start and run ./test_playground_offline.sh --sellToken DAI --buyToken USDC --sellAmount 100e18 --from 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
  3. check the orderbook logs, search for "estimator="CoinGecko"

feat: configuring docker-compose.offline.yml file to start coingecko mock and add it to the price estimators;
@linear

linear Bot commented Nov 25, 2025

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Nov 25, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​types/​node@​20.19.251001008195100
Addednpm/​tsx@​4.20.61001008185100
Addednpm/​typescript@​5.9.31001009010090
Addednpm/​@​hono/​node-server@​1.19.610010010091100
Addednpm/​hono@​4.10.61001009795100

View full report

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Luiz Gustavo Abou Hatem de Liz added 2 commits November 26, 2025 17:28
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