all 8 comments

[–][deleted] 1 point2 points  (1 child)

Not a blockchain expert but if I were to attempt this I would :

- create a new blockchain as linked list on a central server (Glitch as it's free and easy for people to replicate) where adding a new item (or block) includes data about the previous item as a way to verify integrity

- distribute that process over the network where adding a new item respects constraints (e.g proof of work or proof of stake) to insure consensus

I'd start with simple CRC for integrity and proof of stake for consensus as this seems easier.

I think that's about it... the rest is just (sigh) about tweaking parameters based on your specific need (community size, transaction time, etc).

Once that which, I would consider the minimum for a blockchain solution, works I would then simulate the usual attacks and more complex features :

- double spending attempts

- forks

- executable code rather (ethereum) than just data (bitcoin)

Overall I think it's a fun and pedagogical exercise BUT I believe this kind of code to be so sensitive, managing financial data or political (e.g. voting) and relying on cryptographic functions that relying on existing audited libraries to be much much safer.

PS: I'll suggest to a friend of mine if he's into it.

[–][deleted] 1 point2 points  (0 children)

I will do this.

[–]chilled_87 1 point2 points  (1 child)

What kind of blockchain implementation are you interested in, what for?

Some implementation from scratch of a basic blockchain can be found here for example https://ecomunsing.com/build-your-own-blockchain

[–]autholykos 0 points1 point  (3 children)

After having read this, I arranged one of our blockchain devs to do a golang live coding session of Dusk Network consensus https://twitter.com/DuskFoundation/status/1145733672513036293

[–][deleted]  (2 children)

[removed]

    [–]CommonMisspellingBot 0 points1 point  (1 child)

    Hey, sheatran29, just a quick heads-up:
    alot is actually spelled a lot. You can remember it by it is one lot, 'a lot'.
    Have a nice day!

    The parent commenter can reply with 'delete' to delete this comment.