Vana SDK - v0.1.0
    Preparing search index...

    Function createAndStoreGrant

    • Creates a grant file and stores it in IPFS

      Parameters

      • params: GrantPermissionParams

        The permission parameters to create the grant from

      • relayerUrl: string

        The URL of the relayer service for IPFS storage

      Returns Promise<{ grantFile: GrantFile; grantUrl: string }>

      Promise resolving to an object containing the grant file and its IPFS URL