GithubHelp home page GithubHelp logo

bigcloud0403 / snarkyjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from o1-labs/o1js

0.0 0.0 0.0 467.64 MB

Typescript/Javascript framework for zk-SNARKs and zkApps

Home Page: https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp

License: Apache License 2.0

Shell 0.01% JavaScript 95.33% TypeScript 4.65% HTML 0.01%

snarkyjs's Introduction

SnarkyJS

To write a zkApp, we recommend using the zkApp CLI, which makes writing a zkApp easy by including SnarkyJS & providing project scaffolding, a test framework, and formatting.

SnarkyJS's documentation is available here.

See CHANGELOG.md for a list of changes between versions.

Run examples in Node

npm install
npm run build

./run src/examples/api_exploration.ts

Build and run web version

npm install
npm run build:web
npm run serve:web

Then go to http://localhost:8000/

Run tests

  • Unit tests

    npm run test
    npm run test:unit
  • Integration tests

    npm run test:integration
  • E2E tests

    npm install
    npm run e2e:install
    npm run build:web
    
    npm run e2e:prepare-server
    npm run test:e2e
    npm run e2e:show-report

Contributing

We appreciate any community contributions to SnarkyJS! Below are some steps that will help you get your changes in main as quickly as possible.

  1. Create a new issue for your proposed changes (or use an existing issue if a relevant one exists).
  2. Write an RFC in your issue outlining your proposed changes and motivation. Example Note: if you are proposing a smaller change your RFC will be smaller, and that's ok! :)
  3. One of the maintainers will review your RFC and work with you until it is approved.
  4. Fork the repository and implement your changes.
  5. Submit pull request and wait for code review :)

snarkyjs's People

Contributors

mitschabaude avatar trivo25 avatar ymekuria avatar martinminkov avatar shimkiv avatar mrmr1993 avatar bkase avatar psteckler avatar mimoo avatar jackryanservia avatar jasongitmail avatar maht0rz avatar marekyggdrasil avatar comdex avatar imeckler avatar lhoste-bell avatar nicc avatar kvaithin avatar

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.