Bitcoin Forum
November 09, 2024, 10:19:09 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Naivechain - a blockchain implementation in 200 lines of code  (Read 1182 times)
voileipa (OP)
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
October 09, 2016, 07:58:41 PM
 #1

Hi

Just wanted to share this project of mine: a super simple blockchain implementation in 200 lines of code

https://github.com/lhartikk/naivechain
ricku
Full Member
***
Offline Offline

Activity: 210
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 10, 2016, 08:23:33 AM
 #2

We have seen some different blockchain for various types of coin recently, what is your own blockchain all about, can it be used to set up an altcoin or it is basically a bitcoin stuff?

MartinL
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
October 10, 2016, 09:13:10 AM
 #3

We have seen some different blockchain for various types of coin recently, what is your own blockchain all about, can it be used to set up an altcoin or it is basically a bitcoin stuff?

The page voileipa linked to is very clear on that:
Quote
Motivation
All the current implementations of blockchains are tightly coupled with the larger context and problems they (e.g. Bitcoin or Ethereum) are trying to solve. This makes understanding blockchains a necessarily harder task, than it must be. Especially source-code-wisely. This project is an attempt to provide as concise and simple implementation of a blockchain as possible.

Naivechain is not a cryptocurrency at all, though you could certainly expand on it to create one. It is a simple implementation of a blockchain, the technology at the core of all cryptocurrencies.
ricku
Full Member
***
Offline Offline

Activity: 210
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 10, 2016, 09:34:20 AM
 #4

@ MartinL, where is the page link that explains it better because i can only see a link to github only on this thread,probably you can show me.

NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
October 10, 2016, 09:40:35 AM
 #5

@ MartinL, where is the page link that explains it better because i can only see a link to github only on this thread,probably you can show me.

If you click on the link and scroll down, you'll see the explanation.
I think that github is smarter than you thought Smiley Now seriously: the readme file is also shown and you can see there the details nicely. Just click the link.



OP, thanks for the link and the project. I copied it for a later study (and maybe share too).

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ricku
Full Member
***
Offline Offline

Activity: 210
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 10, 2016, 09:50:02 AM
 #6

@ MartinL, where is the page link that explains it better because i can only see a link to github only on this thread,probably you can show me.

If you click on the link and scroll down, you'll see the explanation.
I think that github is smarter than you thought Smiley Now seriously: the readme file is also shown and you can see there the details nicely. Just click the link.



OP, thanks for the link and the project. I copied it for a later study (and maybe share too).
Thank you for your thorough explanations though i had checked the link several times but could not get what you just explained.

NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
October 10, 2016, 10:11:24 AM
 #7

Thank you for your thorough explanations though i had checked the link several times but could not get what you just explained.

Sorry if I offended you, it was not my intention.
I've read the page very quick and it looked all the info I could think about - from how to install, to how to call it.
So I assumed you were not willing to click - for whatever reasons - the link.

The project seems to be one JS (NodeJS) that acts as a server.
With simple commands sending json you can do the basic operations from "client".

I have to read a little more about NPM/NodeJS myself and then I will run it and play with it, but these are the basics.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!