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.
How to use?
let res = await orbis.connect();Parameters
Examples
/** Connecting with WalletConnect provider */
async function connectOrbis() {
let wallet_connect_provider = new WalletConnectProvider({
infuraId: "infura_key",
});
/** Enable session (triggers QR Code modal) */
await wallet_connect_provider.enable();
/** Connect to Orbis using WalletConnect as a provider */
let res = await orbis.connect(wallet_connect_provider);
}Returns
Last updated