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

Add a prototype edge function using the solflare token SDK #277

Closed
wants to merge 1 commit into from

Conversation

mcintyre94
Copy link
Collaborator

  • The token list SDK can replace the large token list JSON we currently ship in our client bundle
  • I want to test whether we can use it in an edge function on Vercel, which should have much better performance than a normal API route since it's globally deployed
  • Edge functions have a bunch of limitations
  • Unhelpfully, the Vercel edge runtime polyfills web APIs when run locally (https://edge-runtime.vercel.app/#using-the-edge-runtime-locally)
  • So.. I'm just going to deploy this to Vercel as a PR and see if it works 🤷

@vercel
Copy link

vercel bot commented Jul 19, 2023

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

Name Status Preview Comments Updated (UTC)
explorer ❌ Failed (Inspect) Jul 19, 2023 10:51am

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