Skip to content

PhantomChain/explorer

 
 

Repository files navigation

alt text

PHANTOM Explorer 1.0

You can access the TESTNET explorer it at https://texplorer.phantom.org.

Build Setup

1. Clone the repository

git clone https://github.com/PhantomChain/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 Run Express Server

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.

4. Development

4.1 Mainnet

yarn dev # or yarn dev:mainnet

4.2 Devnet

yarn dev:devnet

4.3 Custom

yarn dev --env.network=custom

5. 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.

5.1 Build

yarn build:mainnet --history

5.2 Development

yarn dev --env.routerMode=history

Testing

$ yarn test

Security

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

Contributing

  • If you find any bugs, submit an issue or open a pull-request, helping us catch and fix them.

9. License

MIT © PHANTOM

MIT © ArkEcosystem

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.0%
  • Vue 40.3%
  • CSS 2.5%
  • HTML 0.2%