Designed and developed from the ground-up, using lean & fast developmental frameworks (Tailwind CSS & Vue.JS).
git clone git@github.com:SwipeChain/swipechain-explorer.git
yarn install
yarn build:mainnet
yarn build:devnet
yarn build --network my-custom-network
If you are going to host your explorer instance on GitHub Pages you will need to specify your base url in most cases as GitHub Pages serves repositories from sub-directories instead of sub-domains.
yarn build --base https://username.github.io/repository/
You can run the explorer as an express server. This makes it a little more light-weight but not needing to have services such as apache or nginx.
EXPLORER_HOST="127.0.0.1" EXPLORER_PORT="4200" node express-server.js
Keep in mind that this requires you to run your own server and a running instance of nginx.
yarn serve # or yarn serve:mainnet
yarn serve:devnet
yarn serve --env.network=custom
If you wish to remove the /#/
from your URLs you can follow those steps https://router.vuejs.org/en/essentials/history-mode.html.
yarn build:mainnet --history
yarn serve --env.routerMode=history
$ yarn test
If you discover a security vulnerability within this package, please send an e-mail to security@swipechain.org. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.