Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/big-silver/phantom-explorer
A Blockchain Explorer for PHANTOM using Vue.js and Tailwind CSS. https://explorer.phantom.org
https://github.com/big-silver/phantom-explorer
nginx phantom security-vulnerability tailwind-css vuejs
Last synced: about 2 months ago
JSON representation
A Blockchain Explorer for PHANTOM using Vue.js and Tailwind CSS. https://explorer.phantom.org
- Host: GitHub
- URL: https://github.com/big-silver/phantom-explorer
- Owner: Big-Silver
- License: mit
- Created: 2019-06-19T07:52:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-03T19:37:55.000Z (9 months ago)
- Last Synced: 2024-04-03T20:42:38.681Z (9 months ago)
- Topics: nginx, phantom, security-vulnerability, tailwind-css, vuejs
- Language: JavaScript
- Size: 7.06 MB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![alt text](https://github.com/PhantomCore/explorer/blob/master/PhantomExplorer.jpg)
# PHANTOM Explorer 1.0
You can access the TESTNET explorer it at [https://texplorer.phantom.org](https://texplorer.phantom.org).
## Build Setup
### 1. Clone the repository
```bash
git clone https://github.com/Big-Silver/PHANTOM-Explorer
```### 2. Install Dependencies
```bash
yarn install
```### 3. Build for Production
#### 3.1 Mainnet
```bash
yarn build:mainnet
```#### 3.2 Devnet
```bash
yarn build:devnet
```#### 3.3 Custom
```bash
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.
```bash
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
```bash
yarn dev # or yarn dev:mainnet
```#### 4.2 Devnet
```bash
yarn dev:devnet
```#### 4.3 Custom
```bash
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
```bash
yarn build:mainnet --history
```#### 5.2 Development
```bash
yarn dev --env.routerMode=history
```## Testing
``` bash
$ yarn test
```## Security
If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
## Contributing
* If you find any bugs, submit an [issue](../../issues) or open a [pull-request](../../pulls), helping us catch and fix them.
## 9. License
[MIT](LICENSE) © [PHANTOM](https://phantom.org)[MIT](LICENSE) © [ArkEcosystem](https://ark.io)