Author

Topic: very simple blockchain structure (Read 86 times)

legendary
Activity: 3290
Merit: 3092
November 08, 2022, 03:54:10 PM
#3
I found a Java code of a simple blockchain, isn't hard to find this kind of information, you only have to go to google and search what are you looking for  Wink

I will leave here the link: https://www.baeldung.com/java-blockchain

To build your own blockchain you have to understand some concepts like Blocks, Nodes, Transactions and Mining.

It's simple to have a blockchain without nodes, the complex part came when all the nodes have the same information, so, good luck with your project.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
November 08, 2022, 05:26:25 AM
#2
I'm searching for a simple blockchain structure - sample code, in any language, I'll be using as a reference

Thanks

I think that one of the simplest implementations may be Naivechain - a blockchain implementation in 200 lines of code, but I didn't read into the actual code.
The related explanations are in this blog post.

Some important missing points/limitations:

* Data is not persisted in nodes
* No proof-of-work or proof-of-stake: a block can be added to the blockchain without competition
newbie
Activity: 4
Merit: 0
November 08, 2022, 04:50:21 AM
#1
I'm searching for a simple blockchain structure - sample code, in any language, I'll be using as a reference

Thanks
Jump to: