API
@joyid/nostr
initConfig

initConfig

Config your app name and logo, and the JoyID wallet URL you want to connect to.

Types

function initConfig(config?: DappConfig): DappConfig

DappConfig

interface DappConfig {
  /**
   * The name of your app
   */
  name?: string
  /**
   * The logo of your app
   */
  logo?: string
  /**
   * The URL of JoyID app url that your app is integrated with, defaults to https://testnet.joyid.dev
   */
  joyidAppURL?: string
}