Skip to content

Latest commit

 

History

History
69 lines (59 loc) · 1.78 KB

README.md

File metadata and controls

69 lines (59 loc) · 1.78 KB

Build status npm npm-downloads semantic-release

Solana Block Explorer

Prerequisites

Redis

  • Ubuntu: apt-get install redis-server
  • MacOS: brew install redis

NodeJS

  • Install node.js via your favorite mechanism
  • Install yarn (typically npm install -g yarn)

Quick Start

Ensure Redis is running with redis-cli ping. If the ping fails, start redis with:

$ redis-server &

Then install the block explorer:

$ npm install -g @solana/blockexplorer

Build and run a local Solana node:

$ git clone https://github.com/solana-labs/solana.git
$ cd solana/
$ cargo build --all
$ ./run.sh

In another terminal start the block explorer:

$ solana-blockexplorer

Development Info

Setup the workspace:

$ yarn

Start the API service and Web UI manually with:

$ yarn start:api
$ yarn start:ui

Then configure and start a local Solana node. From the main solana repository:

$ cargo build --all
$ ./run.sh

and if desired for UI testing:

$ ./multinode-demo/client.sh --tx_count 40 --threads 2 -z 400