Difficulty: Advanced (senior · 8/10). ~16–24h. Go + Stellar transaction signing + x402. A brand-new language surface for the toolkit.
Context
The toolkit ships TypeScript and Python clients but nothing for Go — a very common language for backends and agents. A minimal Go x402 client opens the ecosystem to a new set of builders.
Goal
A small, self-contained Go module under examples/go-x402/ that pays an x402-protected Stellar endpoint.
Scope / Deliverables
- Given a URL + a Stellar secret, perform the full 402 flow: read the payment requirements, build and sign the Stellar auth entry, and retry the request with the payment credential.
- Signing via the official Stellar Go SDK.
- Config via env; the secret is never logged.
- A clear
README and a runnable main.go demo.
- Tests for challenge parsing + payment-header construction against a mock server (
go test).
Acceptance criteria
- Pays a real x402 endpoint on testnet end-to-end (include a tx hash that resolves on stellar.expert in the PR).
go test passes and go vet is clean; no secrets committed; idiomatic Go (error handling, no panics on the happy path).
Pointers
github.com/stellar/go; x402 v2, scheme exact; USDC SAC (testnet) CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA; facilitator channels.openzeppelin.com/x402/testnet.
Reward
Eligibility is subject to GrantFox review after the campaign (Official Campaign | FWC26). Rewards are decided by GrantFox based on quality and available budget and are not guaranteed.
Difficulty: Advanced (senior · 8/10). ~16–24h. Go + Stellar transaction signing + x402. A brand-new language surface for the toolkit.
Context
The toolkit ships TypeScript and Python clients but nothing for Go — a very common language for backends and agents. A minimal Go x402 client opens the ecosystem to a new set of builders.
Goal
A small, self-contained Go module under
examples/go-x402/that pays an x402-protected Stellar endpoint.Scope / Deliverables
READMEand a runnablemain.godemo.go test).Acceptance criteria
go testpasses andgo vetis clean; no secrets committed; idiomatic Go (error handling, no panics on the happy path).Pointers
github.com/stellar/go; x402 v2, schemeexact; USDC SAC (testnet)CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA; facilitatorchannels.openzeppelin.com/x402/testnet.Reward
Eligibility is subject to GrantFox review after the campaign (Official Campaign | FWC26). Rewards are decided by GrantFox based on quality and available budget and are not guaranteed.