create-0gkit-app
v1.0.2
Published
Scaffold a 0G app in seconds. `npm create 0gkit-app@latest`.
Readme
create-0gkit-app
Scaffold a 0G app in seconds.
npm create 0gkit-app@latest my-appcreate-0gkit-app clones a starter template, installs dependencies, writes a
network-aware .env.example, optionally git inits the project, and prints a
"next step" banner.
Templates
| Name | Use case |
| -------------------- | ------------------------------------------------------------------ |
| storage-app | Upload + download a file, verify the Merkle root. |
| inference-app | OpenAI-shaped chat against 0G Compute. |
| attestation-verify | Parse + verify a TEE attestation report. |
| mcp-agent | Expose every 0G primitive as MCP tools for agent runtimes. |
| react-app | Next.js App Router app using @foundryprotocol/0gkit-react hooks. |
Usage
npm create 0gkit-app@latest my-app --template storage-app --network localLicense
MIT
