Building a Blockchain in Erlang
summary
Aeternity implements a blockchain in Erlang with an Ethereum-compatible bytecode VM, an ML-like contract language called Sophia contract language, and a transaction-oriented API of named types (oracle, name, channel ops) handled by a pluggable behavior with check and process callbacks. Consensus uses Bitcoin NG style key blocks plus microblocks every 2 seconds to reach ~20–40 sustained tx/s in tests and a theoretical 100, and a memory-hard Cuckoo Cycle proof-of-work; uses Noise for encrypted node links and avoids floating point in contracts.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:27Outline
- 1:21Blockchain Basics
- 7:18A word on security
- 9:39Aeternity First-class objects
- 15:02Aeternity Consensus
- 24:31Transaction Handling
- 26:08Contracts in Erlang
- 28:51State Channels in Erlang
- 32:32Concurrency-oriented Programming
- 36:18Reactive Programming, Erlang-style
- 41:01Project Status
related talks
24mOverview & Challenges of building a Blockchain
13mInterview with Yanislav Malahov
42mEthereum, Aeternity and the distributed wonders
32mBuilding Smart Contract Platforms
11mBuilding the First Real-Time Blockchain
30mFrom Concept to Reality: Modular Blockchain Architecture
27mBlockchains, Blockweaves and the De centralised Revolution
25mModular Structure of Blockchains
