Prerequisites
- Node.js 20 or newer
- Network access to
https://node.tinycloud.xyz
Create the project
index.ts:
Run and verify
:tinycloud-quickstart, and the record read back from that space:
Use an existing secret safely
For a real service, replace the disposable.env key with your secret manager’s runtime injection. Keep .env for local development only, retain it in .gitignore, and use a wallet dedicated to the service rather than a personal wallet that holds assets.
Next steps
- Node authentication and session lifecycle
- KV basic operations
- Receive a delegation
- Node client overview
Verified against
@tinycloud/node-sdk 2.7.0.