iotex-explorer is a frontend website for iotex-core blockchain.
Check our site hosted at https://iotexscan.io.
Or deploy your own instance on Heroku.
git clone git@github.com:iotexproject/iotex-explorer.gitThis is intended for *nix users. If you use Windows, go to Run on Windows. Let's first prepare the environment.
cd iotex-explorer
nvm use 10.15.0
npm install
# prepare environment variable
cp ./.env.tmpl ./.envNote: please provide your iotex-core URL like IOTEX_CORE=http://api.mainnet.iotex.one:80 in ./.env file.
Built with OneFx (React, GraphQL, KOA, TypeScript, AVA, Webpack, etc.)
To run your project in development mode, run:
npm run watchThe development site will be available at http://localhost:4004.
It's sometimes useful to run a project in production mode, for example, to check bundle size or to debug a production-only issue. To run your project in production mode locally, run:
npm run build-production
NODE_ENV=production npm run startNODE_CONFIG_ENV=enterprise npm run watchAnd then visit http://localhost:4004/?locale=zh-CN
npm run test: test the whole project and generate a test coveragenpm run ava ./path/to/test-file.js: run a specific test filenpm run build: build source code fromsrctodistnpm run lint: run the linternpm run kill: kill the node server occupying the port 4004.
Join here to contribute: https://lokalise.co/public/903185115c91ceff0cb2a0.70666943/
- Fork this repo to your own.
- Modify
src/api-gateway/address-meta.jsonby append you entry to the json list.- Your entry should be follow struct as below
Ex:
{ "address": "<your address>", "name": "<your address's name>" }{ "address": "io1et7zkzc76m9twa4gn5xht3urt9mwj05qvdtj66", "name": "iotxplorerio" }
- Your entry should be follow struct as below
- Commit & push your changes to your git repo.
- Send a PR with title prefix
[ADDRESS-META]and description of your address if you want to merge into our repo.