Repository navigation
Arc to Stellar and Sui; Stellar to Sui in /v1 - #312
Open
ezedike-evan wants to merge 2 commits into
Open
ezedike-evan wants to merge 2 commits into
ezedike-evan wants to merge 2 commits into
Conversation
Arc to Stellar was built (NEXT_PUBLIC_EVM_TO_STELLAR) but never switched
on, and a /v1 status poll never handed the burn to the relayer. Arc to
Sui did not exist: no Sui recipient for an EVM burn, no Sui destination
in the API, no relayer for EVM burns into Sui.
- cctp-evm: { kind: "sui" } recipient, plain depositForBurn to domain 8,
zero caller; a string recipient to Sui and the wrapper to Sui refused
- sdk: NEXT_PUBLIC_EVM_TO_SUI route list (parseEvmToSui, evmSendsToSui)
- api: sui destination (quote, build, status, claims with a Sui payer);
Stellar to Sui listed when switched on and domain 8 is committed
unforwarded; status polls relay EVM->Stellar, EVM->Sui, Stellar->Sui
- relayer: /api/sui-inbound/complete and /status, same Sui key, only
chains in NEXT_PUBLIC_EVM_TO_SUI, from 1 USDC
- web: Sui and Stellar in the EVM page's picker, relayed panel
- docs/arc-to-stellar-and-sui.md: mainnet proof steps, Stellar domains plan
All off by default.
No new relayer: /api/stellar-sui/complete (lib/stellar-sui/relayer.ts)
now also takes {"src": <EVM domain>, "tx": "0x..."} for an EVM burn into
Sui from a chain named in NEXT_PUBLIC_EVM_TO_SUI, at least 1 USDC, with
a zero destinationCaller. {"tx": <Stellar hash>} (or src 27) is unchanged.
- removes lib/sui-inbound and /api/sui-inbound/{complete,status}
- /v1 status reads Circle's attestation (/api/attestation) to tell a
burn to Sui, and relays Arc->Sui and Stellar->Sui through the one route
(Deps.suiMintRelay replaces stellarSuiRelay, suiInboundRelay and
suiInboundStatus)
- the EVM page's Sui panel polls /api/stellar-sui/complete with src
- tests moved onto the existing relayer and route
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
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.
NEXT_PUBLIC_EVM_TO_STELLAR.{kind: "sui"}recipient inpackages/cctp-evm,NEXT_PUBLIC_EVM_TO_SUI/parseEvmToSui/evmSendsToSuiin the SDK. Delivery goes through the existing Sui relayer:POST /api/stellar-sui/completenow also accepts{src: 26, tx}(evmBurnProblem,relayEvmToSui,submitSuiMint). No new relayer.suiis a destination; Stellar -> Sui and Arc -> Sui are listed in /v1/routes (Stellar -> Sui has been in the app since 25 Nov but was missing from the list); status polls hand transfers to the relayer viaDeps.suiMintRelay.relayer-evm.test.ts,route.test.ts; full web suite passed locally (1067).docs/arc-to-stellar-and-sui.md.Rollout: both new directions stay off until the flags are set. Set
NEXT_PUBLIC_EVM_TO_STELLAR=arcandNEXT_PUBLIC_EVM_TO_SUI=arcon a Preview, send 1.5 USDC each way, then Production. Top up the Sui relayer first (0.119 SUI).🤖 Generated with Claude Code