Skip to content

fracton-ventures/offchain-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 

Repository files navigation

ENS Offchain Registrar

This repo builds on top of ensdomains/offchain-resolver to demonstrate what is effectively an offchain subname registrar for ENS names.

Note: This repo does not include a resolver contract. You can find that here, or use ccip.tools to easily deploy it to Goerli.

Cloudflare Worker is used as the CCIP Read gateway. Cloudflare D1 is used to store name data.

These choices allow for a scalable namespace with low cost (store up to 1M names for free), low latency, and high availability.

A bare bones Next.js app that allows users to easily register subnames (i.e. POST to the Cloudflare worker's API) by signing a message with their wallet.

URLs

Huge thanks to Greg

Flow

  1. deploy worker (follow tutorial)
  2. deploy resolver contract
  3. get ens name
  4. set resolver contract for ens name
  5. register name on frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •