Tutorial: Building a Simple Notary Platform

Through this tutorial, we will utilize direct interaction with the Sign Protocol Smart Contract, the NPM SDK, and the Indexing Service's APIs to query for attestations.

Problem Statement: A Basic IRL Notary Platform

For simplicity, let's assume that Bob needs to sign a contract physically and needs the signature notarized by a second person, Alice. With digital signatures, anybody can validate the signature using public keys, but for signatures in real life, this cannot be easily done. How can we be sure that Bob signed instead of another person forging his signature? Enter Alice, a trusted notary. Alice's whole job is centered around attesting that the person signing a contract is who they say they are. If people know they can trust Alice, they know that Bob did indeed sign the contract if Alice says so. We will implement a system where Alice can attest Bob's signature using attestations on Sign Protocol.

Finished Code

The finished code from this tutorial can be found here.

Last updated

Logo

Copyright Sign 2021-2024