/aztec-voting-workshop

[Aztec example project] The simplest possible voting smart contract on Aztec

Primary LanguageRoff

Simplest Private smart contract | Developed for Nethermind Summit @ Devconnect 2023

Find gist for workshop here.

Prerequisites

  • Aztec sandbox /bin/bash -c "$(curl -fsSL 'https://sandbox.aztec.network')" (for this you need Docker)
  • Aztec-cli npm install -g @aztec/cli

Compile

In contracts/voting

aztec-cli compile .

Deploy

After compilation, with sandbox running

aztec-cli deploy ./target/Voting.json --args <admin_address>

You can find existing acount addresses in the running sandbox output