rollup-data-availability
rollup-data-availability copied to clipboard
Blob submission repository
We should move from an instantiable flow to allow users who aren't familiar with near to submit blobs. Needs to use namespace and emit events for submissions. Use owner from sdkcontracttools.
Information in the repository:
- pk: namespace:id
- owner info
- base priority (can default to 0 for now, will need soon)
- maintainers: bytes[]
Would need functions to register themselves for a fee for sybil resistance. Only the account owner & maintainers should be able submit blobs here. Still try to deserialise as minimal as possible, try to just take from the input bytes somehow. Expect that the submit function will look sosmething like (namespace, blob).
Eventually we add onchain priority queue for submit&prove