Tier: M (2-4 days) Type: content
Context
Hero has a code editor tabbed across send.ts / scan.ts / withdraw.ts. The examples are chain-agnostic. For the Stellar Wave program, lead with Stellar samples to make the partnership visible at first paint.
Scope
Update src/components/Hero.tsx:
- Default tab uses
@wraith-protocol/sdk/chains/stellar imports
- Examples lean on Stellar-specific functions (StrKey output,
st:xlm: meta-address)
- Optional: per-chain selector so visitors can switch the displayed chain
- Preserve existing tab UX (3 tabs, copy button, syntax highlighting)
- Snippets must compile against current SDK API
Acceptance criteria
Files to start with
Tier: M (2-4 days) Type: content
Context
Hero has a code editor tabbed across
send.ts/scan.ts/withdraw.ts. The examples are chain-agnostic. For the Stellar Wave program, lead with Stellar samples to make the partnership visible at first paint.Scope
Update
src/components/Hero.tsx:@wraith-protocol/sdk/chains/stellarimportsst:xlm:meta-address)Acceptance criteria
Files to start with
src/components/Hero.tsx