Skip to main content

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.

PageCovers
Getting startedWhat to ask Fluent for, the install, mounting <FluentWidget>, reading the account
ConceptsFluent ID, External wallet, Widget account, Prompt and Silent mode
ConfigurationEvery option of FluentWidgetConfig and the widget props
Executing Batch operationscreateBatchOp and execute
SponsorshipSponsored gas and its fallback
Signing messages and typed dataEIP-191 and EIP-712 signatures
Backend authgetAuthToken() and verifying the Auth token on your backend
Link XlinkX() and useLinkX()
Iframe bridgeA page embedded in an <iframe> using the Widget account as its wallet
ErrorsError classes, their codes and how to branch on them
Experimental APINames that may change or be removed in a minor release
API referenceEvery export of the package
Upgrading from 0.5Migration from 0.5 to 0.6