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.
Author: Rahul Srivastava
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…
Calculate closest point of box2d body in libgdx
In this tutorial we will calculate closest point of a contact of a body from another point in box2d in libgdx. In last two tutorials, one using BoundingBox and other using Raycast we queried box2d to get list of nearby bodies. This was used to imitate explosion effect in libgdx. In bounding box we got…
Add Explosion in Box2D using Raycast in libgdx
In the previous tutorial, we added an option to get list of bodies around the player using QueryAABB method present in box2d in libgdx. This method gives list of all bodies in a bounding box. So it is helpful in giving details of bodies in blast radius. Though the issue is that the bounding box…
Add Explosion in Box2D using BoundingBox in libgdx
In the previous tutorial we added a rotating shield to our player. The shield object would move in uniform circular speed around the player object. The shield was a kinematic body so that we can set velocity every frame to control its movement. In this tutorial, we will learn how to add an explosion using…
Move Box2d Body In Circular Path in Libgdx
Recently there was a need to have a body rotate around another moving body, sort of like a shield. To achieve this functionality, initially we thought of using a revolute joint, available in box2d in libgdx. For revolute joint we would need a base or pivot body around which another body can rotate at a…
New Android App – Crossword
Download :- Description :- Free English crossword puzzle to satisfy your passion for Crosswords. This fun educational puzzle contains both easy 13×13 crosswords and medium 15×15 puzzles. Improve your vocabulary with many different words across various themes like Animals, Animals Kids, Animals Collective Terms, Art Terms, Artists, Astronomy, Authors, Auto Parts, Bay, Capitals, Carriages, Cartoon…