Git Product home page Git Product logo

hyle's Introduction

Hylé

A sequencing and settlement layer to help you build provable apps that are minimally, yet sufficiently, onchain.

Repository for the Hylé chain. This repository is for the work-in-progress rust client. The older (but still maintained) Cosmos SDK based client can be found at hyle-cosmos.

Current status: WIP

Getting Started with Cargo

cargo build
cargo run --bin node
  

Getting Started with Docker

Build locally

  docker build . -t hyle_image:v1
  

Run locally with Docker

  docker run -v ./db:/hyle/data -p 4321:4321 -p 1234:1234 hyle_image:v1 

If you have permission errors when accessing /hyle/data volume, use "--privileged" cli flag.

Run locally with grafana and prometheus

Starting services

  docker compose -f tools/docker-compose.yml up -d

Submit blob transaction

  curl -X POST --location 'http://localhost:4321/v1/tx/send/blob' \
--header 'Content-Type: application/json' \
--data '{
    "identity": "ident",
    "blobs": [
        {
            "contract_name": "contrat de test",
            "data": []
        }
    ]
}'

Access Grafana

  http://localhost:3000

Stopping

  docker compose -f tools/docker-compose.yml down

Useful links

hyle's People

Contributors

wraitii avatar dependabot[bot] avatar maxgttph avatar bertrandd avatar julienrbrt avatar hhalex avatar asynkayo avatar alexture avatar xiaolou86 avatar

Stargazers

Jack Gilcrest avatar  avatar Matteo avatar Abdul Taleb avatar  avatar Lewechi Godsfavour avatar Vu Vo avatar Sandalots avatar evalir avatar Brett Sun avatar Sylve avatar  avatar DeanMojo avatar GITSRC avatar Javed Khan avatar Emmanuel Soetan avatar Chris avatar krane avatar Chunlin Wang avatar Timuçin YILMAZ avatar  avatar Temitope Hassan avatar Kaan Yüksel avatar Mamy Ratsimbazafy avatar M.Emin Taş avatar Shun Kakinoki avatar Rajiv Patel-O'Connor avatar Francesco Ceccon avatar  avatar

Watchers

 avatar  avatar Fishon Amos avatar Lewechi Godsfavour avatar Asher avatar  avatar

hyle's Issues

Implement verification for Halo2 ZK proofs

The purpose of this issue is to implement verification of Halo2 proofs on Hylé.

This should be done using a subprocess call a rust verifier, similar to our risczero implementation.
See instructions on https://github.com/axiom-crypto/halo2-scaffold/ for integration

Additionally, the matching verifier must be implemented in the verifier repository → Hyle-org/verifiers-for-hyle#11

This PR is related to the “WebAuthn signer support” PR → Hyle-org/webauthn-identity-provider#1

Implement Noir / Barretenberg proof verifiers

Noir is a Domain Specific Language for SNARK proving systems. It allows you to write SNARKS in a Rusty language and focuses on a simple, familiar syntax.

The purpose of this issue is to Implement verification of Noir proofs using the Barretenberg backend (default for Aztec).

This should be done using a subprocess call to a Typescript-based barretenberg verifier, similar to our `risczero� implementation.

Noir lang docs are at https://noir-lang.org/, hub link for noirJs and other related libraries. See also bb.js

Additionally, the matching verifier must be implemented in the verifier repository, see Hyle-org/verifiers-for-hyle#8

Error: rpc

I'm interested in your project. For testing, I've been trying to register a smart contract for several days, according to https://docs.hyle.eu/developers/getting-started/your-first-smart-contract/, first locally and now on devnet, but I always get the same error :

Error: rpc error: code = InvalidArgument desc = rpc error: code = InvalidArgument desc = Address cannot be empty: invalid request
Error: rpc error: code = InvalidArgument desc = rpc error: code = InvalidArgument desc = Address cannot be empty: invalid request

Did I miss something ?

Implement MidenVM proof verifier

Miden VM is a zero-knowledge virtual machine written in Rust built by the Polygon team.

The purpose of this issue is to implement verification of MidenVM proofs using the provided backend https://crates.io/crates/miden-verifier.

This should be done using a subprocess call similar to our risczero implementation (https://github.com/Hyle-org/hyle-risc-zero-verifier) to a rust Miden verifier.

The Miden rust crate documents exactly how it works. You can also check https://github.com/0xPolygonMiden/miden-vm for further documentation about how it works.

Additionally, the matching verifier must be implemented in the verifier repository -> See Hyle-org/verifiers-for-hyle#9

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.