Book Image

Ethereum Projects for Beginners

Book Image

Ethereum Projects for Beginners

Overview of this book

Ethereum enables the development of efficient, smart contracts that contain code. These smart contracts can interact with other smart contracts to make decisions, store data, and send Ether to others.Ethereum Projects for Beginners provides you with a clear introduction to creating cryptocurrencies, smart contracts, and decentralized applications. As you make your way through the book, you’ll get to grips with detailed step-by-step processes to build advanced Ethereum projects. Each project will teach you enough about Ethereum to be productive right away. You will learn how tokenization works, think in a decentralized way, and build blockchain-based distributed computing systems. Towards the end of the book, you will develop interesting Ethereum projects such as creating wallets and secure data sharing.By the end of this book, you will be able to tackle blockchain challenges by implementing end-to-end projects using the full power of the Ethereum blockchain.
Table of Contents (12 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributor
Preface
Index

Dealing with files and large data on the blockchain


In this section, we are going to learn how to deal with large files and documents on any blockchain. As mentioned umpteen times before, blockchains are usually public in nature, and therefore, privacy and security should be of prime importance. A blockchain contains all of the data that is filled into it, which in the case of Ethereum causes the cost to increase—that is, more gas is paid per transaction. As this isn't something that we want, we'll use a few workarounds.

 

One of these workaround is Swarm. There is also IPFS, or the InterPlanetary File System, which we learned about briefly in Chapter 1, Workflow Setup and Thinking Blockchain. You could also use your own server to store the data and larger files.

Swarm and IPFS are not blockchains, but they do follow the common principles of decentralization, making the two of them decentralized file-storage systems that are tamperproof.

A file is not decentralized in the beginning. When a file...