Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.25 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.25 KB

Harmony Explorer Backend

What is the Harmony ONE Explorer?

Harmony is a fast and secure blockchain for decentralized applications. Our production mainnet supports 4 shards of 1000 nodes, producing blocks in 5 seconds with finality.

The Explorer allows users from all backgrounds to view and explorer the Harmony Blockchain by making visible the latest blocks, pending transactions, top validators, and much more!

Requirments

  1. Install latest version of Go

  2. Install mySQL database

  • Default location is localhost:3306 (Change in './sql/ManageConnection.go')
  • Default user in root:password@tcp (Change in './sql/ManageConnection.go')
  1. Make sure Harmony's nodes are up and running. Check API guide

  2. Made sure port 8081 is unused.

  • Used by dataServer (Change in './dataServer/Server.go')

Build Setup

# Run SQL set up in mySQL CLI
source {PROJECT_DIR}/sql/CreateDatabase.sql
# Build source
go build

# Run server
./harmony-insight-database

Harmony Docs

Please see our user guide.

Please see our API guide