Skip to content

A simple node.js script to help with the IPFS distribution of checkpoints

License

Notifications You must be signed in to change notification settings

polar-it/checkpoints-ipfs-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurtleCoin®: Checkpoints IPFS Helper

This project is designed to make it very easy to help with the distribution of TurtleCoin® checkpoints via IPFS. It is designed to run as a service with an in-built IPFS node where the latest checkpoints hash is retrieved, and locally pinned. Any old pins are removed as needed. The more people that run IPFS nodes with the checkpoints file, the faster everyone else can retrieve it.

Prerequisites

  • node >=10
  • require swarn ports ( ports to open on firewall 4001/tcp 4002/tcp 4003/tcp )

Install

git clone https://github.com/turtlecoin/checkpoints-ipfs-helper
cd checkpoints-ipfs-helper
npm install

Usage

Starting CLI Mode

npm start

Starting with PM2

pm2 start index.js --name checkpoints-ipfs
pm2 save

Starting with forever

forever start index.js

Run tests

npm test

Author

👤 The TurtleCoin Developers

📝 License

Copyright © 2019 The TurtleCoin Developers.

This project is GPL-3.0 licensed.

About

A simple node.js script to help with the IPFS distribution of checkpoints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published