project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Cannabis RFQ

We are creating a Request for Quote circuit for cannabis products that will allow requests for quotes. Selected quote price will be private via ZKP, and lab results will remain public.

Cannabis RFQ

Created At

ETHOnline 2023

Project Description

We are creating a Request for Quote application for cannabis products that will allow for all parties included in the seed to sale production of cannabis products to advertise and respond to quoted cannabis products, in which the selected quote price will be private via ZKP. Cultivators will have the ability to produce products and advertise products towards both manufacturers and retailers, with the ability to select quotes based on anonymous bids placed by both manufacturers and retailers. The following step will allow for manufacturers to advertise their processed products to retailers, giving manufacturers the ability to select the best bid or quote for their processed goods from retailers interested in their goods. In addition, all parties involved will be mandated to include COA (Certificates of Analysis) of their products, whether it be raw flower or manufactured products, to confirm the quality of the goods being sold. This application will be utilized within the Marijuana and Hemp industries for both raw flower products grown by cultivators and processed goods such as gummies, tinctures, and oils by manufacturers. The quotes will be placed on an off-chain transaction, but once the parties involved agree on a price the quote will be confirmed on the blockchain but private via ZKP. Only the parties involved will have knowledge of the selected price, but the quality of the products (the COA) will be made public.

How it's Made

This project used Noir language to write a ZKP circuit. RFQ Circuit enforces quotes cannot be zero or negative. It also makes sure the smallest quote is selected. For other participants for which a quote was not accepted, the verification/circuit will fail. Only the accepted counter party knows its quote was accepted and participants don't know each other quotes. We added 1 Noir test checking it fails if any quote is zero or negative. It also fails if the winner quote is not the smallest quote. For the live demo, we only demonstrate the circuit prove using Noir-starter repo and deployed to Github Pages. It generates the proof and verifies the circuit.

background image mobile

Join the mailing list

Get the latest news and updates