Skip to content

AztecProtocol/aztec-fundamenals-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Aztec Fundamentals Course

Welcome to the Aztec fundamentals course. This course will teach you everything you need to know, from scratch, to become an Aztec smart contract developer.

YOUTUBE LINK


Welcome to the repository for the Aztec Fundamentals Course!

This repository houses course resources and discussions for the course.

Contents

Helpful resources

The code is also in this repository.

Course Prerequisites

This course is targeted at intermediate Solidity developers. Of course, if this is not you, you can still take this course but you may not fully follow as there is some assumed knowledge including:

  • What a blockchain is
  • What a zero-knowledge proof is
  • Merkle Trees
  • Understand hash functions and how they can be used for commitments
  • What a nullifier is
  • How state works on Ethereum
  • EVM smart contract development preferred

If you would prefer, you can watch the following courses (for free) on Cyfrin Updraft to get up to speed beforehand:

Deployment Steps

  1. Get an RPC endpoint
export NODE_URL=https://rpc.testnet.aztec-labs.com
  1. Create but don't deploy a CLI wallet
aztec-wallet create-account -a main --register-only --node-url $NODE_URL

Note the output

  1. Get some fee juice on testnet from GregoJuice bridge

  2. Deploy your account

aztec-wallet deploy-account accounts:main --payment method=fee_juice --node-url $NODE_URL
  1. Deploy the contract e.g., token contract
aztec-wallet deploy --node-url $NODE_URL --from accounts:main --payment method=fee_juice --alias token private_token@Token --args accounts:main Token TOK 18
  1. Interact with the contract
aztec-wallet send mint_to_public --node-url $NODE_URL --from accounts:main --payment method=fee_juice --contract-address token --args accounts:main 100
  1. Simulate to read state
aztec-wallet simulate balance_of_public --node-url $NODE_URL --from accounts:main --contract-address token --args accounts:main

Section 0

This section is just a welcome to the course

  • Meet the instructor
  • What you will learn
  • What are the prerequisites

Section 1

What is Aztec and how does it work?

Section 2

Build a private counter smart contract. Code

Section 3

Build a private token smart contract. Code

Correction: In this course we did not cover private events. To learn how to emit private events, visit the events and logs documentation.

Section 4

Well done:)

Send a Tweet/post to let us know you completed the course!!

Thank you

I just wanted to say a massive thank you to the following people:

  • The entire Aztec team for making this possible (namely Nico, Grego, Jan, Maddiaa, Niall and Alejo for answering millions of questions)
  • Jess for her help with editing (she is awesome)
  • Patrick Collins for supporting me in creating long form content (the structure is inspired by courses from Cyfrin Updraft)
  • Josh: devrel at Aztec for his fab AI resources and docs
  • The Wonderland team for their learning resources and codebase I modified :)

About

Resources & code for the Aztec Fundamentals course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages