project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Napkin Contract

Simple web tool for creating on-chain attestations for in-person agreements

Napkin Contract

Created At

Superhack 2024

Winner of

Base - Best apps built for social on Base

Project Description

The project idea is based on a well-known term that describes an agreement or contract which is written on a napkin or any other informal medium. It is usually signed in places that aren't the most suited for paperwork, like in a car, a bar, or at a sports stadium.

Such agreement terms are usually either silly or very simple for both parties to invest too much time into sealing the agreement properly. But if the minimal required precautions aren't taken to properly formalize the agreement, it won't have any legal power, which may become dramatically unfortunate in some cases. And if nobody except the signees is able to verify the agreement, it's too tempting to cancel it by "accidentally" losing the physical medium.

So this is where our project steps in. We're extending the "napkin contract" concept into web3 by providing a simple web interface for users who might not even used blockchain before and demonstrate how seamless this experience could be built using the top-notch web3 concepts like Account Abstraction and Gasless Payments.

The mobile-first UI allows users to easily create short in-person agreements that require just a common smartphone and a decent internet connection.

How it's Made

We've built the application using Next.js framework with the Thirdweb inAppWallet widget integrated on the frontend to support Account Abstraction & Gasless Payments to the end users.

The agreement is recorded on-chain as EAS attestations with a custom schemas:

  • Contract: 0x934c0be2e6f54b546817f240b9d40073e6357b61c8738cc89bb8752f38b6f9b1
  • Signatory: 0x7288cf58ee5591888d6663ec14d483294690d44faf0da12101fee8cbf9edf7aa

The application utilizes Base Sepolia blockchain to interact with EAS schemas & attestations.

background image mobile

Join the mailing list

Get the latest news and updates