Bitcoin Forum
November 14, 2024, 05:35:34 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A tutorial for building a Proof of Stake cryptocurrency  (Read 98 times)
sandoche (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 2


View Profile
August 16, 2018, 08:35:18 AM
Merited by bob123 (2)
 #1

Hello,

Based on the Naivecoin tutorial to build a Proof of Work cryptocurrency with NodeJS / Typescript, I made a Proof of Stake tutorial.
It's not perfect, and not for production, it was just for my personal learning, because I didn't find any other tutorial about Proof of Stake.

Keep in mind that there are different implementation of Proof of Stake, I made mine based on this article from Vitalik: https://blog.ethereum.org/2014/07/05/stake/

Proof of Work tutorial (original work): https://lhartikk.github.io
Proof of Stake tutorial (my fork): https://naivecoinstake.learn.uno

Feel free to improve it, everything is open source!
butka
Full Member
***
Offline Offline

Activity: 434
Merit: 246


View Profile
August 16, 2018, 10:15:33 AM
 #2

It looks very interesting. I might give it a try.

Based on the Naivecoin tutorial to build a Proof of Work cryptocurrency with NodeJS / Typescript, I made a Proof of Stake tutorial.
So the code is written in javascript, right? What about Ruby, where is it needed? On the github page, you mention Ruby and Gems as part of the requirements. I've never worked with the Ruby platform before and it could be trickier to install, at least for me.
sandoche (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 2


View Profile
August 21, 2018, 12:03:49 PM
 #3

Hi butka,

The Ruby is only in the website, the code of the naivecoinstake is is Typescript (basically javascript with type, and transpiled to javascript). Also there is a UI made with VueJS, here are the links of the correct repositories:
- https://github.com/sandoche/NaivecoinStake-Proof-of-Stake-Core
- https://github.com/sandoche/NaivecoinStake-Proof-of-Stake-UI
butka
Full Member
***
Offline Offline

Activity: 434
Merit: 246


View Profile
August 22, 2018, 11:18:22 AM
 #4

Thanks @sandoche. OK, that probably means that one can mange without Ruby, with a website made in any other language. Your tutorial is on my to-do-list, hopefully I can find some time to try it soon.
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!