pmespresso / contracts

Implementation of the Farcaster contracts

Home Page:https://www.farcaster.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contracts

This repository contains all the contracts deployed by the Farcaster protocol. The contracts are:

  1. Id Registry - issues farcaster identities (fids) to new users.
  2. Storage Registry - allocates storage to fids and collects rent.
  3. Key Registry - allows users with an fid to register key pairs for signing messages.
  4. Bundler - allows calling registry and storage in a single transaction.
  5. Signed Key Request Validator - validates key registry metadata.
  6. Recovery Proxy - proxy for recovery service operators to initiate fid recovery.
  7. Fname Resolver - validates Farcaster ENS names which were issued off-chain.

Read the docs for more details on how the contracts work.

Deployments

The v3 contracts are deployed across both OP Mainnet and Ethereum Mainnet.

OP Mainnet

Contract Address
IdRegistry 0x00000000fcaf86937e41ba038b4fa40baa4b780a
StorageRegistry 0x00000000fcce7f938e7ae6d3c335bd6a1a7c593d
KeyRegistry 0x00000000fc9e66f1c6d86d750b4af47ff0cc343d
Bundler 0x00000000fc94856f3967b047325f88d47bc225d0
SignedKeyRequestValidator 0x00000000fc700472606ed4fa22623acf62c60553
RecoveryProxy 0x00000000fcd5a8e45785c8a4b9a718c9348e4f18

ETH Mainnet

Contract Address
FnameResolver Not yet deployed

Audits

The v3 contracts contracts have been reviewed by 0xMacro:

Contributing

Please see the contributing guidelines.

About

Implementation of the Farcaster contracts

https://www.farcaster.xyz/


Languages

Language:Solidity 99.8%Language:Julia 0.2%Language:Rust 0.1%