Giter Club home page Giter Club logo

ixian-explorer's Introduction

Ixian-Explorer

About Ixian Explorer

Ixian Explorer implementation for Ixian DLT. Discover Ixian in the main repository here: https://github.com/ProjectIxian

Requirements

A typical LAMP/WAMP/MAMP setup is needed for proper functionality. Development tests were done with the following software versions:

  • Apache 2.4 (with mod_rewrite)
  • Mariadb 10.1
  • PHP 7.2

The explorer operator needs to run an Ixian DLT node for the explorer to connect to. Explorer will fetch block, transaction and wallet data from Ixian DLT node.

Deploying

  1. Create SQL database and import the included pool.sql file
mysql -e "CREATE DATABASE explorer01"
mysql -e "CREATE USER 'explorer01'@'localhost' IDENTIFIED BY 'myPassword'"
mysql -e "GRANT ALL PRIVILEGES ON explorer01.* TO 'explorer01'@'localhost'"
mysql ixian < explorer.sql
  1. Edit config.php and set the parameters as required, most important parameters are:
// Database configuration
$db_host = "127.0.0.1"; // Database host
$db_user = "explorer01"; // Database username
$db_pass = "myPassword"; // Database password
$db_name = "explorer01"; // Database name

// Ixian Node configuration
$dlt_host = "http://localhost:8081"; // DLT Node that the explorer connects to
  1. Set crontab entries
crontab -l | { cat; echo "*/1 * * * * cd /var/www/html/internal && /usr/bin/php fetchstatus.php > /dev/null"; } | crontab -
crontab -l | { cat; echo "*/1 * * * * cd /var/www/html/internal && /usr/bin/php sync.php > /dev/null"; } | crontab -
crontab -l | { cat; echo "*/5 * * * * cd /var/www/html/internal && /usr/bin/php updatetxstats.php > /dev/null"; } | crontab -

Usage

Navigate to the explorer's HTTP/s - i.e. http://localhost/index.php.

License Mentions

Ixian Explorer uses Bootstrap, Chart.js, FontAwesome and jQuery among other software libraries.

Get in touch / Contributing

If you feel like you can contribute to the project, or have questions or comments, you can get in touch with the team through Discord: (https://discord.gg/dbg9WtR)

ixian-explorer's People

Contributors

firestorm40 avatar ixiangel avatar rexoflex avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.