Have you coded a block chain for fun?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Have you coded a block chain for fun?

Post by togFox »

I want to try as an exercise. There would be a fictitious need for a fake ledger. There would be no server or peers. Perhaps Block chain that can be emailed to friends for fun.

Because it's an exercise it would have no security or privacy or any real utility and that's fine. It would let me create a block chain with hashing algorithm etc and let me build the chain itself without getting caught up in the commercial needs of a real block chain.

Has anyone tried this? Where did you start? Google?
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
Gunroar:Cannon()
Party member
Posts: 1143
Joined: Thu Dec 10, 2020 1:57 am

Re: Have you coded a block chain for fun?

Post by Gunroar:Cannon() »

The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Have you coded a block chain for fun?

Post by togFox »

This is for learning and I'm not asking for an API.

I think I'll need a client that accepts text and that text is s transacting that is built into a block. The black can then be emailed to a friend and they can add their own transactions and so on. As in r/l , there can be multiple versions of the chain so some simple merging of two chains might be an interesting piece of logic.

If only I had more time in r/l to try all my thoughts.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
MrFariator
Party member
Posts: 559
Joined: Wed Oct 05, 2016 11:53 am

Re: Have you coded a block chain for fun?

Post by MrFariator »

I think you're better off asking advice on how to make a block chain implementation in forums or places that are more geared towards the topic. The LÖVE forums do not strike me as such, and the other thread already sets a precedent that it can be a touchy topic around here - even if you aren't asking for an API.
User avatar
Gunroar:Cannon()
Party member
Posts: 1143
Joined: Thu Dec 10, 2020 1:57 am

Re: Have you coded a block chain for fun?

Post by Gunroar:Cannon() »

What is blockchain? Like security? Why was Slime all
Image
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: Have you coded a block chain for fun?

Post by grump »

MrFariator wrote: Mon Nov 22, 2021 8:50 pm I think you're better off asking advice on how to make a block chain implementation in forums or places that are more geared towards the topic.
Choose carefully though. There's not that many specialised places where this question, asked like that, will receive friendly responses.
User avatar
Gunroar:Cannon()
Party member
Posts: 1143
Joined: Thu Dec 10, 2020 1:57 am

Re: Have you coded a block chain for fun?

Post by Gunroar:Cannon() »

Woah, seriously though, why is it so ... conspiracy theorishish ... like...
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Have you coded a block chain for fun?

Post by togFox »

I'd rather engage and build upon and stretch the imagination of this community. If that's not wanted in this instance then I shall take this to another community that will likely just hand me the answer without caring this is problem to solve with engagement.

Until then, if anyone does feel like intellectual engagement - please engage! :)
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
Gunroar:Cannon()
Party member
Posts: 1143
Joined: Thu Dec 10, 2020 1:57 am

Re: Have you coded a block chain for fun?

Post by Gunroar:Cannon() »

*oh, I meant crypto currency.
It seems not a lot of people dabble in it for that type of experimentation. Is it even possible to implement blockchain normally.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Have you coded a block chain for fun?

Post by togFox »

Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests