5 releases

0.1.7 Dec 13, 2022
0.1.5 Nov 1, 2022
0.1.4 Oct 31, 2022
0.1.3 Sep 28, 2022
0.1.1 Aug 5, 2022

#886 in Encoding

MIT license

505KB
13K SLoC

----- This is a work-in-progress -----

Kindelia: a minimal peer-to-peer computer that isn't a cryptocurrency

Kindelia is a peer-to-peer functional computer capable of hosting decentralized apps that stay up forever. Essentially, it is a minimalist redesign of Ethereum's idea, built upon type theoretic foundations. Differences include:

  • There is no native coin. It is not a cryptocurrency. It is a cryptocomputer.

  • It can host functional apps cheaply, thanks to the HVM and its functional opcodes.

  • It can host real-time apps cheaply, thanks to 1s blocks, reversible heaps and zero-cost SSTOREs.

  • It is extremely minimalist. The Rust client has about 10k LOC, vs 600k+ LOC used by Go Ethereum.

  • It is maximally decentralized, not just tech-wise. Political and economical centralization are addressed.

  • It is PoW-based, forever. In fact, PoS isn't even possible, since there is no built-in currency.

Resources

Installation

Clone this repository, navigate to its root directory, and enter:

cargo install --path .

Usage

  1. Starting a node:
kindelia node start
  1. Running a block (offline):
kindelia test example/example.kdl
  1. Posting a transaction:
kindelia post-udp --host 127.0.0.1:42000 example/post.kdl 

Dependencies

~25–38MB
~557K SLoC