Skip to content

Commit 50fb1c6

Browse files
whoabuddyclaude
andcommitted
docs: restructure as canonical reference layer
Replace tutorial/guide content with reference documentation that ties together the AIBTC ecosystem. Landing page (aibtc.com) handles getting started; docs.aibtc.com is now the "phone book" for looking things up. New structure: - /directory/ — Services, tools, SDKs, templates, repositories - /reference/tokens/ — Contract addresses, CAIP identifiers, decimals - /reference/networks/ — Mainnet/testnet configs, API endpoints - /glossary/ — Term definitions (unchanged) Removed: - /guides/what-is-x402/ — Landing page covers this better - /guides/services/ — Replaced by /directory/ - /guides/tokens/ — Replaced by /reference/tokens/ Homepage redesigned as navigation hub with quick reference tables. Closes #2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 57eee63 commit 50fb1c6

9 files changed

Lines changed: 360 additions & 176 deletions

File tree

astro.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ export default defineConfig({
2626
{ icon: 'x.com', label: 'X', href: 'https://x.com/aibtcdev' },
2727
],
2828
sidebar: [
29+
{ label: 'Directory', slug: 'directory' },
2930
{
30-
label: 'Guides',
31-
autogenerate: { directory: 'guides' },
31+
label: 'Reference',
32+
autogenerate: { directory: 'reference' },
3233
},
3334
{ label: 'Glossary', slug: 'glossary' },
3435
],
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Directory
3+
description: Find services, tools, SDKs, and repositories in the AIBTC ecosystem.
4+
sidebar:
5+
order: 0
6+
---
7+
8+
Everything in the AIBTC x402 ecosystem, organized by what you need.
9+
10+
## Services
11+
12+
Live endpoints and platforms you can use today.
13+
14+
| Service | Description | Links |
15+
|---------|-------------|-------|
16+
| **x402 API** | Pay-per-use AI inference, blockchain data, hashing, storage | [Mainnet](https://x402.aibtc.com) · [Testnet](https://x402.aibtc.dev) · [Docs](https://x402.aibtc.com/docs) |
17+
| **Sponsor Relay** | Gasless transactions — sponsor covers network fees | [Mainnet](https://x402-relay.aibtc.com) · [Testnet](https://x402-relay.aibtc.dev) · [Docs](https://x402-relay.aibtc.com/docs) |
18+
| **STX402** | x402 endpoint registry and ecosystem directory | [Live](https://stx402.com) · [Docs](https://stx402.com/docs) |
19+
| **x402 Biwas** | AI-powered DeFi analytics for Stacks | [Live](https://x402.biwas.xyz) |
20+
| **StacksScan** | x402 ecosystem explorer and stats | [Live](https://scan.stacksx402.com) |
21+
| **Facilitator** | Payment verification and settlement | [Live](https://facilitator.stacksx402.com) |
22+
23+
## Tools & SDKs
24+
25+
Libraries and tools for building with x402.
26+
27+
| Tool | Description | Links |
28+
|------|-------------|-------|
29+
| **@aibtc/mcp-server** | MCP server for Claude Code — blockchain tools for AI agents | [npm](https://www.npmjs.com/package/@aibtc/mcp-server) · [GitHub](https://github.com/aibtcdev/aibtc-mcp-server) |
30+
| **x402-stacks** | TypeScript SDK for x402 payments on Stacks | [npm](https://www.npmjs.com/package/x402-stacks) · [GitHub](https://github.com/tony1908/x402-stacks-sdk) |
31+
| **Stacks.js** | Official Stacks JavaScript libraries | [Docs](https://stacks.js.org) · [GitHub](https://github.com/hirosystems/stacks.js) |
32+
33+
## Templates & Examples
34+
35+
Starting points for building x402 services.
36+
37+
| Template | Description | Links |
38+
|----------|-------------|-------|
39+
| **x402-api** | Cloudflare Workers template for paid API endpoints | [GitHub](https://github.com/aibtcdev/x402-api) |
40+
| **x402-crosschain-example** | Express/Hono example with EVM + Stacks | [GitHub](https://github.com/aibtcdev/x402-crosschain-example) |
41+
| **x402-sponsor-relay** | Sponsored transaction relay implementation | [GitHub](https://github.com/aibtcdev/x402-sponsor-relay) |
42+
43+
## Repositories
44+
45+
All AIBTC open source projects.
46+
47+
| Repo | Description |
48+
|------|-------------|
49+
| [**aibtcdev/aibtc-mcp-server**](https://github.com/aibtcdev/aibtc-mcp-server) | MCP server for Claude Code |
50+
| [**aibtcdev/x402-api**](https://github.com/aibtcdev/x402-api) | x402 API service and template |
51+
| [**aibtcdev/x402-sponsor-relay**](https://github.com/aibtcdev/x402-sponsor-relay) | Gasless transaction relay |
52+
| [**aibtcdev/x402-crosschain-example**](https://github.com/aibtcdev/x402-crosschain-example) | Crosschain x402 example |
53+
| [**aibtcdev/docs**](https://github.com/aibtcdev/docs) | This documentation site |
54+
| [**aibtcdev/branding**](https://github.com/aibtcdev/branding) | Brand assets and guidelines |
55+
| [**aibtcdev/landing-page**](https://github.com/aibtcdev/landing-page) | aibtc.com website |
56+
57+
**See all:** [github.com/aibtcdev](https://github.com/aibtcdev)
58+
59+
## External Resources
60+
61+
Key resources outside the AIBTC ecosystem.
62+
63+
| Resource | Description | Link |
64+
|----------|-------------|------|
65+
| **x402 Protocol** | HTTP 402 payment protocol specification | [x402.org](https://x402.org) |
66+
| **Stacks Docs** | Official Stacks blockchain documentation | [docs.stacks.co](https://docs.stacks.co) |
67+
| **Hiro Platform** | Stacks API keys and developer tools | [platform.hiro.so](https://platform.hiro.so) |
68+
| **Claude Code** | AI coding assistant from Anthropic | [claude.ai/code](https://claude.ai/code) |
69+
| **sBTC** | Bitcoin on Stacks | [stacks.co/sbtc](https://www.stacks.co/sbtc) |
70+
71+
## See Also
72+
73+
- [Token Reference](/reference/tokens/) — Contract addresses and identifiers
74+
- [Network Reference](/reference/networks/) — Endpoints and configurations
75+
- [Glossary](/glossary/) — Term definitions

src/content/docs/guides/services.md

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

src/content/docs/guides/tokens.md

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

src/content/docs/guides/what-is-x402.md

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

src/content/docs/index.mdx

Lines changed: 53 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,72 @@
11
---
2-
title: AIBTC Documentation
3-
description: Documentation for the AIBTC ecosystem - pay-per-use APIs for AI agents.
2+
title: AIBTC Docs
3+
description: Reference documentation for the AIBTC x402 ecosystem.
44
template: splash
55
hero:
6-
tagline: Pay-per-use APIs for AI agents, powered by Bitcoin.
6+
tagline: Reference docs for the x402 ecosystem on Stacks.
77
actions:
8-
- text: Get Started
9-
link: /guides/what-is-x402/
8+
- text: Directory
9+
link: /directory/
1010
icon: right-arrow
11-
- text: GitHub
12-
link: https://github.com/aibtcdev
11+
- text: Start Building
12+
link: https://aibtc.com
1313
icon: external
1414
variant: minimal
1515
---
1616

1717
import { Card, CardGrid, LinkCard } from '@astrojs/starlight/components';
1818

19-
AIBTC builds tools that let AI agents pay for the APIs they use, one request at a time. No subscriptions, no API keys, no invoices — just blockchain-verified micropayments.
19+
## Find What You Need
2020

21-
## What's in the ecosystem
21+
<CardGrid>
22+
<LinkCard title="Directory" href="/directory/" description="Services, tools, SDKs, templates, and repositories." />
23+
<LinkCard title="Token Reference" href="/reference/tokens/" description="Contract addresses, CAIP identifiers, where to get tokens." />
24+
<LinkCard title="Network Reference" href="/reference/networks/" description="Mainnet/testnet configs, API endpoints, service URLs." />
25+
<LinkCard title="Glossary" href="/glossary/" description="Term definitions and concepts." />
26+
</CardGrid>
27+
28+
## Quick Reference
29+
30+
### Payment Tokens
31+
32+
| Token | Mainnet Contract | Testnet Contract |
33+
|-------|------------------|------------------|
34+
| **STX** | Native | Native |
35+
| **sBTC** | `SM3VDXK3WZZSA84...sbtc-token` | `ST1F7QA2MDF17S8...sbtc-token` |
36+
| **USDCx** | `SP120SBRBQJ00MC...usdcx` ||
37+
38+
[Full token reference →](/reference/tokens/)
39+
40+
### Service Endpoints
41+
42+
| Service | Mainnet | Testnet |
43+
|---------|---------|---------|
44+
| **x402 API** | [x402.aibtc.com](https://x402.aibtc.com) | [x402.aibtc.dev](https://x402.aibtc.dev) |
45+
| **Sponsor Relay** | [x402-relay.aibtc.com](https://x402-relay.aibtc.com) | [x402-relay.aibtc.dev](https://x402-relay.aibtc.dev) |
46+
| **Facilitator** | [facilitator.stacksx402.com](https://facilitator.stacksx402.com) ||
47+
48+
[Full network reference →](/reference/networks/)
49+
50+
## Getting Started
51+
52+
New to AIBTC? Start at [aibtc.com](https://aibtc.com) for the interactive tutorial.
2253

2354
<CardGrid>
24-
<Card title="x402 API" icon="rocket">
25-
Pay-per-use endpoints for AI inference, blockchain data, hashing, and storage. Agents pay with STX, sBTC, or USDCx per request.
26-
</Card>
27-
<Card title="Sponsor Relay" icon="forward-slash">
28-
Gasless transactions for AI agents. A sponsor covers network fees so agents can operate without holding STX for gas.
55+
<Card title="Install Claude Code" icon="laptop">
56+
```bash
57+
curl -fsSL https://claude.ai/code/install.sh | sh
58+
```
2959
</Card>
30-
<Card title="StacksScan Explorer" icon="list-format">
31-
Ecosystem explorer for x402 activity, service stats, and network health across the AIBTC infrastructure.
32-
</Card>
33-
<Card title="Supported Tokens" icon="random">
34-
Pay with STX, sBTC, or USDCx. Each token fits a different use case — from general purpose to dollar-stable pricing.
60+
<Card title="Add Stacks Tools" icon="puzzle">
61+
```bash
62+
npm install -g @aibtc/mcp-server
63+
```
3564
</Card>
3665
</CardGrid>
3766

38-
## Quick Links
67+
## Community
3968

40-
<CardGrid>
41-
<LinkCard title="What is x402?" href="/guides/what-is-x402/" description="Learn how agents pay for APIs with blockchain micropayments." />
42-
<LinkCard title="Services & Tools" href="/guides/services/" description="Explore the APIs, relays, and dashboards in the ecosystem." />
43-
<LinkCard title="Supported Tokens" href="/guides/tokens/" description="Compare STX, sBTC, and USDCx and find out where to get them." />
44-
</CardGrid>
69+
- [Weekly Working Group Calls](https://www.addevent.com/event/UM20108233)
70+
- [AIBTC Discord](https://discord.gg/5DJaBrf)
71+
- [GitHub](https://github.com/aibtcdev)
72+
- [X / Twitter](https://x.com/aibtcdev)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Reference
3+
description: Canonical reference for the AIBTC x402 ecosystem.
4+
sidebar:
5+
order: 0
6+
---
7+
8+
Technical reference for tokens, networks, and configurations used across the AIBTC ecosystem.
9+
10+
## Quick Links
11+
12+
- [**Token Reference**](/reference/tokens/) — Contract addresses, CAIP identifiers, where to get tokens
13+
- [**Network Reference**](/reference/networks/) — Mainnet/testnet configs, API endpoints, service URLs
14+
15+
## Looking for Something Else?
16+
17+
- [**Directory**](/directory/) — Find services, tools, SDKs, and repos
18+
- [**Glossary**](/glossary/) — Term definitions and concepts
19+
- [**aibtc.com**](https://aibtc.com) — Getting started tutorial

0 commit comments

Comments
 (0)