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

feat: Update Bridge #7359

Merged
merged 17 commits into from
Jul 19, 2023
Merged

feat: Update Bridge #7359

merged 17 commits into from
Jul 19, 2023

Conversation

ChefMomota
Copy link
Contributor

@ChefMomota ChefMomota commented Jul 13, 2023

πŸ€– Generated by Copilot at 48b254e

Summary

πŸš€πŸ› οΈπŸ°

This pull request integrates the LayerZero SDK into the bridge app, to enable cross-chain swapping of CAKE tokens with Stargate partners. It updates the UI, the script source and integrity, and the development server configuration. It affects the files LayerZeroWidget.tsx, index.tsx, config.ts, and package.json.

We're sailing on the cross-chain bridge, me hearties
We're swapping CAKE with the lz-bridge element
We've updated the SDK script and the CSS
So heave away and let the LayerZero bless

Walkthrough

  • Update the LayerZero SDK script and styles to the latest version that supports PancakeSwap (link, link)
  • Replace the <aptos-bridge /> component with two new components from the SDK: <lz-tracker /> and <lz-bridge /> (link, link)
  • Initialize the LayerZero SDK with the Stargate partner configuration and sync the wallets from the wallet store (link, link)
  • Reduce the padding of the bridge container to avoid overlapping with the sidebar (link)
  • Reduce the concurrency of the dev:bridge script to prevent memory issues (link)

@changeset-bot
Copy link

changeset-bot bot commented Jul 13, 2023

⚠️ No Changeset found

Latest commit: 576b6a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jul 13, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
bridge βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 18, 2023 2:46am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Jul 18, 2023 2:46am
blog ⬜️ Ignored (Inspect) Jul 18, 2023 2:46am
uikit ⬜️ Ignored (Inspect) Visit Preview Jul 18, 2023 2:46am
web ⬜️ Ignored (Inspect) Visit Preview Jul 18, 2023 2:46am

@vercel
Copy link

vercel bot commented Jul 13, 2023

@ChefMomota is attempting to deploy a commit to the PancakeSwap Team on Vercel.

A member of the Team first needs to authorize it.

@ChefMomota ChefMomota changed the title feat: Test Bridge feat: Update Bridge Jul 17, 2023
@ChefMomota ChefMomota marked this pull request as ready for review July 17, 2023 14:03
@kodiakhq kodiakhq bot merged commit 3196939 into pancakeswap:develop Jul 19, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge When PR is ready to merge size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants