ethereum-org-website
ethereum-org-website copied to clipboard
Article: Blockchain data storage strategies
.
Tutorial title
Blockchain data storage strategies
Tutorial description
There are several ways in which data from external sources can be stored using the Blockchain. Here they are in order of increasing cost.
- Calldata
- Contract code
- Events
- EVM storage
This article will compare the different strategies, their costs and tradeoffs, and demonstrate the necessary code to use each one, as well as the requirements to use it safely.
Tag your tutorial
Storage, Data availability
Publication
Not written yet
Skill level
Beginner
Hosted on Ethereum.org or hosted elsewhere?
I hope to host it on ethereum.org when written.
@qbzzt I want to work on this issue. Kindly tell me about the word limit and the length of article. Also if you want to add any reference article please do that.
I will write the article and tag the link here. Please assign the task to me.
I don't assign tasks. I wrote the issue because I wanted the people who run the site (@minimalsm) to approve it before I write. However, if you want to write the article I'll be happy to support you.
There isn't a prescribed word limit. Whatever works for covering the subject.
The way I'd write it (you can choose a different way) is for each method to:
- Explain what it is
- List advantages and disadvantages A. Is the information available to code on chain? Off chain? B. How easy is it to find? C. How much would it cost?
- Show a short example of code that uses it.
Articles are typically written in markdown, and submitted as a PR to this repository (under https://github.com/ethereum/ethereum-org-website/tree/dev/src/content/developers/tutorials).
@qbzzt Thank you very much for clarifying and giving me more instruction. I understand and I will wait for @minimalsm 's approval before I submit the PR.
I will write the article with very easy to understand language and will break down to the understanding of the points you mentioned above. Also yes, I plan to use graphics/images and short easy to understand code examples for the article.
I will submit a PR to the section you mentioned as markdown after I get approved to write the article, thank you again.
This issue is stale because it has been open 45 days with no activity.
Hey folks! Disappointed that this fell through the crack, as I do believe this topic would be great to have. Especially with blob data entering the mix soon, I think this would be nice to have.
@qbzzt I know you've contributed several well-written articles to the site in the past, and as the original poster I'd like to offer this to you to first, but @meowyx I don't want to ignore your gracious offering to help on this as well. Much time has passed, so if either of you are still interested please reply (do me a favor and @ me here if you do).
Thanks!
@meowyx, are you interested in doing this article? If so, please tell me by end of the January. If not, I'll do it.
@wackerow, FYI.
@qbzzt I am presently unable to allocate time for this task, so please feel free to take it.
It's mine! Mine! I'll probably do it in February, though. Life's busy.
I'll start writing this article, but I don't think it should be published before Dencun because Dencun adds EIP-4844, which is very relevant to this topic - and I can't give an example cost until it's actually out.