Function: register()
function register(opts: WalletRegisterOptions): voidDefined in: packages/core/lib/register.ts:54
Registers the required components and initializes the SDK
Parameters
opts
Returns
void
Examples
Connect to HappyChain Sepolia
register()Connect to a pre-defined chain
register({ chainId: happyChainSepolia.id })Connect to a custom chain
register({ chainId: "0x7a69" }) // in hex format