Giter Site home page Giter Site logo

derogold-checkpoints-generator's Introduction

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

derogold-checkpoints-generator's People

Contributors

sn1f3rt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.