Pinning Encrypted Files to IPFS
Learn how to pin encrypted files to IPFS.
Ipfs-add-from-encrypted
is an open-source tool that can be used to encrypt files and upload them to IPFS. Once uploaded to IPFS, the file must be pinned to persist on IPFS long-term.Read below to learn how to pin encrypted files to IPFS with Filebase.
- Download and install the Python package
ipfsapi
with the commandpip3 install ipfsapi
.
git clone https://github.com/TroyWilson1/ipfs-add-from-encrypted.git
cd ipfs-add-from-encrypted
ipfs daemon
./ipfs-add-from-encrypted.py -i file.txt -n output.out
You will get output resembling the following:
File encrypted and added to IPFS with this hash QmUaWLEYyMPYQpxkknuMkrnSYQfdih2z1qZepy9TcnzUJU





If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 10mo ago