Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update blob-daddy to go-daash v0.3.0 #12

Open
0xRampey opened this issue May 25, 2024 · 2 comments
Open

Update blob-daddy to go-daash v0.3.0 #12

0xRampey opened this issue May 25, 2024 · 2 comments
Assignees

Comments

@0xRampey
Copy link
Member

0xRampey commented May 25, 2024

Currently blob-daddy allows posting arbitrary blobs to Celestia and Avail. We want to update the UI to allow users to verify the availability of their posted blobs.

Approach:
Posting and verification are currently separate processes. You cannot immediately verify the availability of a blob on L1 right after posting it to DA (not yet). The time gap is a couple hours. So its best to keep them on separate pages or tabs.
The flow would go like this:

  1. Choose DA
  2. Enter txHash for Celestia or (block height, extrinsic index) for Avail
  3. Click Verify button
  4. Show some blob data associated with the txHash
  5. Show Verified message alongwith:
  • link to contract
  • decoded data sent to our verifier contract
  • Profit?

Bonus
We could also have them upload blob data to check its availability. It'd be pretty cool.
Live demo this and send this out on socials.

cc @kautukkundan

@0xRampey 0xRampey changed the title Update blob-daddy with go-daash v0.2.0 Update blob-daddy togo-daash v0.2.0 May 25, 2024
@0xRampey 0xRampey mentioned this issue May 25, 2024
4 tasks
@aashutoshrathi aashutoshrathi changed the title Update blob-daddy togo-daash v0.2.0 Update blob-daddy to go-daash v0.2.0 May 28, 2024
@aashutoshrathi
Copy link
Member

Let's also move this issue to https://github.com/stackrlabs/blob-daddy once we approve the flow

@aashutoshrathi aashutoshrathi changed the title Update blob-daddy to go-daash v0.2.0 Update blob-daddy to go-daash v0.3.0 Jun 12, 2024
@aashutoshrathi
Copy link
Member

aashutoshrathi commented Jun 25, 2024

On the UX of this, if we are building this.
We can have this:

  • A page where all jobs are listed and user's own jobs are shown with highlighting as we can store their job IDs in the localStorage and show it to them later. [Requires -> API for fetching all Jobs with DA and time submitted]
  • In the list there is a button (enables 2 hours after submission) in each row for "Verify", clicking on which opens a modal where you can fetch the inputs (share pointers and info) for proof verification [Requires -> API for fetching proof input by Job ID]
  • After you have the inputs, we show a button for "Verify the Proof" and we do RPC call on DA Contract from user's browser only and verify it, also show them the bridge transaction it was included in.

cc: @0xRampey @kautukkundan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants