Function: register()
function register(opts: WalletRegisterOptions): voidRegisters the required components and initializes the SDK
Parameters
• opts: WalletRegisterOptions = {}
Returns
void
Examples
Connect to HappyChain Sepolia
register()Connect to a pre-defined chain
register({ chainId: chains.testnet.chainId })Connect to a custom chain
register({ chainId: "0x7a69" }) // in hex format