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
Verified against
@tinycloud/web-sdk 2.7.0.