Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new section "Integrating IPFS with Ethereum" to the README.md file. #200

Open
Lawan012 opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@Lawan012
Copy link

Add a new section "Integrating IPFS with Ethereum" to the README.md file.

  • Installation and usage:
    • Install IPFS: Follow the instructions on the IPFS installation page.
    • Initialize IPFS: Run ipfs init to initialize the IPFS repository.
    • Start the IPFS daemon: Run ipfs daemon to start the IPFS daemon.
    • Add files to IPFS: Use the command ipfs add <file> to add files to IPFS. This will return a CID (Content Identifier).
    • Store CID on Ethereum: Use a smart contract to store the CID on the Ethereum blockchain. You can use Solidity to create a contract that stores the CID as a string.
    • Retrieve files from IPFS: Use the command ipfs cat <CID> to retrieve files from IPFS using the CID.
    • Pinning files on IPFS: Use the command ipfs pin add <CID> to pin files on IPFS, ensuring they are not garbage collected.

For more details, open the Copilot Workspace session.

Originally posted by @Ramyromel in ethereum-lists/chains#6791

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant