Architecture and implementation

Jump to navigation Jump to search

The principal architecture of Cellframe consists of several logical parts:

The logical scheme for ZeroChain and shard’s fuel chains is based strictly on a single the codebase and the difference is in a constructor’s argument of a boolean type - if it’s true, then we’re running a ZeroChain, if it’s false - we’re running a fuel chain.

This strictness in implementation provides us with an ability to fix bugs as wide as possible, so it won’t affect any functionality at all.

Both scenarios are involving tokens, but no smart contracts are in there due to the speed and throughput requirement: yes, we do have a lot of functionality of the above-coin level, but it all implemented as native code and finalized at node compilation time.