SYB sequencer is a zk-rollup sequencer designed to compute uniqueness score for each user account based on the vouches made between accounts. This score will reflect the interactions and endorsements that one account provides to another. Acting as a backend middleware, sequencer facilitates communication between the smart contract and the Circuit, which is responsible for calculating the uniqueness score.
By utilizing a zk-rollup architecture, we aim to significantly reduce the computational costs associated with calculating scores directly through smart contracts, which would otherwise be prohibitively high. This approach ensures efficiency and scalability while maintaining the integrity of our computations.
cp .env.example .env
brew install go-task # for running various tasks, especially tests
task test-<name> # for example: task test-historydb
Sync flow (interactive link)
go run main.go run --mode sync --cfg cfg.toml
Coord flow (interactive link)
go run main.go run --mode coord --cfg cfg.toml