Code that powers the official Helium Blockchain Explorer.
Any and all contributions from the community are encouraged.
- Guidelines for how to contribute to this repository are here.
- Discussion about the development and usage of the Helium Blockchain Explorer takes place in the official Helium Discord Server, specifically in the
#explorer-dev
channel. Join us! - For a list of issues and prioritization, please go to our Project page.
- First, clone the repository to your local machine and navigate into the folder. For example:
git clone https://github.com/helium/explorer.git
cd explorer
- Second, install all the dependencies:
yarn
- Edit your environment variables
- Open the
.sample.env
file located at the root of the project - Create a Mapbox account and copy your public access token
- Paste it in place of
123
for theNEXT_PUBLIC_MAPBOX_KEY
variable. That line should now look like this:
NEXT_PUBLIC_MAPBOX_KEY=pk.ey[...the rest of your access token...]
- Rename the file "
.env
" (delete ".sample
" from the file name)
- Then run the development server:
yarn dev
# or
npm run dev
And open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file and save your changes.
- Create a new logically-named branch. For example:
git checkout -b witness-list-enhancements
- Push your changes to GitHub and create a PR against the master branch, linking the PR to any relevant issues.
If you run into any issues or you have any questions about how to get started contributing, feel free to reach out on the #explorer-dev
channel in the official Helium Community Discord server!
This is a Next.js project.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.