Giter VIP home page Giter VIP logo

wasm-bellman's Introduction

Bellman WASM demo

This project demonstrates how to generate snark proofs in browser using Bellman code on rust compiled to WebAssembly. This project is based on rust-webpack-template

The zkSnark in this project verifies that a prover knows a private preimage for Pedersen commitment.

Running

  • npm run start -- Serve the project locally for development at http://localhost:8080. It will automatically recompile if you change rust or js code

  • npm run build -- Bundle the project (in production mode).

Structure

All the rust code lives under /crate dir and compiles the result to /crate/pkg as a package.

The main js script for the frontend is /js/index.js, the webpage is /index.html

The project is managed by webpack, so to adjust the webserver settings edit /webpack.config.js

wasm-bellman's People

Contributors

ai-freeflyer avatar alexcrichton avatar ashleygwilliams avatar bantic avatar dependabot-support avatar fitzgen avatar nikgraf avatar not-fl3 avatar pauan avatar poma avatar renjithgr avatar sendilkumarn avatar xtuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

snjax

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.