Skip to content

A python script to generate checkpoints for the DeroGold blockchain.

License

Notifications You must be signed in to change notification settings

sn1f3rt/derogold-checkpoints-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeroGold Checkpoints Generator

License

Table of Contents

About

A python script to generate checkpoints for the DeroGold blockchain.

Pre-requisites

Installation

# Clone the repository
git clone https://github.com/Sn1F3rt/derogold-checkpoints-generator.git
# Switch to the project directory
cd derogold-checkpoints-generator
# Create a virtual environment
python -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the dependencies
pip install -r requirements.txt

Configuration (Optional)

The script can be configured using the following methods:

  1. Environment variables - Create a .env file with the options that you want to set. For example:

    DAEMON_RPC_HOST="localhost"  # Daemon RPC host address (e.g. localhost)
    DAEMON_RPC_PORT=6969  # Daemon RPC port (usually 6969)
    DAEMON_RPC_SSL=0  # Use SSL for daemon RPC (0 for http, 1 for https)
    OUTPUT_FILE_NAME="checkpoints.csv"  # Output file name (e.g. checkpoints.csv)
  2. Command-line arguments - You can run the script with the --help option to see the available options.

    python generate.py --help

Usage

python generate.py

License

MIT License

Copyright © 2024 Sayan "Sn1F3rt" Bhattacharyya

About

A python script to generate checkpoints for the DeroGold blockchain.

Topics

Resources

License

Stars

Watchers

Forks

Languages