Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment workflow #3

Open
stanbar opened this issue Nov 18, 2023 · 0 comments
Open

Deployment workflow #3

stanbar opened this issue Nov 18, 2023 · 0 comments

Comments

@stanbar
Copy link
Collaborator

stanbar commented Nov 18, 2023

Create a workflow for creating new voting which includes

  1. Depending on the auth method we use, gather [list of eligible voters] that is public keys or emails or twitters or discord handles
  2. Build smart contracts using smartcontract/setup.sh -n sizeof([list of eligible voters])
  3. Compute MerkleTree of the [list of eligible voters]
  4. Deploy smart contract to blockchain with: a Merkle root of the eligible voters, deadlines in block numbers
  5. Set the smart contract address to the delegate via /create_poll { eVotingAddress: [eVoting smart contract], eligableVoters: [list of eligible voters] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant