At CRW we stand behind infrastructure growth of digital assets and execute creative ACTivations for mass adoption of decentralized technologies. Our mission focuses on the intersection between powerful technology and its influence on everyday consumers. We therefore create human centered on-boarding campaigns that hit the heart… and stomach!
The main goal in this hackathon is to discover a way to incentivize these experiences, enjoying delicious deals while settling bills with crypto currencies while maintaining PRIVACY.
Problem: Ensuring that both FOODIE and RESTAURANT accounts of any crypto wallet used in transaction is masked, hiding information about owner holdings.
Solution: 1] Create ERC20 CRW Loyalty Token
2] CRW Delicious Deals as LENS nfts
2] Using MINA protocol
By receiving this answer - the RESTAURANT Wallet on Mina Protocol would know that FOODIEX has enough to order the delicious deal item that must be settled in crypto. Restaurant can be confident to fire the special order and does not know the info of Foodiex bags.
THIS IS ONLY START OF ZK solution, we would need to develop the process more thoroughly
The CRW Loyalty Token -non-monetary layer -not to be listed on exchanges -must be given or other nft smart contract for purchase using Lens CODE: To Be deployed on Polygon Smart Contracts needed:
We can think loyalty points instead about these being nfts on LENS also like a coupon system for quick redemption.
Some issues regarding design of token: We ran into different design issues regarding: The restaurants being unchecked in their duty to correctly validate whether a user has arrived to their appointment, and ultimately settled in crypto. they should get some points for simply showing up and a greater amount of points for settling in featured coin. We need to verify this by restaurant. -Perhaps until we know a better way, FOODIE can use their WORLDCOIN Badge LENS profile to send screenshot of settle bill in crypto ether scan and resturant bill - then NFT sent via lens...
Also, not finding a good storage structure for appointments such that we can correctly validate reservation availability. Can we install an open table API? We found a mapping software PROXI they have a mapping element with opentable integration that we can load all restaurants participating in the ACTivation. See cryptorestaurantweek.com/dc However, how could we make this software talk to the smart contract to verify the 1] Reservation is made 2] Reservation is settled We want these to be done on chain through the FOODIE Wallet ID but again we want privacy on side of how much is in account. How many reservations completed by FOODIE is okay to show - we want to use GRAPH subgraph to query this and make a cool FOODIE Leaderboard to display and gamify the eating experience city by city and globally.
Our current POC design doesn't check for restaurant capacity or availability.
Also, the restaurant may forget to validate a user, or may validate users that haven't been there. These are some design issues that we encountered gave thought but have not baked in a real solutions due to time constraints. We are aware of these issues and how problematic they can be.
Other Design Elements:
LENS: We created a CryptoRestaurantWeek.lens profile We want to also create a FOLLOW MODULE that speaks with the CRW erc20 Token when deployed OR reads the FOODIEID NFT WALLET to see if they have participated in CRW ACTivation in any city in order to enter.
Within the token gated LENS community are will be access to Delicious Deals and other initiatives the partner RESTAURANTS will offer.
There will also be badges related to TOP FOODIE, TOP GIVER etc... It would be nice if we also use Graph here to automate the badging system - can Graph talk to Lens?
WORLDCOIN APP We created a CryptoRestaurantWeek project in the dashboard. That is as far as we could get with time and resources. We want LENS id - of followers in CryptoRestaurantWeek.lens to have special BADGE from Worldcoin. This integrated in lens but also in the CRW Dapp.
We want to integrate in the Lens - Worldcoin connection as well as in CRW APP Login as an elevated status sign-up.
Our next plan would be to determine above and take machines for opening and verifying accounts to CryptoRestaurantWeek ACTivation in Bogota - during EthBogota and Devcon. Would we have the CRW Dapp completed by then??? maybe and if not we could apply to hack again over there - still run the ACTivation but not with the full MVP in use.
THE GRAPH: To create a subgraph that will query the FOODIE ID Wallets & CRW LOYALTY points system for the purpose of having a detailed CRYPTO RESTAURANT WEEK FOODIE LEADERBOARD
We would download the graph cli, node and make a subgraph. We did not have time to test also considering we need user data and need more time to deploy CRW smart contract and allocate to a few FOODIE wallet accounts to start talking.
MINA PROTOCOL The dream is to use complete ZK solution to keep the FOODIE and RESTAURANT wallet quantity private.
For now we can gather on chain - CRW Dapp data about Foodie ID and Loyalty point associated to make a data set that the RESTAURANT Mina Wallet can talk to and ask about specific FOODIE ID user # of points only in a question that asks if there is a balance above a certain amount.
How would this ZKapp speak to the CRW Foodie wallet ? using the Provider - what would be the exact flow of FOODIE ENTER RESTAURANT RESTAURANT CHECK FOODIE ID - SCAN CODE? SCAN CODE THAT LEADS TO DATA SET? ALREADY HAVE LINK TO DATA SET AND INPUT THE FOODIE WALLET TO CHECK We are no able to fully address how flow will work without more understanding of provider details and how system works overall. we would like to explore this further and see also if the full dream of ZK design for the whole experience is possible with mina.
WALLETCONNECT: We will start with updating the simple website made on gitbook. We will add - wallet connect integration so that users can connect wallet and then later book reservation and receive points. www.cryptorestaurantweek.com would be where they would connect. Time constraints prevented us from experimenting in he actual implementation but it should be possible.
Later we plan to make a mobile app on Flutter and also integrate WallerConnect
We want to explore how we can redeem CRW Loyalty token or LENS nft into monetary crypto that is on exchanges to then have users have options to lend-borrow and stake that crypto with provider like aave. We want an easy way for them to plug and play into earning rewards by swaping out CRW loyalty points in their wallets to these opportunities. <this would be an integration within the mobile app, we are thinking to explore further when we get to this point. We want to encourage FOODIES and MERCHANTS using CRW LOYALTY swapped coins to investment and return generating opportunities that are safe.