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

Use usePublicClient instead of createPublicClient to use the global alchemy api key #80

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

portdeveloper
Copy link
Member

Description

So yesterday @Pabl0cks messaged me that address vision did not work. When I got back home and checked, it worked. Few hours after that it stopeed working.

The reason was that I used createPublicClient in some places in the app instead of using usePublicClient which would let us use the alchemy api key set up globally in the app.

This PR

-> Uses usePublicClient instead of createPublicClient wherever possible
-> Adds an alchemy api key to the vercel deployment and uses it
-> Updates an import

Copy link

vercel bot commented Dec 25, 2024

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

Name Status Preview Comments Updated (UTC)
address-vision-port ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 6:33am

@portdeveloper portdeveloper merged commit f50dfcc into main Dec 25, 2024
3 checks passed
@portdeveloper
Copy link
Member Author

merged since this problem broke the app :/

@portdeveloper portdeveloper deleted the fix/api-key branch December 25, 2024 16:52
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.

1 participant