Skip to content

Stellar-focused hero code editor (replace generic with Stellar samples) #30

@truthixify

Description

@truthixify

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

  • Hero shows Stellar code by default
  • Snippets verified to compile
  • Optional chain selector if it fits the design
  • No visual regression vs current Hero

Files to start with

  • src/components/Hero.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programcontentMarketing content / writingdripsFunded via Drips Networkhelp wantedExtra attention is neededstellarTouches Stellar / Soroban code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions