By Andre Cronje
Fantom has completed it’s consensus implementation of both lachesis and txflow. Both are currently available and ready for usage via github.
aBFT Consensus platform for distributed applications. Documentation. Create an 3 node lachesis cluster with: n=3…
Lachesis and txflow have been integrated into Cosmos SDK
A non Fantom related entity Zar Network has been building on top of Fantom SDK.
Fantom is a technology provider that will gladly support third parties in developing tools and building products that leverage lachesis consensus.
You can launch lachesis today and build your own blockchain solution.
Here are the instructions to build and run;
aBFT Consensus platform for distributed applications. Documentation. Building lachesis requires both a Go (version 1.12…
If you are a web3 dev and simply want to play around with smart contracts and EVM support using lachesis consensus, you can use one of the following nodes
To access the web3.js console, use one of the servers:
- lachesis attach http://18.104.22.168:4000
- lachesis attach http://22.214.171.124:4001
- lachesis attach http://126.96.36.199:4002
- lachesis attach http://188.8.131.52:4003
Regarding transaction latency:
The nodes are configured to emit 1 event per minute if there’s no txs to post or confirm, and they’ll try to emit 1 event per second (if gas power is too low to emit this much events, then the behavior is more complex) if there’s at least one transaction to post/confirm. It means that if you don’t send any transactions, then the block rate is ~2–3 minutes, but when you send at least 1 tx — the next block will be after 2–3 seconds.
Fantom is a consensus provider, much like RAFT is to the traditional distributed world
Raft Consensus Algorithm
Raft is a consensus algorithm that is designed to be easy to understand. It's equivalent to Paxos in fault-tolerance…
The goal has been and will be to focus on building the best decentralized consensus available. Not to be the best blockchain available. A blockchain is part of the product, consensus is one of the modules, just like you have modular EVM support, or NFT, or Issuance. You choose the modules for your network and deploy the one you prefer to work with, that is why Fantom has spent additional hours to integrate Lachesis into go-ethereum and cosmos-sdk.
Zar Network has shared the following status update, please note Zar Network is an independent entity not related to Fantom, Fantom has been working closely with Zar to help them understand and advance the technology stack
Zar-network is the chain implementation. The key value here is from the issue module
Documentation on how to use the issue module available here;
Install instructions available here;
The zar chain runs ontop of cosmos sdk
Which has been modified to use txflow and lachesis
Core features of this chain;
~50k+ Transactions per second, (Personal comment, this is not part of an official audit and is the current internal environment numbers, do not quote this as literature, since there are not standardized tests for TPS), once completed the following standardized tools will be used and then the results will be released;
The above tools were part of the CryptoBazar hackathon and specific tasks requested by Fantom to create standardized blockchain tests.)
Core features of zar-network
Freeze transfer in
Freeze transfer out
Approve allowance for
Increase allowance for
Decrease allowance for
The testnet is currently running on the following endpoints;
http://184.108.40.206:26657/status (consensus — lachesis)
Available endpoints for consensus are listed here
Available endpoints for zar-chain-panda are described here;
It has also been published on NPM
Stack as follows;
Web UI (React / NodeJS) interacts with EB API (NodeJS / PostgreSQL)
zar-network uses ABCI to interact with consensus (Golang TxFlow and Lachesis)
Fantom core product features update and roadmap
- Scope2 (Consensus + communication layer + EVM): Complete
- Scope3(Staking rewards distributions + ecosystem tools): End of December.
- Implementation differs in a few ways to “StairDag” paper, as discussed with Andre.
- Modifications by Quan to be consistent with “StairDag” paper: November / December.
- EVM Rust implementation by Augustin completed as of writing.
- All other modules / parts of the stack are completed (pending some error handling by Ayreh and Alex Jones). This includes TCP, and full-cli. Last piece of work in Consensus.
- Consensus preliminary formal specification by Vlad on Maxim’s consensus work to be completed.
- Discussed with Sam FIP-2 staking proposal
Lachesis — Scope 1
Fast Gossip Protocol
Summary of Algorithms
- Added useful traits in
- Fixed a blocking issue with
full-cli-rswith futures, split the main module into several modules to expose self-contained components: https://github.com/Fantom-foundation/full-cli-rs/commit/f5915719c2071bd1c345711540e61db0c2b6c1bd
- Continuing to work on
libnode-membership, on the gossip graph builder module.
- [WIP] Definition and implementation of
- [WIP] Definition of
libtransportan common test:
- [WIP] Definition of
- Implementation of
- [WIP] Implemented serde for
prostprost, to enable switching between protocol buffers, bincode, and other formats, transparently:
Fantom will continue to focus on Lachesis consensus, while we are happy with the current results, there is much room for improvement and we are constantly advancing the consensus. For that reason we encourage people to run and host their own blockchains which Fantom will support in any capacity they can.