Skip to content

[Design] How to make sure only the proofset payer (the client) can store data in their proofset? #1

@jennijuju

Description

@jennijuju

" I want to make sure that only I can upload data to the storage space that i paid for.:"

In the current service contracts, SPs are the ones creating proofset and addroots. We need to figure out how to add access control, so that only the client who bought the proofset can put data in.

Alternatives:

  • add access control feature to the service contract
  • client signs a message to authorize an addRoot when calling SynapseStorage.upload; SPs must include this signed message when calling addRoot on chain, and the service contract will validate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🎉 Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions