Bitcoin Forum
November 16, 2024, 10:19:47 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Scorex - Ultracompact Cryptocurrency Engine for Researchers  (Read 4934 times)
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
June 29, 2015, 08:15:28 PM
 #1

Motivation

There are two huge problems around cryptocurrencies development project Scorex aims to help to solve:

* Bitcoin source code contains more 100K lines of code(80K of C++ only), Nxt is about more than 45K lines of Java code. All parts of the design(network/transactions/consensus layers) are mixed in a hard way.  So researchers & developers are definitely not in a good start position to make any experiments.  In opposite, Scorex is less than _4K lines of Scala code_. Transactions layer is as simple as just tokens transfers. Consensus algo  could be switched easily(with two consensus algos out of the box,  one could be replaced with an another with just one line of code edited!)

* Major coins forks are trying to make IPO immediately, often having just one or two pretty controversial features introduced. **Scorex is intentionally not production-ready**, so please participate in any  non-commercial experiments built on top of it, but don't buy tokens unless you are 100+% sure what are you doing.
 

Features

* Two 100% Proof-of-Stake consensus algos out of the box, Nxt-like and Qora-like. One algo could be replaced
with an another with just one line of code edited (in Constants.scala)
* Simplest transactions model
* Asynchronous network layer on top of TCP(with Akka I/O)
* JSON API
* Command line client for the JSON API
* Curve25519 for signatures
* CC0(Public Domain) license
* Compact, functional, actors-powered code
* Scala / Akka
 

Roadmap

