Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.02 KB

README.md

File metadata and controls

57 lines (43 loc) · 2.02 KB

Phantasma Explorer 2.0

Block explorer for Phantasma Chain

Contents


Development

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

Pull or download the following GitHub Repositories

Ensure both of these sit in the same root directory on your PC and are in folders that match the above. For example:

  • C:<my code>\Phantasma\PhantasmaChain
  • C:<my code>\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 /<explorer binaries dir above>/Phantasma.Explorer.dll --port=7074 --env=prod --path=/<explorer root dir>/ -phantasma.rest=http://207.148.17.86:7078/api -cache.path=Cache

Contributing

You can contribute to Phantasma with issues and PRs. 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.