Skip to content

A simple block reward emissions chart for the Vecno Blockchain.

Notifications You must be signed in to change notification settings

Vecno-Foundation/block-reward-emission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Vecno Emission Chart Generator

This project generates a PDF containing a block reward emissions chart and tabulated data from an Excel file. The chart visualizes the total mined supply over time, with a clean and professional layout.

Features

  • Block Reward Chart: Displays the total mined supply progression.
  • Excel Data Conversion: Reads and formats selected columns from an Excel sheet.
  • Full-Width Chart: Chart spans the full width of the PDF.
  • Custom PDF Design: Professional styling for a visually appealing PDF.

Prerequisites

Before running the project, ensure you have the following installed:

  • Node.js (v18.20.4 or later)
  • npm (v7.0.0 or later)

Getting Started

  1. Clone the repository:

    git clone https://github.com/Vecno-Foundation/block_reward_emission.git
  2. Navigate to the project directory:

    cd block_reward_emission
  3. Install dependencies:

    npm install
  4. Place your Excel file (VecnoEmission.xls) in the root directory.

Usage

  1. Run the project:

    node index.js
  2. A PDF (vecno_block_reward_emission.pdf) will be generated in the root directory with a block reward chart and data from the Excel file.

Dependencies

  • xlsx: For reading and parsing Excel files.
  • chartjs-node-canvas: For generating a Chart.js chart as an image.
  • pdf-lib: For generating and manipulating the PDF document.

About

A simple block reward emissions chart for the Vecno Blockchain.

Topics

Resources

Stars

Watchers

Forks