WalletSDKConfig: {
    appId: string;
    appUrl: string;
    chainId?: string;
    pairingApiUrl?: string;
    redirectMode?: string;
    walletApiUrl?: string;
}

Type declaration

  • appId: string

    Summary

    The application ID, obtained in the Grindery bot by the dApp developer.

  • appUrl: string

    Summary

    The application URL. If not provided, the current page URL will be used.

  • Optional chainId?: string

    Summary

    The default chain ID in CAIP-2 format.

  • Optional pairingApiUrl?: string

    Summary

    The pairing API URL. If not provided, the default Grindery API URL will be used.

  • Optional redirectMode?: string

    Summary

    The redirect mode for the pairing request.

    Example

    'tg' | 'url' | 'close'
    
  • Optional walletApiUrl?: string

    Summary

    The wallet API URL. If not provided, the default Grindery API URL will be used.