orbis.connect()
The connect function will create a new Ceramic session that will be used to write streams. Sessions will stay valid for 31 days by default.
We recommend developers to also use the orbis.isConnected()
on each app mount/load to check if there is an active session for the user visiting your app website.
How to use?
Parameters
provider
:optional
By default it will be usingwindow.ethereum
if available. Can be used to pass the WalletConnectprovider
for example.
Examples
Returns
Last updated