Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/docs/content/docs/en/payments/agentic-payments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ app.use(
{
scheme: "exact",
price: "$0.001",
network: "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
network: "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1", // Solana Devnet
// Use "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana Mainnet (CAIP-2)
payTo: svmAddress
}
],
Expand All @@ -78,7 +79,7 @@ app.use(
}
},
new x402ResourceServer(facilitatorClient).register(
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1", // Solana Devnet
new ExactSvmScheme()
Comment on lines +82 to 83

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The first occurrence of the devnet ID includes a mainnet alternative comment for discoverability, but the second occurrence in the x402ResourceServer.register() call omits it. A developer copying only the server-registration snippet would still encounter an unexplained ID.

Suggested change
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1", // Solana Devnet
new ExactSvmScheme()
"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1", // Solana Devnet – use "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Mainnet (CAIP-2)
new ExactSvmScheme()

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

)
)
Expand Down