This release is named Lagonaki (after picturesque mountains resort in West Caucasus https://yandex.ru/images/search?text=%D0%BB%D0%B0%D0%B3%D0%BE%D0%BD%D0%B0%D0%BA%D0%B8 ), the current version is 1.0. It is the initial release aiming to provide modular and simple product to improve.
     
There are some issues/todos to be solved in upcoming 1.1 then 1.2 versions.           
 
And new branch will be forked very soon, with a brand new Proof-of-Stake algo having no whitepaper atm. More details soon. Nxt forging algo improvement proposal will be derived then from testing results. 

Authors

Scorex is made by [Consensus Research microteam](https://github.com/ConsensusResearch) previously worked on Proof-of-Stake investigation:

Alexander Chepurnoy aka kushti - Nxt developer & smartcontract.com cofounder. Has few published papers in Computer Science field(finite state systems related), writing PHD at the moment.   

andruiman - serial entrepreneur with theoretical physics background, a big fan of Coq interactive theorem prover & functional programming.   


Contributions

We're highly welcome contributions in form of pull requests, testing, issues reporting, and forking for sure Smiley


Donations

Also we would be happy to get donations. You can buy our asset on Nxt Assets Exchange: https://trade.secureae.com/#5841059555983208287, Bitcoin wallet is **17YksFD7eRB4NhPfEtGrGnuvuwpkAeBd7f** .   
   


Repository URL

The main link to follow is the GitHub repository:

https://github.com/ConsensusResearch/Scorex-Lagonaki

 

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
nexern
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500



View Profile
June 29, 2015, 10:44:58 PM
 #2

very cool, congrats kushti.
TaunSew
Hero Member
*****
Offline Offline

Activity: 756
Merit: 506


View Profile
June 29, 2015, 11:00:52 PM
 #3

The only place we can view information on this is on GitHub?

There ain't no Revolution like a NEMolution.  The only solution is Bitcoin's dissolution! NEM!
nexern
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500



View Profile
June 29, 2015, 11:32:52 PM
 #4

The only place we can view information on this is on GitHub?

here is more.

http://consensusresearch.org/
https://nxtforum.org/consensus-research/
jones_
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
June 30, 2015, 03:19:51 AM
 #5

I'm going to have a lot of fun with this tool.

Thanks kushti and arduiman Smiley
Lorenzo
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
June 30, 2015, 05:57:55 AM
 #6

Very interesting. Sadly, I know nothing about Scala. Sad

Is part of the idea to make the code as short as possible? Kind of like those <1 kB chess programs that attempt to do the same? If so, wouldn't adopting proof-of-work rather than proof-of-stake help simplify things even further? Or are proof-of-stake systems not significantly more complex than proof-of-work systems?
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
June 30, 2015, 04:38:44 PM
 #7

The only place we can view information on this is on GitHub?

Right, 2 files on GitHub(API/Readme) + source code. Will write some docs on architecture / details.

Very interesting. Sadly, I know nothing about Scala. Sad

Is part of the idea to make the code as short as possible? Kind of like those <1 kB chess programs that attempt to do the same? If so, wouldn't adopting proof-of-work rather than proof-of-stake help simplify things even further? Or are proof-of-stake systems not significantly more complex than proof-of-work systems?

With PoS it's simpler to run smaller networks, even a single running blockchain on a local machine. Both PoS algos implemented are pretty simple in fact  Smiley

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
July 20, 2015, 02:30:27 PM
 #8

Made a lot of small improvements and some little fixes during last few days. Codebase is mostly ready for forking

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 06, 2015, 10:12:44 AM
 #9

First Scorex devs meetup is coming! Aug, 14th, Saint-Petersburg, Russia. Going to publish some design docs before that.

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
criptix
Legendary
*
Offline Offline

Activity: 2464
Merit: 1145


View Profile
August 06, 2015, 10:54:14 AM
 #10

Very cool project subscribing!

                     █████
                    ██████
                   ██████
                  ██████
                 ██████
                ██████
               ██████
              ██████
             ██████
            ██████
           ██████
          ██████
         ██████
        ██████    ██████████████████▄
       ██████     ███████████████████
      ██████                   █████
     ██████                   █████
    ██████                   █████
   ██████                   █████
  ██████
 ███████████████████████████████████
██████████████████████████████████████
 ████████████████████████████████████

                      █████
                     ██████
                    ██████
                   ██████
                  ██████
                 ████████████████████
                 ▀██████████████████▀
.LATTICE - A New Paradigm of Decentralized Finance.

 

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

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 07, 2015, 12:34:19 PM
 #11

The first article describing architecture of almost every cryptocurrency of today has been just published: https://github.com/ConsensusResearch/Scorex-Lagonaki/blob/master/docs/components.md

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
benthach
Legendary
*
Offline Offline

Activity: 1764
Merit: 1000


View Profile WWW
August 07, 2015, 01:44:14 PM
 #12

never heard of this scam before must be new looking to get rich quick

reddit btcwriter1 - twitter kingpininvestor
Este Nuno
Legendary
*
Offline Offline

Activity: 826
Merit: 1002


amarha


View Profile
August 07, 2015, 04:17:43 PM
 #13

never heard of this scam before must be new looking to get rich quick

LOL. Did you actually read the post to see what this is?
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 07, 2015, 06:07:36 PM
 #14

never heard of this scam before must be new looking to get rich quick

Hello forum robot, I love you too  Grin

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
iCEBREAKER
Legendary
*
Offline Offline

Activity: 2156
Merit: 1072


Crypto is the separation of Power and State.


View Profile WWW
August 07, 2015, 06:30:18 PM
 #15

Great project.  Very educational.

Is it compatible with proof-of-work?


██████████
█████████████████
██████████████████████
█████████████████████████
████████████████████████████
████
████████████████████████
█████
███████████████████████████
█████
███████████████████████████
██████
████████████████████████████
██████
████████████████████████████
██████
████████████████████████████
██████
███████████████████████████
██████
██████████████████████████
█████
███████████████████████████
█████████████
██████████████
████████████████████████████
█████████████████████████
██████████████████████
█████████████████
██████████

Monero
"The difference between bad and well-developed digital cash will determine
whether we have a dictatorship or a real democracy." 
David Chaum 1996
"Fungibility provides privacy as a side effect."  Adam Back 2014
Buy and sell XMR near you
P2P Exchange Network
Buy XMR with fiat
Is Dash a scam?
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 07, 2015, 07:48:52 PM
 #16

Great project.  Very educational.

Is it compatible with proof-of-work?

Yes, it's not hard to change to PoW I guess

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 16, 2015, 09:31:41 AM
 #17

The meetup was very productive and insightful, finally we've came to conclusion to split the project into separate layers explicitly using following artefacts:

1. scorex-utils - cryptofunctions and other functionality not corresponding to a cryptocurrency logic directly
2. scorex-network - p2p layer
3. scorex-consensus - consensus-related data sctructure & functions
4. scorex-transaction - transactions handling code and internal state


So to change consensus from PoS to PoW it would be enough to swap from scorex-consensus-pos to scorex-consensus-pow.

I'm going off for few days to return with a roadmap.



Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
August 31, 2015, 08:43:35 PM
 #18

Version 1.0.4 with small improvements is just released. Next version will be 1.1.0 with (raw,but) modular design. The code for it is mostly ready, and divided now into 4 parts:

1. Scorex-Basics - crypto/utility functions, and interfaces for transaction/consensus modules

2. SimplestTransactions - implementation of a transaction module interface. simplest payment transactions, no transactions/state merkle roots in block etc. Probably having some flaws Smiley

3. LagonakiConsensus - implementation of a consensus module interface. Two Proof-of-Stake implementations, Nxt-Like & Qoralike

4. Scorex Lagonaki, the runnable application = Basics+SimplestTransactions+LagonakiConsensus+business-logic & APIs on top of that.


Design will be improved further, resulting in some 1.2.x release ready for forking. Also started to write explanatory / education comments for the code.


The project got some sponsorship, so we can buy some development efforts(and publish results under public domain, thanks sponsor!). As resources are pretty limited anyway, forking will be done as follows:

1. Few forking proposals will be described in form of Scorex Forking Proposal(SFP). E.g. Ethereum VM support(using EthereumJ code), pos experiments, Permacoin, Bill White's lightweight ledgers proposal w. more scalable transaction layer etc.

2. Voting amongst ConsensusResearch shareholders(we made some fundrasing via Nxt AssetsExchange: https://nxtforum.org/consensus-research/first- fundraising-letter/) over Nxt Blockchain. Please note voting results will be taken into an account, but implementation of a winner is not guaranteed.

3. Implementation of some proposal

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
September 22, 2015, 08:49:07 PM
 #19

I'm going to release 1.1.0 during this week, snapshot version is online. Just finished new article about new modular design, could be fun for devs: "On the Way to a Modular Cryptocurrency, Part 1: Generic Block Structure" -> https://github.com/ConsensusResearch/Scorex-Lagonaki/blob/master/docs/modular1.md

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
kushti (OP)
Full Member
***
Offline Offline

Activity: 317
Merit: 103


View Profile WWW
October 30, 2015, 06:50:09 PM
 #20

Version 1.1.0 is released(more than week ago actually). 1.1.1 will be released in next few days.

It seems the project is getting to attract some donations, so hopefully the project is going to be developed at a faster pace.

Ergo Platform core dev. Previously IOHK Research / Nxt core dev / SmartContract.com cofounder.
Pages: [1] 2 »  All
  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!