This project is designed to update blockchain checkpoints, PIN the resulting file hash in IPFS via Pinata.cloud, update a DNSLink via CloudFlare DNS, and leverage the CloudFlare IPFS Gateway to serve the data.
- node >=8
- yarn
- A Pinata.cloud account
git clone https://github.com/Kulteam/MONCoin-IPFS-CF-Checkpointer-Node.git
cd MONCoin-IPFS-CF-Checkpointer-Node
npm install -g yarn
yarn install
- Set your environment variables and start the script
export CHECKPOINT_FILE=checkpoints.csv
export PINATA_API_KEY=Your_Pinata_Key
export PINATA_SECRET_API_KEY=Your_Pinata_Secret_Key
export CLOUDFLARE_TOKEN=Your_Cloudflare_Token
export CLOUDFLARE_ZONE_ID=Your_Cloudflare_ZoneID
export CLOUDFLARE_SUBDOMAIN=Your_Cloudflare_Subdomain
yarn start
yarn test
👤 Special Thanks to TurtleCoin Developers
- Twitter: @_turtlecoin
This project is GPL-3.0 licensed.