example-portal-fast-withdrawal/README.md

25 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2022-10-05 19:26:51 -07:00
# Example Portal Fast Withdrawal
2022-10-03 19:35:53 -07:00
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!_
2022-10-05 20:44:42 -07:00
## 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
2022-10-05 21:11:49 -07:00
- [ ] Redeem fast transfer to user, sans 1% to pool / 1% to protocol
2022-10-05 20:44:42 -07:00
- [ ] Redeem portal transfer to pool
- [ ] Setup pool via creating and registering of LP token
- [ ] Portal ABI parity
- [ ] Ownable and owner-only registration
2022-10-05 21:11:49 -07:00
- [ ] Specialized relayer to relay fast and portal transfers
- [ ] Simple UI
2022-10-05 20:44:42 -07:00
## Disclaimer
This is an example only, not suitable for practically anything!