Interface ComputingContractData

interface ComputingContractData {
    ipfsGatewayUrl: string;
    clusterId: string;
    nftContractAddress: string;
    nftChainRpcUrl: string;
    restrictToOwner?: boolean;
}

Hierarchy (view full)

Properties

ipfsGatewayUrl: string

The IPFS gateway where the encrypted files are stored on

clusterId: string

Identifier of the Phala computing cluster the contract runs on

nftContractAddress: string

Contract address of NFT which will be used to authenticate decryption

nftChainRpcUrl: string

RPC URL of the chain the NFT collection exists on

restrictToOwner?: boolean

If true, only the owner is able to use the contract for data encryption/decryption

Default

true