Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hop-protocol/explorer

📊 A simple explorer for Hop Protocol v1 transfers
https://github.com/hop-protocol/explorer

d3 data-visualization hop hop-protocol javascript

Last synced: about 2 months ago
JSON representation

📊 A simple explorer for Hop Protocol v1 transfers

Awesome Lists containing this project

README

        

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

---

# Hop Explorer

> A simple explorer for Hop transfers

## Site URL

[https://explorer.hop.exchange/](https://explorer.hop.exchange/)

## Development

`backend/.env`

```sh
# (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=
```

```sh
# 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/](http://localhost:3000/)

## Deployments

Backend docker images are built and pushed to [Docker Hub](https://hub.docker.com/r/hopprotocol/explorer-backend).

| 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](LICENSE)