Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Feature: New contracts for shared bridge and hyperscaling #19

Open
kelemeno opened this issue Nov 1, 2023 · 3 comments
Open

Feature: New contracts for shared bridge and hyperscaling #19

kelemeno opened this issue Nov 1, 2023 · 3 comments

Comments

@kelemeno
Copy link

kelemeno commented Nov 1, 2023

🌟 Feature Request

We need the shared bridge contracts on L1 for hyperscaling. Messages, deposits and withdrawals will go to all hyperchains via a shared Bridgehub contract, and the assets will be locked in shared bridges. This means the contracts change, so this repo also has to change.

📝 Description

The main difference is we will have to specify the chainId of the hyperchain we are depositing to, this is in src/adapters.ts . For backwards compatibility I think we can preserve the old methods and point them to Era.

@kelemeno kelemeno changed the title New contracts for shared bridge and hyperscaling Feature: New contracts for shared bridge and hyperscaling Nov 1, 2023
@danijelTxFusion
Copy link
Collaborator

danijelTxFusion commented Nov 2, 2023

@kelemeno Are mentioning about this change.

@kelemeno
Copy link
Author

kelemeno commented Nov 3, 2023

Yes, I have a local version but eventually it will need to be updated here as well.

@danijelTxFusion
Copy link
Collaborator

SDK version that support shared bridges:

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

No branches or pull requests

2 participants