willdn / ark-explorer

A Blockchain Explorer for ARK using Vue.js and Tailwind CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

ARK Explorer 3.0

Designed and developed from the ground-up, using lean & fast developmental frameworks (Tailwind CSS & Vue.JS).

You can access it at https://explorer.ark.io/.

Build Setup

1. Clone the repository

git clone https://github.com/ArkEcosystem/ark-explorer

2. Install Dependencies

yarn install

3. Build for Production

3.1 Mainnet

yarn build:mainnet

3.2 Devnet

yarn build:devnet

3.3 Custom

yarn build --network my-custom-network

3.4 GitHub Pages

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:mainnet --base https://username.github.io/repository

Now open dist/index.html and replace all occurrences of /static/ with static/. This change is requires because GitHub Pages serves repositories from sub-directories instead of sub-domains.

This step is not required if you are hosting the explorer on your "root" repository which is usually your username https://username.github.io/.

History Mode

If you wish to remove the /#/ from your URLs you can follow those steps https://router.vuejs.org/en/essentials/history-mode.html.

Keep in mind that this requires you to run your own server and a running instance of nginx.

Development

yarn dev

Testing

$ yarn test

Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

Credits

License

MIT © ArkEcosystem

About

A Blockchain Explorer for ARK using Vue.js and Tailwind CSS.

License:MIT License


Languages

Language:Vue 57.3%Language:JavaScript 40.5%Language:CSS 2.1%Language:HTML 0.2%