Connect
The connection API in Coffer SDK provides methods to establish, manage, and monitor wallet connections. This is a crucial first step before performing any wallet operations.
import { Coffer } from '@coffer-network/apps-sdk';
const coffer = await Coffer.init({
origin: string; // Coffer wallet URL,
});
Connection Management
await coffer.connect();