Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phantasma-io/phantasmaexplorer

Block explorer for Phantasma Chain
https://github.com/phantasma-io/phantasmaexplorer

Last synced: about 2 months ago
JSON representation

Block explorer for Phantasma Chain

Awesome Lists containing this project

README

        

# Phantasma Explorer 2.0
Block explorer for Phantasma Chain

## Contents

- [Description](#description)
- [Development](#development)
- [Build](#build)
- [Run](#run)
- [Contributing](#contributing)
- [License](#license)

---

## Development
To perform development on the explorer you will need the following:

- A Windows PC that suports Visual Studio Community
- Can be obtained here: https://visualstudio.microsoft.com/downloads/
- An installation of Visual Studio Community with the following extension
- .NET Desktop Development

Pull or download the following GitHub Repositories
- PhantasmaChain [repository](https://github.com/phantasma-io/PhantasmaChain)
- PhantasmaRpcClient [repository](https://github.com/phantasma-io/PhantasmaRpcClient)

Ensure both of these sit in the same root directory on your PC and are in folders that match the above. For example:
- C:\\Phantasma\PhantasmaChain
- C:\\Phantasma\PhantasmaRpcClient

## Build
- Open Visual Studio
- Open the PhantasmaExplorer\PhantasmaExplorer.sln solution
- Build the solution
- Open a command window
- Navigate to the Phantasma.Explorer root dir
- Run the following:
```
dotnet publish
```

The files needed to run a node will now be in PhantasmaExplorer\www\netcoreapp2.0\publish

## Run
Once you have published the binaries as per above you can run it with the following command:
- Note the first run can take some time as it will build the cache from scratch
```
dotnet //Phantasma.Explorer.dll --port=7074 --env=prod --path=// -phantasma.rest=http://207.148.17.86:7078/api -cache.path=Cache
```

## Contributing

You can contribute to Phantasma with [issues](https://github.com/PhantasmaProtocol/PhantasmaChain/issues) and [PRs](https://github.com/PhantasmaProtocol/PhantasmaChain/pulls). Simply filing issues for problems you encounter is a great way to contribute. Contributing implementations is greatly appreciated.

## License

The Phantasma project is released under the MIT license, see `LICENSE.md` for more details.