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 Wormhole logic #439

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft

Add Wormhole logic #439

wants to merge 24 commits into from

Conversation

wormat
Copy link
Collaborator

@wormat wormat commented Oct 13, 2022

  • Adjust client initiate Wormhole params to be less Swim-specific
  • Add a scraper/data processor for Wormhole token list
  • Add processed data to UI source code
  • Add Wormhole transfer hooks
  • Add basic Wormhole page/form to demo how to use these

Notion ticket: https://www.notion.so/exsphere/Bring-back-Wormhole-form-bd96882511604d06a09d79476ba35c7f

To-do

  • Adjust scraper to filter out wrapped details for non-Solana/EVM chains and exclude any tokens which don't support at least 2 Solana/EVM chains
  • Make an npm script in the UI package.json to update the Wormhole token scraper
  • Fix tsconfig/eslint issue with script
  • Make form look good
  • I18n of strings
  • Publish SDK and update UI dependencies

Checklist

  • Github project and label have been assigned
  • Tests have been added or are unnecessary
  • Docs have been updated or are unnecessary
  • Preview deployment works (visit the Cloudflare preview URL)
  • Manual testing in #product-testing completed or unnecessary
  • New i18n strings do not contain any security vulnerabilities (e.g. should not allow translator to update email/url)
  • When fetching new translations from external sources, do a sanity check (e.g. get people who speak the language to check, shove all new translations into Google translate)

@wormat wormat added the feature New feature or request label Oct 13, 2022
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 13, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e78fce
Status: ✅  Deploy successful!
Preview URL: https://ba553102.swim-ui.pages.dev
Branch Preview URL: https://ui-wormhole-hooks.swim-ui.pages.dev

View logs

Copy link
Contributor

@ramenuncle ramenuncle left a comment

Choose a reason for hiding this comment

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

Please ignore my approve. It's a misclick

@ramenuncle
Copy link
Contributor

Structure looks ok to me

@wormat wormat force-pushed the ui/wormhole-hooks branch 3 times, most recently from 2c59c83 to dfdb38e Compare October 20, 2022 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants