Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ethereum Projects for Beginners

You're reading from   Ethereum Projects for Beginners Build blockchain-based cryptocurrencies, smart contracts, and DApps

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789537406
Length 106 pages
Edition 1st Edition
Arrow right icon
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image