1 unstable release

0.1.7 Dec 13, 2022

#4 in #kindelia


Used in kindelia

MIT license

5KB
89 lines

----- 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

~8–18MB
~247K SLoC