Skip to content

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

Notifications You must be signed in to change notification settings

catmcgee/aztec-voting-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages