UNPKG

@dfinity/oisy-wallet-signer

Version:

A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.

11 lines (10 loc) 387 B
import { IDL } from '@icp-sdk/core/candid'; import type { IcrcBlob } from '../types/blob'; export declare const encodeIdl: <T>({ recordClass, rawArgs }: { recordClass: IDL.RecordClass | IDL.VariantClass; rawArgs: T; }) => IcrcBlob; export declare const decodeIdl: <T>({ recordClass, bytes }: { recordClass: IDL.RecordClass | IDL.VariantClass; bytes: Uint8Array; }) => T;