Fluent Connect SDK
This section documents @fluent.xyz/connect 0.6.1, the React widget that connects a person's Widget account, a Fluent ID smart account or an External wallet, to your App and executes Batch operations and signatures with it. The source is the fluent-connect-sdk repository.
An App needs an appId and a login client from Fluent before it can mount the widget. To request access, write to fc-partners@fluentlabs.xyz.
| Page | Covers |
|---|---|
| Getting started | What to ask Fluent for, the install, mounting <FluentWidget>, reading the account |
| Concepts | Fluent ID, External wallet, Widget account, Prompt and Silent mode |
| Configuration | Every option of FluentWidgetConfig and the widget props |
| Executing Batch operations | createBatchOp and execute |
| Sponsorship | Sponsored gas and its fallback |
| Signing messages and typed data | EIP-191 and EIP-712 signatures |
| Backend auth | getAuthToken() and verifying the Auth token on your backend |
| Link X | linkX() and useLinkX() |
| Iframe bridge | A page embedded in an <iframe> using the Widget account as its wallet |
| Errors | Error classes, their codes and how to branch on them |
| Experimental API | Names that may change or be removed in a minor release |
| API reference | Every export of the package |
| Upgrading from 0.5 | Migration from 0.5 to 0.6 |