GithubHelp home page GithubHelp logo

nganha9999 / contracts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farcasterxyz/contracts

0.0 0.0 0.0 1.18 MB

Implementation of the Farcaster contracts

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

Rust 0.07% Julia 0.08% Solidity 99.85%

contracts's Introduction

Contracts

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

  1. Id Registry - tracks ownership of farcaster identities (fids).
  2. Storage Registry - allocates storage to fids and collects rent.
  3. Key Registry - tracks associations between fids and key pairs for signing messages.
  4. Id Gateway - issues farcaster identities (fids) to new users.
  5. Key Gateway - adds new associations between fids and keys.
  6. Bundler - allows calling gateways and storage in a single transaction.
  7. Signed Key Request Validator - validates key registry metadata.
  8. Recovery Proxy - proxy for recovery service operators to initiate fid recovery.
  9. 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.1 contracts are deployed across both OP Mainnet and Ethereum Mainnet.

OP Mainnet

Contract Address
IdRegistry 0x00000000fc6c5f01fc30151999387bb99a9f489b
StorageRegistry 0x00000000fcce7f938e7ae6d3c335bd6a1a7c593d
KeyRegistry 0x00000000fc1237824fb747abde0ff18990e59b7e
IdGateway 0x00000000fc25870c6ed6b6c7e41fb078b7656f69
KeyGateway 0x00000000fc56947c7e7183f8ca4b62398caadf0b
Bundler 0x00000000fc04c910a0b5fea33b03e0447ad0b0aa
SignedKeyRequestValidator 0x00000000fc700472606ed4fa22623acf62c60553
RecoveryProxy 0x00000000fcb080a4d6c39a9354da9eb9bc104cd7

ETH Mainnet

Contract Address
FnameResolver Not yet deployed

Audits

The v3.1 contracts contracts were reviewed by 0xMacro and Cyfrin.

The v3.0 contracts contracts were reviewed by 0xMacro:

Contributing

Please see the contributing guidelines.

contracts's People

Contributors

varunsrin avatar horsefacts avatar sds avatar gaavar avatar appleseed-iii avatar jcliff avatar shotaronowhere avatar cmlad avatar craigjson avatar dimal97 avatar hmac512 avatar ilhamfp avatar mds1 avatar 0xzoz avatar gesu avatar yashkarthik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.