Skip to content

FirmaChain/firmachain-genesis-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firmachain Genesis Converter

firmachain_genesis_converter

This project is a service that makes it easy to add VestingAccount to Genesis.json.

It was used in the creation of FirmaChain mainnet genesis.

How to build firmachain-genesis-converter

1. install and run

  
  npm install
  npm run start
  

2. steps

  1. upload genesis and csv files.
  2. check the values of time and amount are correct.
  3. download new genesis file from sidebar.

3. how to use csv

  • You can download the csv sample file from the sidebar.
  • The csv columns are as follows.
  
  name, address, balances, start_time, end_time, vesting_count, vesting_period_arry_n(1~21)
  

VESTING

  • If vesting_count does not have a value, it is created to BaseAccount.
  • If vesting_count has a value, it is created to PeriodicVestingAccount. Also, vesting_periods are created according to the number of vesting_period_arry.

The files created as examples are attached