Code Monkey home page Code Monkey logo

noir-pay's Introduction

Noir Pay v0

Built on Light Protocol

Noir Pay will be directly built ontop of the Light Protocol SDK and provide users with a beautifully simple private payments solution via our frontend. Have you ever thought about privately paying via Solana Pay. This repo represents a fork of the light protocol program which is built as a single unfractured shielded pool for SPL tokens. This purpose of this fork is to work on local optimisations and bug testing as contribution towards the Light Protocol SDK.

DISCLAIMER: THIS SOFTWARE IS NOT AUDITED. Do not use in production!

Testing the Program

First clone the repo locally.

git clone https://github.com/Lightprotocol/light-protocol-program.git

Then run these commands in order, it is important that you run the tests one after the other as this is how the functional flow of zk-PROOFs work. You cannot withdraw funds that no proof was ever generated for.

cd ./program && cargo test-bpf deposit_should_succeed
./program && cargo test-bpf withdrawal_should_succeed

Please note this will only currently work on Linux/Mac OSX environment's due to the need for the Solana Rust BPF Toolchain. - I have tested it from within WSL2 and it works there also.

Light Protocol Description

The Light Protocol program verifies zkSNARK (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge) Proofs to enable anonymous transactions on Solana.

Zero-knowledge proofs verify that the owner of recipient address B has deposited tokens to a shielded pool (similar to Zcash) from another address A before. Light Protocol is trustless: the zero-knowledge proof includes meta data such as the recipient address. If this data is tampered with the zero-knowledge proof becomes invalid and the withdrawal fails.

If you like to directly contact Light Protocol you can do so via their Twitter

888 Anon Club Bounty

Bounty currently @ 88 SOL [$10,500] At time of writing.

If you are a keen web3 developer and would love to build a beautiful frontend for 'Noir Pay' with integration into Solana Pay - then lets do that today! To claim / start working on this bounty please reach out to sleepdev#6905 on discord or alternatively @0xnicoj on twitter.

noir-pay's People

Contributors

0xnico 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.