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

Solana bridge #276

Merged
merged 37 commits into from
Jan 21, 2025
Merged

Solana bridge #276

merged 37 commits into from
Jan 21, 2025

Conversation

LeeSmet
Copy link
Contributor

@LeeSmet LeeSmet commented Jan 17, 2025

Add a stellar<-> solana bridge. The bridge functions similarly to the existing stellar <-> EVM bridge.

This PR only adds the actual bridge code, not a frontend for easier interaction. That can be sourced from the other bridge in a later stage as well.

- Copy stellar-evm bridge, aim to replace EVM components for
  solana components
- Start working on a solana client which can listen for the required
  events (burns on token program)

Signed-off-by: Lee Smet <[email protected]>
Fails with error InvalidAccountData

Signed-off-by: Lee Smet <[email protected]>
- Set correct token program
- Add compute budget instruction, proper compute budget calculation is
  still needed

Signed-off-by: Lee Smet <[email protected]>
Signed-off-by: Lee Smet <[email protected]>
Signed-off-by: Lee Smet <[email protected]>
We currently validate every tx by checking against the complete solana
history, so this is fine

Signed-off-by: Lee Smet <[email protected]>
Previously the bridge leader was assumed to hold the bridge address. Now
properly scan the given master address, this ensures the leader works if
the bridge is a proper multisig

Signed-off-by: Lee Smet <[email protected]>
@LeeSmet LeeSmet merged commit 58344e1 into main Jan 21, 2025
1 check passed
@LeeSmet LeeSmet deleted the solana_bridge branch January 21, 2025 13:41
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

Successfully merging this pull request may close these issues.

1 participant