This repository contains the Web3GPT SDK package and its documentation app.
packages/w3gpt: TypeScript SDK for the Web3GPT skill endpointapps/docs: documentation site for the SDKapps/web: lightweight web landing app for the SDK repo
bun install
bun devUseful commands:
bun run buildbun run checkbun run tsc
The SDK mirrors the public Web3GPT skill flow:
- Call
deployContractwith an explicit Polygon mainnet (137) or Amoy (80002) chain ID, or start a lower-level chat with no params - Save the returned
chatId - Send follow-up messages with the same
chatId - Add
history=trueorfull=truewhen you want the full simplified history
The SDK no longer uses API keys or the removed /api/v1 endpoints.
- Skill guide:
https://w3gpt.ai/skill.md - API reference:
https://w3gpt.ai/api-docs