Skip to content
A simple node.js script to help with the IPFS distribution of checkpoints
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

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
  • Optional Open Firewall Ports for faster IPFS discovery
    • 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.

You can’t perform that action at this time.