Delegate Attestation Creation
Through this tutorial, we will utilize direct interaction with the Sign Protocol Smart Contract and the NPM SDK.
Problem Statement: Delegate Attestation Creation
There are two main reasons for delegate attestation creation: when initiated offchain, delegate attestations allow your backend to pay the gas fees for your users; when initiated onchain, delegate attestations allow your smart contract to create attestations on behalf of wallets interacting with it. This tutorial assumes you have a schema created and know how to create an attestation. Any schema will work; if you need help getting started, refer to Building a Simple Notary Platform.
This tutorial will be split into two parts - a JS backend and a Solidity contract. Both parts will require shared code to be placed into your frontend for requesting a delegate signature from users.
Finished Code
The finished code from this tutorial can be found in our examples repository here.
Last updated