Sandbox of Distributed Authority Management System (Executor, Legislator, and Judgement)
This project is the sandbox that Montesquieu's separation of powers applies to the execution of smart contracts. This project's purpose is to prevent malicious execution of smart contracts by creating three types of groups of authority to execute in Role, executor, and judge of execution. "Koku(国)" means Country in Japanese. so This project is the minimum model of a country about authority.
This project makes use of zkSync and Zinc.
the main logic is on Smart Contact.
There is three Role as follows:
Execute transfer / prosecution
Make a rule about token
Judge a prosecute the invalid operation and execute revert operation.
The frontend uses Nuxjs / web3 / zkSync library of Typescript