Skip to content

Commit a775b4f

Browse files
Merge pull request #22 from sei-protocol/docs/fix-broken-external-links-issue-20
docs: fix broken external links (#20)
2 parents 7477eee + 579e8af commit a775b4f

3 files changed

Lines changed: 24 additions & 15 deletions

File tree

‎ai/x402.mdx‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ The x402 protocol enables a wide range of monetization strategies for web servic
3030

3131
## sei-js Integration
3232

33-
The `sei-js` library provides a suite of packages to simplify working with x402 on Sei. You can find more details in the [sei-js x402 documentation](https://sei-js.docs.sei.io/x402/introduction).
33+
The `sei-js` library provides a suite of packages to simplify working with x402 on Sei. You can find more details in the [sei-js x402 repository](https://github.com/sei-protocol/sei-x402).
3434

3535
### Core Concepts
3636

37-
- [**Protocol Overview**](https://sei-js.docs.sei.io/x402/overview): Learn about the architecture of x402.
38-
- [**Quickstart Guide**](https://sei-js.docs.sei.io/x402/quickstart): Build your first paid API.
39-
- [**Facilitators**](https://sei-js.docs.sei.io/x402/facilitators/introduction): Understanding payment facilitators.
40-
- [**Client Integration**](https://sei-js.docs.sei.io/x402/clients/fetch): How to integrate x402 in your frontend.
37+
- [**Protocol Overview**](https://github.com/sei-protocol/sei-x402/blob/main/docs/core-concepts/client-server.md): Learn about the architecture of x402.
38+
- [**Quickstart Guide**](https://github.com/sei-protocol/sei-x402/blob/main/docs/getting-started/quickstart-for-sellers.md): Build your first paid API.
39+
- [**Facilitators**](https://github.com/sei-protocol/sei-x402/blob/main/docs/core-concepts/facilitator.md): Understanding payment facilitators.
40+
- [**Client Integration**](https://github.com/sei-protocol/sei-x402/blob/main/docs/getting-started/quickstart-for-buyers.md): How to integrate x402 in your frontend.
4141

4242
### Available Packages
4343

44-
- [**x402**](https://sei-js.docs.sei.io/x402/packages/x402): The core protocol implementation.
45-
- [**x402-fetch**](https://sei-js.docs.sei.io/x402/packages/x402-fetch): A fetch wrapper for making x402-compliant requests.
46-
- [**x402-axios**](https://sei-js.docs.sei.io/x402/packages/x402-axios): Axios interceptors for x402 payments.
47-
- [**x402-express**](https://sei-js.docs.sei.io/x402/packages/x402-express): Express middleware for serving paid content.
48-
- [**x402-hono**](https://sei-js.docs.sei.io/x402/packages/x402-hono): Middleware for Hono applications.
49-
- [**x402-next**](https://sei-js.docs.sei.io/x402/packages/x402-next): Components and utilities for Next.js applications.
44+
- [**x402**](https://www.npmjs.com/package/@sei-js/x402): The core protocol implementation.
45+
- [**x402-fetch**](https://www.npmjs.com/package/@sei-js/x402-fetch): A fetch wrapper for making x402-compliant requests.
46+
- [**x402-axios**](https://www.npmjs.com/package/@sei-js/x402-axios): Axios interceptors for x402 payments.
47+
- [**x402-express**](https://www.npmjs.com/package/@sei-js/x402-express): Express middleware for serving paid content.
48+
- [**x402-hono**](https://www.npmjs.com/package/@sei-js/x402-hono): Middleware for Hono applications.
49+
- [**x402-next**](https://www.npmjs.com/package/@sei-js/x402-next): Components and utilities for Next.js applications.
5050

5151
These packages help streamline both the client-side (paying) and server-side (charging) aspects of the protocol.
5252

@@ -416,5 +416,5 @@ Please try again or check your wallet balance for USDC tokens needed for the pay
416416

417417
## Tutorials & Resources
418418

419-
- **[Sei-js X402 Documentation](https://sei-js.docs.sei.io/x402/introduction)**: Comprehensive guide on using the x402 protocol with the sei-js library, including package details and examples.
419+
- **[Sei-js X402 Repository](https://github.com/sei-protocol/sei-x402)**: Comprehensive guide on using the x402 protocol with the sei-js library, including package details and examples.
420420
- **[AxiomKit X402 Demo Repository](https://github.com/AxiomKit/axiomkit-showcase)**: The complete source code for the Axiom integration demo used in this guide, including installation and configuration instructions.

‎evm/usdc-on-sei.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This guide walks you through building a standalone index.js script using **Viem*
2222
- Node.js v18+ with "type": "module" in package.json
2323
- viem and dotenv installed
2424
- Sei wallet with USDC and SEI for gas on your selected network (default: testnet).
25-
- To get testnet USDC on Sei, use the [Circle Faucet](https://faucet.circle.com) or use [Circle’s CCTP v2](https://replit.com/@buildoncircle/cctp-v2-web-app?v=1#README.md) Sample application to transfer USDC cross-chain to your Sei wallet.
25+
- To get testnet USDC on Sei, use the [Circle Faucet](https://faucet.circle.com) or use [Circle’s CCTP v2](https://github.com/circlefin/circle-cctp-crosschain-transfer) Sample application to transfer USDC cross-chain to your Sei wallet.
2626
- Private key and recipient address stored in a .env file
2727
- Optional: set `SEI_NETWORK=testnet|mainnet` (defaults to `testnet`)
2828

‎lychee.toml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ timeout = 20
2121
# A real browser UA avoids naive bot-blocks.
2222
user_agent = "Mozilla/5.0 (compatible; lychee link checker; +https://github.com/sei-protocol/sei-docs)"
2323

24-
# Treat rate-limiting / bot-challenge responses as OK rather than broken.
25-
accept = ["200..=206", "301", "302", "304", "403", "429"]
24+
# Treat rate-limiting / bot-challenge responses as OK rather than broken. 405
25+
# (Method Not Allowed) covers JSON-RPC endpoints like evm-rpc.sei-apis.com that
26+
# reject the checker's GET but are very much alive.
27+
accept = ["200..=206", "301", "302", "304", "403", "405", "429"]
2628

2729
# Don't flag these — local/example hosts and domains that hard-block automated
2830
# requests (so a failure here is a false positive, not real rot).
@@ -39,6 +41,13 @@ exclude = [
3941
"^https?://(www\\.)?linkedin\\.com",
4042
"^https?://(www\\.)?reddit\\.com",
4143
"^https?://(t\\.me|discord\\.gg|discord\\.com)",
44+
# Live sites that hard-block automated checkers (verified reachable in a browser):
45+
# silostaking.io → 402 Payment Required to bots
46+
# dashboard.pimlico.io → 404 to bots (client-rendered app shell)
47+
# blog.thirdweb.com → cert chain rejected by lychee's TLS, fine in browsers
48+
"^https?://(www\\.)?silostaking\\.io",
49+
"^https?://dashboard\\.pimlico\\.io",
50+
"^https?://blog\\.thirdweb\\.com",
4251
]
4352

4453
# Don't check mailto: links (this is the default; set explicitly for clarity).

0 commit comments

Comments
 (0)