This is a proof-of-concept implementation of Savanna Lightproof, a proof server for the Antelope Savanna consensus.
Savanna Lightproof provides developers with a simple interface for generating proofs of block finality and proofs of block and action inclusion for blockchains running Antelope Spring.
At this stage, this proof-of-concept is not production-ready, but is sufficient to demonstrate IBC communications in the context of the Savanna consensus algorithm.
This is work-in-progress :
- Implement final data structure and data persistence
- Implement data pruning
- Add snapshot support
- Add action proofs
- Add support for finalizer policy sunset
- Add finality proof generation
- Add supporting tools for IBC transaction lifecycle management
git clone https://github.com/AntelopeIO/savanna-light-proof
cd savanna-light-proof
npm install
Copy config.jsonc.example to config.jsonc and edit file:
{
"network": "EOS Mainnet",
"api_endpoint": "http://127.0.0.1:8888",
"ship_endpoint": "ws://127.0.0.1:8080"
}
npm run start
See client/client.js for usage examples