Skip to content

ens profile site. now a prototype. planned to refactor but don't really have the time for now.

License

Notifications You must be signed in to change notification settings

CuratorCat/pcc.im

Repository files navigation

pcc.im

pcc.im is a service to showcase public ens profiles. it is built by curatorcat.pcc.im for fun, and it is not affiliated with purrnelope's country club project.

this is the repo for https://pcc.im

local development

config env

cp .env.example .env.local

# true to use WS RPC, else to use http RPC
USE_WEBSOCKET=true

# will use default key by ethers.js if empty
INFURA_KEY=

using websocket makes the query much faster.

however, ethers.js's provider doesn't have full websocket control features, and I'm not really familliar with websocket. infura won't reopen connection once ws is closed from by the client, I did a hack to reload the page to re-establish connection to ws. this needs help for better solution.

start local development server

yarn dev

pwa won't be loaded in development environment, it only load in production

Deploy

currently pcc.im is deployed on vercel

About

ens profile site. now a prototype. planned to refactor but don't really have the time for now.

Topics

Resources

License

Stars

Watchers

Forks