Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Rosen Bridge to the existing Swap flow for native FIRO ↔ rsFIRO on Ethereum mainnet. Users can create, fund, refresh, and resume swaps through the existing mobile/desktop confirmation screens and trade history.
Includes the rsFIRO and Campfire commits from #1444. Campfire can add FIRO, ETH, rsFIRO, USDC, and USDT wallets. The bridge and Add wallet share one rsFIRO contract definition.
Implementation
Exchange, trade persistence, wallet signing/broadcast, FIRO coin selection, and ERC-20 transaction history. Uses existing coinlib address/hex helpers and web3dart ABI encoding.flutter test --coverageworkflow and prebuild configuration stubs. Fee regressions use normal test discovery. No new dependencies or workflows.Protocol configuration and pinned upstream references are documented in
docs/rosen_bridge.md.Validation
git diff --checkpass.The full GitHub CI run must still pass. This remains a draft until the application flows and live transfers in both directions are validated; no funds were sent during testing.