Git Product home page Git Product logo

blobstream-starknet's People

Contributors

0xicosahedron avatar abdelstark avatar akashneelesh avatar ametel01 avatar b-j-roberts avatar drspacemn avatar ermvrs avatar faytey avatar florianlgrs avatar gogo2464 avatar jordyro1 avatar othmansefraoui avatar remybar avatar thomas192 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blobstream-starknet's Issues

[dev] Benchmark Blobstream

Celestia is moving towards a ZK solution for Blobstream due to the cost-prohibitive nature of signature verification on L1.

We would like to know if this remains cost prohibitive on L2. A simple benchmark of gas usage and estimated cost to run the Blobstream Contracts data root submission.

This benchmark of signature verification should be run and displayed against the cost to verify the succinct snark proof.

References

[feat] NextJS App

Continuation #42

Next.js application in the project root called blobby that implements the application logic for the Figma designs bootstrapped here:

#59 (comment)

[feat] Blobby demo base64 encoding -> SVG

In the blobby demo, read the base64 svg encoding given in step 6, then decode and display the SVG like in step 1.

Example base64 SVG encoding : data:image/svg+xml;base64,CiAgICAgIDxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+CiAgICAgICAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIGZpbGw9IiNhZDExZjciIC8+CiAgICAgICAgPHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjEyIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZHk9Ii4zZW0iIGZpbGw9IndoaXRlIj5GbG9yaWFuPC90ZXh0PgogICAgICA8L3N2Zz4KICAgIA==

( Decode the CiAgICA... part using base64 )

References

Continuation of #42

Blobby: https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/blobby

[feat] Blobby demo SVG -> base64 encoding

In the blobby demo, dynamically create an SVG from the inputted text and display in Step 1. Something like this :

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
     <circle cx="50" cy="50" r="40" fill="#F37567" />
     <text x="50" y="50" font-size="12" font-family="sans-serif" text-anchor="middle" dy=".3em" fill="white">{svg}</text>
</svg>

( With better sizing and placement, similar to what exists now )

Also, encode the generated SVG in base64 and replace the existing CiAgIC... bit here with the encoded value.

References

Continuation of #42

Blobby: https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/blobby

[feat] UX/UI Design

Create high fidelity mockups similar to based64.xyz using Figma.

Responsive layout based on Tailwind recommandations (5 breakpoints).

[feat] L3 Core Contract

Build out a minimal core contract for an L3 to utilize for state update.

Will be used for testing the query of the DA Oracle from the blobstream contracts, will be necessary for L3 integration.

References

messaging cairo contract - https://github.com/dojoengine/dojo/blob/main/crates/katana/core/contracts/messaging/cairo/src/appchain_messaging.cairo

solidity core contract - https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/solidity/Starknet.sol

[feat] binary hash digest

[feat] ABI Encode

PENDING #66

Do we need to have a function to emulate:

  • abi.encode
  • abi.encodePacked
  • abi.encodeWithSelector

Open Questions:

  • if we do need them should they be added to alexandria and imported?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.