Skip to main content
TinyCloudNode is the backend SDK. It can sign in with a private key, or operate in session-only mode when it only consumes delegations.
This is a curated client overview. Use the TypeScript declarations shipped with @tinycloud/node-sdk for exhaustive parameter, service, return, and error types.

Constructor

Primary methods

Useful getters

  • did
  • sessionDid
  • address
  • isSessionOnly
  • spaceId
  • accountSpaceId
  • spaces
  • sharing
  • delegations
  • account

Notes

  • signIn() throws in session-only mode.
  • createDelegation() also throws in session-only mode.
  • did returns the wallet-backed owner DID after sign-in, or the session key DID when no wallet is connected.
  • spaceId is available after sign-in.
Verified against @tinycloud/node-sdk 2.7.0-beta.2.