Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quote and swap #17

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Quote and swap #17

merged 3 commits into from
Feb 27, 2024

Conversation

PrintRH
Copy link
Collaborator

@PrintRH PrintRH commented Feb 27, 2024

Implement 0x API integration.

Features include:

  1. Quote.tsx: Fetch price from API and approve function from 0x exchange proxy contract
  2. Swap.tsx: Finalizes price from fetch and locks in to prepare for swap
  3. DonateOrSwap.tsx: Button to create a pop up modal for donors to execute transaction

Tested and working on Sepolia

Copy link

vercel bot commented Feb 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fund-guys ❌ Failed (Inspect) Feb 27, 2024 11:02pm

Copy link
Owner

@MattPereira MattPereira left a comment

Choose a reason for hiding this comment

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

@PrintRH really admire your dedication and all the hard work you put in fighting through the nextjs app router compatibility stuff. Also thanks for the sweet UX preview gif on telegram. So cool to watch you constantly growing and improving as a full stack web3 dev!!!

🔥 🔥 🔥 🔥 🔥 🔥

@MattPereira MattPereira merged commit 5d6d067 into main Feb 27, 2024
2 of 4 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