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.

KOKU showcase

How it's made

# Backend This project makes use of zkSync and Zinc. the main logic is on Smart Contact. There is three Role as follows: - Executor: Execute transfer / prosecution - Legislator: Make a rule about token - Judgement: Judge a prosecute the invalid operation and execute revert operation. # Frontend The frontend uses Nuxjs / web3 / zkSync library of Typescript