Skip to content

Commit ca62edf

Browse files
janewangCopilot
andauthored
Make the demo more prominent (#2303)
* Make the demo more prominent * Update docs/build/apps/x402.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update docs/build/apps/x402.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update docs/build/apps/x402.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 18f3d33 commit ca62edf

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

docs/build/apps/x402.mdx

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ x402 is an open protocol from the Coinbase Developer Platform that enables progr
1111

1212
On Stellar, x402 works with Soroban authorization so that clients can pay for API requests via signed auth entries, ideal for micropayments and payment enabled apps. To build an x402-enabled service or integrate payments into your app, see [Build Applications](./README.mdx) and the resources below.
1313

14+
## Demo
15+
16+
Try the [x402 Demo](https://stellar.org/x402-demo). Send an x402 payment on Stellar Testnet or Mainnet and see the x402 payment flow in action. ([source code](https://github.com/stellar/x402-stellar))
17+
18+
[![Screenshot of the x402 payment flow demo on Stellar](/assets/guides/x402-demo.png)](https://stellar.org/x402-demo)
19+
1420
## x402 Compatible Wallets
1521

1622
To support x402 on Stellar, a wallet must support [auth-entry signing](../guides/transactions/signing-soroban-invocations.mdx#method-2-auth-entry-signing) (Soroban authorization entry signing). The following wallets support auth-entry signing:
@@ -28,13 +34,23 @@ Freighter Mobile does not currently support x402; use the Freighter browser exte
2834

2935
:::
3036

31-
## x402 Facilitator
37+
## x402 Facilitators
38+
39+
You can use a facilitator to verify and settle x402 payments. Two options are available for Stellar:
40+
41+
### Coinbase x402 Facilitator
42+
43+
Coinbase’s x402 facilitator supports Stellar on **Testnet** with sponsored fees. Check which networks and options are supported:
44+
45+
- **[x402 Facilitator Supported Networks](https://www.x402.org/facilitator/supported)** — Lists supported networks (including `stellar:testnet`) and facilitator configuration.
46+
47+
### Build on Stellar Relayer (with OpenZeppelin x402 Plugin)
3248

33-
The [OpenZeppelin Relayer x402 Plugin for x402](https://github.com/OpenZeppelin/relayer-plugin-x402-facilitator) implements the x402 Facilitator API so you can serve x402 payments directly from a Relayer instance. The x402 Facilitator leverages the OpenZeppelin Relayer Framework. It works with the [Coinbase x402](https://github.com/coinbase/x402) ecosystem and exposes the expected `/verify`, `/settle`, and `/supported` endpoints under the Relayer plugin router.
49+
The [Relayer Plugin for x402](https://github.com/OpenZeppelin/relayer-plugin-x402-facilitator) implements the x402 Facilitator API so you can serve x402 payments directly from a Relayer instance. The x402 Facilitator leverages the OpenZeppelin Relayer Framework. It works with the [Coinbase x402](https://github.com/coinbase/x402) ecosystem and exposes the expected `/verify`, `/settle`, and `/supported` endpoints under the Relayer plugin router.
3450

35-
### How to Use
51+
#### How to Use
3652

37-
The x402 facilitator Service is now live on Testnet and Mainnet. Under the hood, the plugin leverages OpenZeppelin Channels to submit transactions onchain via a managed Relayer and Facilitator setup.
53+
This x402 facilitator service is available on Testnet and Mainnet. Under the hood, the plugin leverages OpenZeppelin Channels to submit transactions onchain via a managed Relayer and Facilitator setup.
3854

3955
#### Testnet
4056

@@ -56,10 +72,12 @@ This version supports x402 v2 specification. For x402 v1 support, please use a p
5672

5773
:::
5874

59-
## Resources
75+
## Examples
6076

77+
- **x402 on Stellar (Stellar repo)** — Tools, examples, and references for the x402 protocol on Stellar. Use this as the canonical source for Stellar-specific x402 demos and tooling. [View on GitHub](https://github.com/stellar/x402-stellar)
6178
- **x402 Starter Template** — A starter template for building payment-enabled applications with x402. Simplified scaffolding demonstrating x402 payment protocol integration with browser wallet support; use it as a foundation for micropayment-enabled services, SaaS applications, or any project that needs frictionless web payments. [View on GitHub](https://github.com/ElliotFriend/x402/tree/stellar-browser-wallet-example/examples/typescript/fullstack/browser-wallet-example)
6279
- **Economic Load Balancer** — An intelligent multi-chain payment router that automatically selects the most cost-efficient network for high-frequency AI agent micropayments. [View on GitHub](https://github.com/marcelosalloum/x402/tree/x402-hackathon)
80+
- **1-shot Stellar x402 app** — Example x402 app with a video paywall and guide for building payment-enabled apps on Stellar. [View on GitHub](https://github.com/oceans404/1-shot-stellar/tree/main/x402-app)
6381

6482
## Additional Documentation
6583

@@ -71,8 +89,10 @@ This version supports x402 v2 specification. For x402 v1 support, please use a p
7189

7290
## Learn more
7391

74-
- [x402 Demo](https://stellar.org/x402-demo) — A demo site for an x402 transaction on Stellar
92+
- [x402 on Stellar (Landing page)](https://stellar.org/x402) — Stellar x402 overview and resources
93+
- [x402 on Stellar (Blog)](https://stellar.org/blog/foundation-news/x402-on-stellar) — Foundation news and announcement
7594
- [x402 protocol (Coinbase Developer Platform)](https://docs.cdp.coinbase.com/x402) — Official x402 protocol overview and spec
7695
- [x402 protocol specification](https://www.x402.org/) — x402 Specification and Whitepaper
7796
- [Coinbase x402 GitHub](https://github.com/coinbase/x402) — Official x402 Protocol GitHub Repo
97+
- [x402-stellar (npm)](https://www.npmjs.com/package/x402-stellar) — npm package for x402 on Stellar
7898
- [Signing Soroban invocations](../guides/transactions/signing-soroban-invocations.mdx) — Auth-entry signing and transaction signing on Stellar

static/assets/guides/x402-demo.png

251 KB
Loading

0 commit comments

Comments
 (0)