district0x / memefactory

MemeFactory is a platform for the decentralized creation, issuance, and exchange of provably rare digital collectibles on the Ethereum blockchain.
https://memefactory.io/
Eclipse Public License 1.0
77 stars 35 forks source link

Simplify Voting to limit on-chain transactions. feature/[FEATURE] #765

Open grasponcrypto opened 2 years ago

grasponcrypto commented 2 years ago

Problem

A vote requires 2 steps on mainnet. I think an on-chain vote is unnecessary if the reveal is required on-chain as well.

Implementation

This would ideally have an off-chain vote, where a signature is generated off-chain and then revealed on-chain. For timestamps one could perhaps include hash of the latest block as part of the signature and the reveal would only count votes with a range of hashes as part of the signature. This is just one idea, but the root of the issue is that the vote should not require 2 transactions on mainnet.

Acceptance Criteria

Vote should only require one mainnet transaction

Notes

none

Future Steps

TBD