Skip to content

CLI that uploads a file to IPFS and stores CID in a smart contract

Notifications You must be signed in to change notification settings

Aceix/ipfs-uploader-cli

Repository files navigation

ipfs-uploader CLI

Basic CLI to upload files to IPFS and store the resulting CID in a smart contract.

The project is based on Truffle and TypeScript.

Usage

  • Clone repo and cd into repo directory
  • install deps with npm install
  • Compile and depoy smart contracts with truffle migrate
  • Compile TS with tsc
  • Install with npm install -g .
  • Provide necessary environment variables (ref: .env.sample)
  • Run with ipfs-uploader (you might need to make the file executable)

For more information run ipfs-uploader help

Dev setup

  • Clone repo and cd into repo directory
  • Install deps with npm install
  • Code :)

About

CLI that uploads a file to IPFS and stores CID in a smart contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published