UNPKG

@aut-labs/sdk

Version:

The TS/JS SDK package aims to make it easy for frontends/backends to integrate with Aut Smart Contracts

21 lines (20 loc) 548 B
import { BrowserProvider, JsonRpcSigner, Signer } from "ethers"; export interface DeployedContracts { autIDAddress: string; hubRegistryAddress: string; taskRegistryAddress: string; } export interface IPFSConfig { apiKey: string; secretApiKey: string; gatewayUrl: string; } export interface AutSDKConfig { ipfs?: IPFSConfig; enableDebug?: boolean; } export declare type EtherSigner = JsonRpcSigner | BrowserProvider | Signer; export interface MultiSigner { signer: EtherSigner; readOnlySigner: EtherSigner; }