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

Token + Data bridge #103

Open
arthcp opened this issue Jan 30, 2023 · 3 comments
Open

Token + Data bridge #103

arthcp opened this issue Jan 30, 2023 · 3 comments

Comments

@arthcp
Copy link
Contributor

arthcp commented Jan 30, 2023

Create template to send tokens along with data.

Details https://www.notion.so/sockettech/The-great-merge-95bafa7a00c0444eac0c372f6add7f5a

Summary

  • Starting phase 1 with non slippage bridges.
  • Going with pool based model.
  • All bridged funds are assumed fungible.
  • Bridge params are controlled by socket.
    • Single bridge configured along a path to get same fees for all.
    • Only token address and amount taken as input.
@arthcp
Copy link
Contributor Author

arthcp commented Jan 30, 2023

Non slippage bridges

  • AnySwap
  • PolygonBridge
  • ArbitrumBridge
  • Across
  • OptimismBridge

@arthcp
Copy link
Contributor Author

arthcp commented Jan 30, 2023

The pool based approach can be built as a plug or as a template.

  1. Plug
    • Setup overhead less for dapps.
    • Common liquidity pool for all.
    • Dapps loose customization on security since everyone's traffic is routed through same plug.
  2. Template
    • Setup overhead.
    • Full customization.
    • Multiple liq pools. Plugs might need to bootstrap some liquidity.

@arthcp
Copy link
Contributor Author

arthcp commented Jan 30, 2023

Going with template based approach for now. Will change it later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant