Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Taraxa-project/explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taraxa Block Explorer

This project uses Next.js to provide the following features:

  • Server Side Rendering of React pages (SEO)
  • Client Side Updating of React Pages
  • API can be deployed as serverless function or Node.js container image
  • Very fast UI

Starting a Private Taraxa Testnet

This project uses docker images of the following:

Run Everything:

docker-compose up --build

Note: The taraxa-config container must start up and write the config first before the other containers will start correctly. You may see some errors at first as services restart, until that config file is written.

  1. This will generate a unique taraxa config and start a taraxa node
  2. MongoDB will be running on port 27017
  3. Taraxa Explorer will be running at http://localhost:3000
  4. Taraxa Explorer Blockchain Sync daemon will start syncing the chain data to MongoDB
  5. Taraxa Explorer Websocket Service will start, providing real time data to the UI

Generating blockchain transactions, blocks, etc

Taraxa does not create blocks if there are no transactions happening on the network. In order to see blocks or any other activity, you will need to create transactions on the network.

Configure MetaMask or Brave Browser

  • Create custom RPC named Taraxa Testnet, at http://127.0.0.1:7777
  • Set chain id to 7777777

Using the faucet to generate transactions

You can paste the address from MetaMask or Brave into the faucet page of the Explorer and receive tokens every few seconds

Configure Remix IDE

  • Open Remix IDE
  • Compile sample contract
  • Configure environment Injected Web3
  • Use funded MetaMask wallet to deploy contracts