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

Implement Auto Teleport Functionality - Closes #97 -M9 #117

Merged
merged 8 commits into from
Mar 28, 2024

Conversation

noahjoeris
Copy link
Contributor

@noahjoeris noahjoeris commented Mar 28, 2024

This PR adds auto teleport functionality. Closes #97

  • add useTeleport hook with all teleport logic (fully documented)
  • add new button component with auto teleport toggle (PrimaryButtonWithAutoTeleport)
  • add auto teleport feature in both directions (Relay <-> Coretime Chain)
  • includes a buffer of 5 * 10^9 (0.005 ROC) to prevent potential edge cases (can be removed or adjusted)
  • add relay token balance on teleport page and change modal message
  • updated buttons: Buy Core, Purchase Credits

Copy link

vercel bot commented Mar 28, 2024

@noahjoeris is attempting to deploy a commit to the Lastic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Mar 28, 2024

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

Name Status Preview Comments Updated (UTC)
lastic-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 2:12pm

Copy link
Contributor

@poppyseedDev poppyseedDev left a comment

Choose a reason for hiding this comment

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

Code looks really nice!
Checked the interaction, I think the auto teleport part needs a bit better flow (+ user feedback) along with checks of balance, but I think that's out of scope of this issue.

@poppyseedDev poppyseedDev merged commit 99fe8db into LasticXYZ:main Mar 28, 2024
2 checks passed
@poppyseedDev poppyseedDev changed the title Implement Auto Teleport Functionality - Closes #97 Implement Auto Teleport Functionality - Closes #97 -M9 Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Implement auto teleport
2 participants