Install
yarn add @matrix-labs/matrix-storefront-sdk
bindFcl(fcl: any, env: FlowEnv, config?: IBindConfigs): Promise<void>;
setupFcl(key: string, value: string): Promise<void>;
checkStorefront(address: string): Promise<boolean>
initStorefront(): Promise<string>;
createList(supportedNFTName: string, supportedNFTAddress: string, royaltyReceivers: [string], royaltyMount: [string], nftId: number, price: string): Promise<string>;
purchaseList(supportedNFTName: string, supportedNFTAddress: string, listingResourceId: number, sellerAddress: string): Promise<string>;
removeList(listingResourceID: number): Promise<string>;
getListingIds(account: string): Promise<[number]>;