API
@joyid/evm
connect

connect

Connect to JoyID wallet and return an ethereum address.

Types

function connect(config?: EvmConfig): Promise<`0x${string}`>

Example

async function connectOnClick() {
  const address = await connect()
  console.log(`Connected with address ${address}`)
}