Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

hop-protocol/explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Notice: Explorer has been moved to monorepo https://github.com/hop-protocol/hop


Hop Explorer

A simple explorer for Hop transfers

Site URL

https://explorer.hop.exchange/

Development

backend/.env

# (required) db connection with default credentials
POSTGRES_USER=postgres
POSTGRES_PASS=password
POSTGRES_DBNAME=postgres
POSTGRES_HOST=localhost

# (required) fill in rpc urls
ETHEREUM_RPC=
GNOSIS_RPC=
POLYGON_RPC=
OPTIMISM_RPC=
ARBITRUM_RPC=
NOVA_RPC=
BASE_RPC=
LINEA_RPC=
POLYGONZK_RPC=
# terminal 1
./scripts/postgres_dev.sh

# terminal 2
cd backend && npm run dev:local

# terminal 3
cd frontend && npm run dev:local

Visit http://localhost:3000/

Deployments

Backend docker images are built and pushed to Docker Hub.

Branch Docker Image
production-backend hopprotocol/explorer-backend:latest
goerli-backend hopprotocol/explorer-backend:goerli

Frontend deployments

Branch URL
production https://app.explorer.hop.exchange
goerli https://goerli.explorer.hop.exchange

The develop branch is the default branch will not perform any deployments.

License

MIT