zCloak Membership Credential Event Tutorial

zCloak Network
7 min readAug 15, 2022

What is zkID Credential Platform?

In the past two weeks, we have launched the beta version of the zkID Credential Platform. Based on KILT protocol, the platform enables everyone to create their own DID, design the format of a credential, fill-in a claim, make an attestation and share the verifiable credential with others. It is the first step of our endeavor for people to truly control their own data and fulfill the idea of Self-Sovereign Data.

The zCloak team is thrilled to make the beta version of the Credential Platform public and has started to invite a small group of users to do beta testing. The platform will be used for a number of community events in the next few months.

A demo showcasing the main functionalities of the platform has been made by our team. You can check it out here.

zCloak Membership Credential Event Tutorial

At this event, all zCloak community members (i.e. users who joined our Discord server) can claim a credential named “zCloak Membership”. With the claimed membership, users can fill in a Gleam form for an exclusive Galaxy OAT for this event. Now scroll down and read this tutorial to claim your zCloak Membership Credential!

1) Create an account

Go to https://credential.zkid.app/#/claimer/claims and click Create to generate a new account for first-time users. (Or you can also restore your account by DID-Key file or Mnemonic phrase.)

Follow the steps and create a password to your account. There will be 12 mnemonic phrases automatically generated for you. Write them down or take a screenshot immediately, because you need them in the next step for confirmation. Make sure you keep your mnemonic phrases safe!

2) Import credential type (cType)

Here’s what the home page looks like. There are three tabs on the left side: Credential type shows all different credentials imported (here nothing is showing up since we havn’t imported any credentials to this new account); Credentials shows your created claims and your attested credentials; Message shows all notifications from your actions on the platform.

Click “Import” on the upper right corner, and then copy and paste the CType hash for this zCloak Membership Credential: 0xdf50a915b489160b9bc1fb114c342161438d55c7f10c8b606adbe1f6d0e16281

The credential type of zCloak Membership now shows up on the page. Every credential type has its own unique cType hash.

Note that for this membership event, a zCloak Membership cType has been imported for you automatically (shown as below).

3) Claim your zCloak Membership Credential

The zCloak Membership credential is designed for you to prove that you are a member of the zCloak discord server. You need to fill in your discord user ID and a verification code to complete your claim.

Click “Create Claim” to start filling in your information. First, type in your Discord User ID (eg. Alice#1010, which is your username instead of the ID number code). Next, go to the #zkid-verify channel in zCloak Network’s Discord channel, and type in command “/zkid-verify” to get your unique verification code. Then, paste the code into the second field.

Once you click the “Submit” button, you will need to input your account password and go through a Captcha verification. You can see the steps happening to your claim on the screen: by submitting the claim, you are requesting an attestation from the zCloak team. Your message will be end-to-end encrypted and sent to the attester.

You can now see on your “My Claims” tab the claim you just submitted, which shows that it’s in the attestation process. In about 30 seconds, you will see a notification showing up on the upper tab of the screen, which shows the attestation result.

Now you will find the status of your claim has turned into Attested. When you click on it, you will open up your credential card which shows the items you just input: your Discord User ID and the verification code generated in from the Discord channel.

4) Share your credentials

Finally, after you receive your attested credential, you also have the option to share it with others. You can choose the designated verifier that you want to share it with by entering the receiver’s DID or web3Name. For the zCloak Membership credential, you can share it with us (web3Name: zcloak-verifier). The zCloak credential supports selective disclosure. You can pick specific items in your credential you want to share with different verifiers by checking the box in the front.

5) Share your credentials on Twitter

Once you are done with the steps above, you can tell your friends about this event by sharing the news on Twitter. Click on the Twitter icon on the left of the four icons, and click share to tweet to your Twitter account! (Share to Twitter is also the 2nd task on the Gleam form.)

Frequently Asked Questions regarding the Credential Platform:

  1. Please be sure to use your Discord username for filling in the first blank, eg. Alice#1010, instead of the user id number code that looks like this: 46210501815854638.
  2. Please do not submit the same attestation repeatedly, one Discord user can only claim one credential, repeated actions will be rejected even if your info was filled in correctly.
  3. Since one Discord user can only claim one credential, due to data security reasons, even if the same account submit the correct info corresponding to the same account, the repeated actions will be rejected, only one attestation will go through. Therefore, before you switch your DID account, please make sure you have successfully backed up your current account (meaning you should download your DID-Key and store it properly for future restoration of the account). Each DID account can only view its own credentials and messages, so switching accounts carelessly may cause data loss or invisibility.
  4. Please do not carelessly clear local storage of your webpage, since credential info and your private key to the DID account may be lost in the clearing process.

Tech Takeaways

  1. zCloak Credential Platform is an intuitive user interface for W3C DID protocol. It can support different DID method implementations in the future.
  2. The Credential Platform is permissionless. Anyone can use this platform to claim/attest to credentials without contacting the zCloak team.
  3. All messages sent and received in the Credential platform are end-to-end encrypted. I.e., only the receiver can decrypt the messages.
  4. The attester/verifier role can be implemented as bots. This can help the attesters/verifiers to automate the attestation/verification process. The implementations of these bots are part of the zCloak-SDK and will be open-source in the zCloak Github repo.

We hope you liked this tutorial and claimed your zCloak Membership Credential. More credential types and collaborations are coming for the Credential Platform soon. You can follow zCloak twitter account and stay tuned for our discord channel to learn more.

What is zCloak Network?

zCloak Network is a privacy-preserving computing platform. It enables a new computation paradigm where people can do computation/analysis of their data in client device, not in centralized servers. zCloak Network combines the latest progress in zero-knowledge cryptography and verifiable credentials to ensure both the computation process and the user data are trustworthy.

With zCloak, users can prove their identity has certain attributes or they satisfy certain requirements without showing any private data. The user proofs are made available in major public blockchains by zCloak oracle service. Third-party Dapps can leverage this information to provide personalized service to their users.

--

--

zCloak Network

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