AttestCaster is a simple solution for issuing and managing attestations in the form of a client application for Farcaster, the leading decentralised social network protocol in the world.
By building this solution in the form of a Farcaster client, users will be able to:
- join the attestation ecosystem of
Sign Protocol
with their existing Farcaster accounts. - contribute to the growth and issuance of attestations in Sign Protocol’s attestation ecosystem. As easy as making a social media post, probably easier.
- test and suggest new schemas for Sign Protocol’s schema registry
- attest to the social media content they see, i.e., can function akin to X’s Community Notes feature
This project has two main folders:
.
├── contracts
│ ├── src
│ ├── broadcast
│ ├── script
│ └── test
└── web
├── app
└── src
contracts folder contains all the solidity code (Currently not used)
web folder contains all the frontend code
Step 1: Obtain Wallet Connect Project ID from walletconnect.com and assign to the .env.local
file
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=ADD_WALLET_CONNECT_PROJECT_ID_HERE
# The bot to sign attestation, any ETH accounts
SIGN_BOT_PRIVATE_KEY=
# This bot is used to post attestations on Farcaster, FID and Key should match
FARCASTER_BOT_FID=
FARCASTER_BOT_PRIVATE_KEY=
# Install
yarn
# Run
yarn dev
deploy both fron-end and back-end in Vercel
To format and lint the package locally use these quick steps.
# Format fix
yarn format
# Lint fix
yarn lint
This repo is built based on Coinbase OnchainKit
We are thinking of ways to make this step easier in the future! Happy hacking!