Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wormhole-foundation/example-portal-fast-withdrawal
We could have named this legendary-palm-tree. We can only hope it will be as legendary.
https://github.com/wormhole-foundation/example-portal-fast-withdrawal
Last synced: 11 days ago
JSON representation
We could have named this legendary-palm-tree. We can only hope it will be as legendary.
- Host: GitHub
- URL: https://github.com/wormhole-foundation/example-portal-fast-withdrawal
- Owner: wormhole-foundation
- License: other
- Created: 2022-10-04T02:29:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T00:38:39.000Z (10 months ago)
- Last Synced: 2024-11-08T20:20:19.257Z (2 months ago)
- Language: JavaScript
- Size: 362 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Portal Fast Withdrawal
In a world where Ethereum finality takes ~18 minutes and Wormhole offers instant, un-finalized messaging in addition to finalized messaging, this repo imagines a Portal which can offer even faster transfers.
_Gotta go fast!_
## Concept
Provide liquidity for fast withdrawals in exchange for fee emissions (at the risk of never receiving the Portal transfer due to rollbacks). If pooled funds exist on the target chain, the user can complete their transfer immediately. If not, they can complete their transfer after their portal funds arrive.
## Progress
- [x] Send fast transfer and portal transfer
- [ ] Redeem fast transfer to user, sans 1% to pool / 1% to protocol
- [ ] Redeem portal transfer to pool
- [ ] Setup pool via creating and registering of LP token
- [ ] Portal ABI parity
- [ ] Ownable and owner-only registration
- [ ] Specialized relayer to relay fast and portal transfers
- [ ] Simple UI## Disclaimer
This is an example only, not suitable for practically anything!