memo-push
A simple command-line tool to publish IPFS hashes to the BCH blockchain using the memo.cash protocol.
Installation
- Install the npm package globally, in order to use it as a command line tool:
sudo npm install -g memo-push
- Create an account on memo.cash and add the private key (in WIF compressed format) to your environment variables:
export WIF=L4b9LdXgVUHYXWmSV1VFXhUzZjXhtHg6mHcx4j8XfYG9K6fReMid
Note: Any BCH address WIF can be used, but if WIF matches a memo.cash account, people will easily be able to see your updates by following your memo.cash profile.
Usage
memo-push -h
- display help menumemo-push -v
- display versionmemo-push -p <hash>
- Publish an IPFS hash to the BCH blockchain.