Phase II: World’s First zk-Guessing for the World Cup Games — Zero Knowledge Proof for Semi-Finals

zCloak Network
6 min readDec 12, 2022

Welcome to Phase II of zCloak-Network WCG zk-Guessing Event. At this phase, users whose guessed team reached the semi-finals will have the chance to split a $1,000 prize pool.

For more details about the introduction to the event and Phase I, please view it here.

Note: For best compatibility, please use Chrome to complete this guide.

1. Import your DID into your zkID Wallet

First, in order to complete the interactions with other websites and generate a zero-knowledge proof on your own device, you will need to import your DID and VC into your zkID wallet.

1.1 Setup zkID Wallet on your browser

Please use Chrome to install the zkID wallet from Google Chrome store.

Complete the installation of the zkID Wallet on your browser.

*Note: If you have installed the zkID Wallet before, please make sure you have updated the extension to its latest 0.2.4 version before moving on to the next steps.

Go to the “Manage Extensions” page and turn on the “Developer mode” on the upper right corner. Check the version of your zkID Wallet and click “Update” for the latest 0.2.4 version.

1.2 Export your DID file

1.3 Import your DID file into your zkID Wallet

Open your zkID Wallet in your browser extension section.

Click ‘Import DID Account’

Create a password to safeguard the data in your wallet.

You can use either “DID-Keys file” or “Secret recovery phrase” to import your DID. Since you have already downloaded your DID file, we recommend you to select the first one.

Select the file you exported in 1.2, and type in the password you used when creating this DID at https://cred.zkid.app.

When you see this page, you have imported your DID into your zkID-Wallet.

2. Import your VC into your zkID Wallet

Option A: 2.1 Export your VC file

Open the credential platform. Click ‘Download’ to export your VC file to your local storage.

The json file will be downloaded to your device, and please store it properly.

Option A: 2.2 Import the VC file into your zkID Wallet

Open your wallet and click the ‘+’ icon.

Click ‘Import’ and choose the VC file you exported just now.

Click ‘Confirm’ button.

Then you can see your VC in your zkID-Wallet.

Option B: Directly import from the Credential Platform

Click “Import to zkID Wallet” to directly import your verifiable credential.

Type in your master password for the zkID Wallet.

Click “Confirm” to import your credential, and you will receive a green notice bar on the upper tab that says “Import success!”

3. Prove you are qualified to split the prizes

3.1 Login to the event page with your DID

Open the zCloak World Cup event page. Click ‘Connect Wallet’ to login.

3.2 Start Verification

Scroll down the page and you can see the success tip for Phase I if you have successfully participated in Phase I.

Click ‘Go and Verify’ to Verify your VC.

3.3 Verify your qualification via zk-proof

Click “Verify Your Guess via zk-Proof.”

Choose the VC you shared and imported.

Click “Approve” to execute zk-proof operation locally.

3.4 View the result

Congratulations! If you see the tips in the image, then that means your guess has reached the semi-finals! Due to the zero-knowledge proof technique used in the verification process, we do not know the exact team you guessed.

Reveal the Winners: At the end of the countdown, please return to this page to see if you have been selected as one of the lucky 20 winners.

Notes on the technical ingredients: the DID method — the “zk” method — used in this event is implemented by zCloak Network and registered in the W3C. The zero-knowledge proof computation is based on the Polygon Miden VM in the zkID wallet. User DID documents (not credential) are stored in Arweave. zCloak Network will compose a separate article to explain the cryptographic elements used in this event.

About zCloak Network

zCloak Network is a privacy-first DID and verifiable computation infrastructure. It aims to deliver the Web3 dream of Self-Sovereignty by moving both the storage and the computation of user data into user device from centralized servers. The integrity of user computation is proven by a STARK-based ZK-VM in a browser extension. zCloak’s W3C compatible DID system can mirror real-world legal status and reputation in DeSoc. With zCloak Network, people can use their real-world data for e.g. DeFi, Identity, Biometric applications without disclosing their privacy. zCloak Network is chain-agnostic — its identity and ZKP service can be served for most public blockchains.

Website: https://zcloak.network/#/

Twitter: https://twitter.com/zCloakNetwork

Discord: https://discord.gg/9RFhqVPGkf

Terms & Conditions:

zCloak Network reserves the right to cancel or amend any Activity, Activity Rules, or Details at our sole discretion.

This campaign is open internationally, but restrictions due to compliance regulations for different jurisdictions apply. Residents from the United States and OFAC sanctioned countries are not permitted to join this contest. The team is not responsible for any legal repercussions incurred due to the non-compliance of participants. Please consult the respective laws governing your region for the most accurate information.

--

--

zCloak Network

zCloak Network is a Real-World Identity (RWI) infrastructure for Web3. Website: zcloak.network; Product: zkid.app