Crypitor
Home
  • Overview
    • Introduction
    • Blockchain limitations
    • Our solution
    • Techstack
    • Benefit
    • Use cases
      • Transaction Monitoring
      • DApp Integration
      • Cross-Chain Communication
      • Payment system
      • Security Alerts
  • How To Use
    • Create Monitor
    • Native Transfer Event
    • Erc20 Transfer Event
    • Erc721 Transfer Event
  • Webhook
    • Deliveries
  • Network
    • Supported Networks
    • Webhook Delivery for Confirmations
  • Self Hosted
    • Quick start
    • Creating a Monitor
    • Start Development
Powered by GitBook
On this page
  • Prerequisites
  • Step-by-Step Guide
  • Accessing the Application

Was this helpful?

  1. Self Hosted

Quick start

This guide will walk you through setting up a self-hosted instance of Crypitor for real-time blockchain event monitoring.

PreviousWebhook Delivery for ConfirmationsNextCreating a Monitor

Last updated 11 months ago

Was this helpful?

Prerequisites

Before you begin, ensure you have the following installed on your machine:

  • Docker

  • Docker Compose

Step-by-Step Guide

1. Clone the Repository

First, clone the Crypitor repository from GitHub.

git clone https://github.com/crypitor/blockchain-webhook

2. Navigate to the Docker Directory

Change your directory to the app/docker folder within the cloned repository.

cd blockchain-webhook/app/docker

3. Update Environment Variables

Copy the sample environment file .env.sample to .env and update it with your specific configuration.

cp .env.sample .env

Open the .env file in your preferred text editor and update the necessary variables. This file contains configuration settings that are crucial for running the application.

# update your ETH_PROVIDER_URL
ETH_PROVIDER_URL=https://mainnet.infura.io/v3/yourkey

4. Start the Application

Use Docker Compose to build and start the application.

docker compose up -d

This command will start the Docker images (if not already built), create the necessary containers, and start the services in detached mode.

Accessing the Application

Once the application is running, you can access it via the URL specified in your .env file. Typically, it will be accessible at http://localhost:3000/ .

Access swagger document via http://localhost:3000/docswith admin and crypitor@2024

Git