Skip to content

Commit 75b8641

Browse files
committed
migrate #2287, up heapMem
this branch is ready to merge
2 parents 555512e + 45ec7cf commit 75b8641

50 files changed

Lines changed: 149 additions & 153 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ yarn-error.log*
3131

3232
# Environment variables
3333
.env
34+
**/cookies.txt
3435

3536
stellar-cli-repo
3637

docs/build/apps/x402.mdx

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,35 @@ To support x402 on Stellar, a wallet must support [auth-entry signing](../guides
2020
- Hana
2121
- HOT
2222
- Klever
23-
- One Key
23+
- OneKey
2424

2525
:::note
2626

2727
Freighter Mobile does not currently support x402; use the Freighter browser extension. Mobile support is planned for a future release.
2828

2929
:::
3030

31-
## x402 Facilitator from OpenZeppelin
31+
## x402 Facilitator
3232

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. It works with the Coinbase x402 ecosystem (e.g., @x402/express) and exposes the expected `/verify`, `/settle`, and `/supported` endpoints under the Relayer plugin router.
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.
34+
35+
### How to Use
36+
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.
38+
39+
#### Testnet
40+
41+
To use the facilitator on testnet, you will need:
42+
43+
- An API Key (Relayer Service). Generate your testnet API key here: https://channels.openzeppelin.com/testnet/gen
44+
- Facilitator URL. Use the following facilitator endpoint in your configuration: `https://channels.openzeppelin.com/x402/testnet`
45+
46+
#### Mainnet
47+
48+
To use the Facilitator on mainnet, you will need:
49+
50+
- An API Key (Relayer Service). Generate your mainnet API key here: https://channels.openzeppelin.com/gen
51+
- Facilitator URL. Use the following facilitator endpoint in your configuration: `https://channels.openzeppelin.com/x402`
3452

3553
:::note
3654

@@ -43,7 +61,18 @@ This version supports x402 v2 specification. For x402 v1 support, please use a p
4361
- **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)
4462
- **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)
4563

64+
## Additional Documentation
65+
66+
- [OpenZeppelin x402 Facilitator Plugin Source Code](https://github.com/OpenZeppelin/relayer-plugin-x402-facilitator)
67+
- [OpenZeppelin x402 Facilitator Docs](https://docs.openzeppelin.com/relayer/1.4.x/guides/stellar-x402-facilitator-guide)
68+
- [OpenZeppelin Stellar Relayer SDK](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk)
69+
- [OpenZeppelin Stellar Relayer Docs](https://docs.openzeppelin.com/relayer/1.4.x)
70+
- [OpenZeppelin Smart Account](https://docs.openzeppelin.com/stellar-contracts/accounts/smart-account)
71+
4672
## Learn more
4773

74+
- [x402 Demo](https://x402-stellar-491bf9f7e30b.herokuapp.com/) - A demo site to a x402 transaction on Testnet
4875
- [x402 protocol (Coinbase Developer Platform)](https://docs.cdp.coinbase.com/x402) — Official x402 protocol overview and spec
76+
- [x402 protocol specification](https://www.x402.org/) — x402 Specification and Whitepaper
77+
- [Coinbase x402 GitHub](https://github.com/coinbase/x402) — Official x402 Protocol GitHub Repo
4978
- [Signing Soroban invocations](../guides/transactions/signing-soroban-invocations.mdx) — Auth-entry signing and transaction signing on Stellar

docs/build/guides/archival/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: State Archival
33
hide_table_of_contents: true
4-
sidebar_class_name: sidebar-category-items-hidden
54
sidebar_position: 77
65
---
76

docs/build/guides/archival/_category_.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/build/guides/archival/test-ttl-extension.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn create_env() -> Env {
7575
}
7676
```
7777

78-
You could also use the current [network settings](../../../networks/resource-limits-fees.mdx#resource-fees) when setting up the tests, but keep in mind that these are subject to change, and the contract should be able to work with any values of these settings.
78+
You could also use the current [network settings](https://lab.stellar.org/network-limits) when setting up the tests, but keep in mind that these are subject to change, and the contract should be able to work with any values of these settings.
7979

8080
Now we run a test scenario that verifies the TTL extension logic (see [`test_extend_ttl_behavior`](https://github.com/stellar/soroban-examples/blob/v23.0.0/ttl/src/test.rs#L38) test for the full scenario). First, we setup the data and ensure that the initial TTL values correspond to the network settings we've defined above:
8181

docs/build/guides/auth/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Contract Authorization
33
hide_table_of_contents: true
4-
sidebar_class_name: sidebar-category-items-hidden
54
sidebar_position: 1
65
---
76

docs/build/guides/auth/_category_.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/build/guides/basics/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Stellar Basics
33
hide_table_of_contents: true
4-
sidebar_class_name: sidebar-category-items-hidden
54
sidebar_position: 80
65
---
76

docs/build/guides/basics/_category_.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/build/guides/contract-accounts/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Contract Accounts
33
hide_table_of_contents: true
4-
sidebar_class_name: sidebar-category-items-hidden
54
sidebar_position: 5
65
description: Build, evaluate, and extend contract accounts on Stellar.
76
---

0 commit comments

Comments
 (0)