This project is deprecated, and the Avalanche Explorer is in the process of being migrated to the Subnet Explorer instead. As such, some URLs will redirect to the new explorer experience as it is developed, starting with the Home page and C-Chain page.
Frontend Vue.js application for displaying Avalanche network activity and blockchains data from the Ortelius indexer and Avalanche-Go client.
yarn install
yarn serve
- project runs with hot reloadingWhen you go to the app on your browser, you might get a warning saying "Site is not secure." This is because we are signing our own SSL Certificates. Please ignore and continue to the website.
The homepage currently redirects to the subnet explorer so to view the app you'll need to go to a specific blockchain url such as: https://localhost:8081/blockchain/11111111111111111111111111111111LpoYY
See .env
. By default, the Avalanche Explorer interfaces with the Everest test network.
For local development against ortelius and avalanche go, use the docker container setup by the ortelius team. Info can be found here. You can also connect to a local network you setup yourself, install and run instances by following the instructions found in each lib:
Once those are stood up and running, run yarn serve:local
the application will use the configs in the .env.hosted
file as the base urls for ortelius and avalanche go
When creating http requests, do so from a service abstraction layer. refer to src/service/* for an example. The http layer, models and helpers should all be centralized into this layer.
The file /src/known_addresses.ts
is a dictionary that maps an address to a name. This can be customized freely.