Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.72 KB

File metadata and controls

66 lines (43 loc) · 2.72 KB

Prerequisites

This project needs the following requirements:

Cloning the Repository

  1. Open terminal & navigate to the directory where you want to clone the repository.
  2. Run the following command to clone the repository:
git clone https://github.com/pramaths/onchainanalysis.git
  1. Navigate into the cloned directory:
cd onchainanalysis/

Installing Dependencies

⚠️ Skip incase of using docker

Once you have cloned the repository, you need to install the required dependencies. Run the following command:

npm install

Running the Server

⚠️ Skip incase of using docker

After the dependencies are installed, you can start the server with the following command (it will be at localhost:8000 by default):

node .\index.js

Using Docker

Make sure you have .env in the root folder & docker daemon is running

docker-compose up --build

If all the test work properly, server will be running on localhost:8000 (by default)


Use this variables for all kind of api

transaction = tx transaction_list =txlist transaction_hash=txhash

accounts = address address = address from_address = from_address to_address= to_address

page_limit = 10000