Home > @spruceid/ssx > SSX
SSX: Self-sovereign anything.
A toolbox for user-controlled identity, credentials, storage and more.
Signature:
export declare class SSX
Constructor | Modifiers | Description |
---|---|---|
(constructor)(config) | Constructs a new instance of the SSX class |
Property | Modifiers | Type | Description |
---|---|---|---|
address | () => string | undefined | Gets the address that is connected and signed in. | |
chainId | () => number | undefined | Get the chainId that the address is connected and signed in on. | |
connection? | SSXConnected | (Optional) Current connection of SSX | |
RPCProviders | static |
typeof SSXRPCProviders | Supported RPC Providers |
session? | SSXClientSession | (Optional) The session representation (once signed in). |
Method | Modifiers | Description |
---|---|---|
resolveEns(address, resolveEnsOpts) | ENS data supported by SSX. | |
signIn() | Request the user to sign in, and start the session. | |
signOut() | Invalidates user's session. |