UNPKG

web3.db-fileconnector

Version:

GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be

17 lines (15 loc) 488 B
interface PhantomProvider { isPhantom?: boolean; solana?: { publicKey: any; connect: () => Promise<{ publicKey: any }>; disconnect: () => Promise<void>; signMessage: (message: Uint8Array) => Promise<{ signature: Uint8Array }>; signTransaction: (transaction: any) => Promise<any>; signAllTransactions: (transactions: any[]) => Promise<any[]>; // Add any other methods you might need }; } interface Window { phantom?: PhantomProvider; }