Skip to content

docs: improve Node.js/Fetch buyer quickstart with consistent signer usage#4

Open
gilbertsahumada wants to merge 2 commits into
murrlincoln:mainfrom
gilbertsahumada:feature/fix-quickstart-buyers
Open

docs: improve Node.js/Fetch buyer quickstart with consistent signer usage#4
gilbertsahumada wants to merge 2 commits into
murrlincoln:mainfrom
gilbertsahumada:feature/fix-quickstart-buyers

Conversation

@gilbertsahumada
Copy link
Copy Markdown

This pull request updates the quickstart documentation for buyers to clarify and improve the instructions for using the x402-fetch and x402-axios libraries in Node.js. The changes focus on making the wallet/signer creation steps clearer and ensuring that code examples use consistent terminology and correct objects.

Documentation improvements:

  • Updated the tab title from Node.js (viem) to Node.js - Fetch and added a clear code example for instantiating a signer using createSigner from x402-fetch, making the process more explicit for users.
  • Changed the code example for using wrapFetchWithPayment to use signer (created with createSigner) instead of account, ensuring the example matches the recommended usage and terminology.

@gilbertsahumada gilbertsahumada changed the title Docs: improve Node.js/Fetch buyer quickstart with consistent signer usage docs: improve Node.js/Fetch buyer quickstart with consistent signer usage Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant