Skip to content

fetch quotes from mint with HTTP client#48

Merged
vnprc merged 1 commit intovnprc:masterfrom
machuPikacchuBTC:refactor-quotes
Jun 4, 2025
Merged

fetch quotes from mint with HTTP client#48
vnprc merged 1 commit intovnprc:masterfrom
machuPikacchuBTC:refactor-quotes

Conversation

@machuPikacchuBTC
Copy link
Collaborator

This PR replaces #47 as that branch fell out of sync with master.

Note: this is dependent on vnprc/cdk#2.

Addresses #45

This PR adds a method for fetching a batch of quote IDs from the mint via an HTTP Get request instead of reading from Redis directly.

Steps to get it running:

  • export CDK_PATH=/path/to/cdk/repo/crates/cdk/
  • just local-cdk
  • add the redis feature to the cdk-axum import in the mint Cargo.toml cdk-axum = { path = "$CDK_PATH/cdk-axum", features = ["redis"] }
  • devenv up

@machuPikacchuBTC machuPikacchuBTC mentioned this pull request Jun 4, 2025
@vnprc
Copy link
Owner

vnprc commented Jun 4, 2025

clean, minimal, functional

love it!

ty for the hard work sir 🤝

@vnprc vnprc merged commit f490e75 into vnprc:master Jun 4, 2025
@machuPikacchuBTC machuPikacchuBTC deleted the refactor-quotes branch June 4, 2025 15:37
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