Zero Knowledge Proof (ZK Proof) allows validation of a statement’s truth without revealing specific data. It is used in activities like authenticating the owner of a private key or ensuring someone belongs to a particular group. Sui’s ZK login process uses JWT and salt to generate input signals. If the circuit runs successfully, it confirms the user knows the JWT and private salt. The circuits include multiple steps, which involve non-revealing validation, parsing JWT, checking signatures and claims, extracting and validating aud and iss portions, computing the address seed, and validating public signals match the private ones.
Tag: Blockchain
Verify Signed Message on-chain in Solidity
Introduction For oasis p4w3 hackathon, I was working on concept where we can store full game state on chain. In the game player1 hides a treasure on a grid and player2 has to find it. Here is the link to the game and its full source code. In sapphire paratime, we can store private fields…
Voting Proposal Program in Solana
In the last week or so, I have been going through Solana docs to understand how Program Derived Addresses (PDAs) work. To get a hang of it, I have been working on a small voting proposal program which utilizes PDAs so that anyone can create a proposal and vote on in. A functionality which is…
Solana Ride Sharing Application – Part 2
In the previous post, we covered the basics of how to store the data in the Solana blockchain. You can also find remote jobs related to blockchain to make money out of your passion. In this post, we will look into storing details in the blockchain based on the current state of the application. Application…
Solana Ride Sharing Application – Part I
I participated in Building out Loud Solana hackathon. It turned out to be a good learning experience. It is my first time working on a blockchain project along with Rust and ReactJS framework and it took me some time to understand all of it. Let’s start with the final product. Here is the Github link…