kleros-v2
kleros-v2 copied to clipboard
Smart Contract Accounts support via ERC-1271
Currently, smart contract accounts are able to stake in the court but
- NOT able to authenticate via SIWE, so can't submit any evidence
- NOT able to commit/reveal in courts where hiddenVotes are enabled.
We are planning to enable hiddenVotes in the General Court in v2.
Hidden votes are already enabled in the xDAI KlerosLiquid general court and both xDAI/Ethereum Spanish general court.
Resources
EIP1271
- Why EIP1271?
- https://github.com/wevm/wagmi/discussions/90
- Implementation by Gnosis Safe's Fallback handler
- Example of EIP1271 signature verification
- https://github.com/Uniswap/web3-react/tree/main/packages/gnosis-safe