@crypto-dev/pasar-sdk-development
Version:
PasarProtocol NFT Marketplace SDK
26 lines (25 loc) • 706 B
TypeScript
import Web3 from "web3";
export declare class AppContext {
private env;
private appDID;
private assistUrl;
private ipfsUrl;
private didResover;
private web3;
private walletConnector;
static appContext: AppContext;
private constructor();
static createInstance(testnet: boolean): void;
static getInstance(): AppContext;
getAssistNode(): string;
getIPFSNode(): string;
getDidResolver(): string;
getDiaAddress(): any;
isInAppBrowser(): boolean;
getChainType(): string;
getWeb3(): Web3;
getRegistryContract(): string;
getMarketContract(): string;
getPasarCollectionAddress(): string;
getFeedsCollectionAddress(): string;
}