Prerequisites
- Node.js 18 or newer
- A modern browser with an injected Ethereum wallet
- A test wallet account; the tutorial does not require funds
Create the project
src/main.ts with this complete example:
Run and verify
What happened
TinyCloudWeb used the injected provider to request a SIWE signature. signIn() created or restored the app session and ensured the tinycloud-quickstart space was hosted. The KV result was only displayed after the same key was read back successfully.
Next steps
Written against
@tinycloud/web-sdk 3.0.0; the install commands above use the current stable 3.3.0.