The aztec-packages monorepo requires a specific toolchain setup to be able to run
./bootstrap.sh fast
which fetches/builds all of the packages.
Here are the commands to get the monorepo set up on a linux machine as of Nov 21, 2024.
sudo apt update -y && sudo apt upgrade -y
sudo apt remove cmake -y
pip install cmake --upgrade
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 16
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.1
curl -s -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sdk-22.0-linux.tar.gz | tar zxf - && sudo mv wasi-sdk-22.0 /opt/wasi-sdk
curl -L https://foundry.paradigm.xyz | bash
foundryup -v nightly-25f24e677a6a32a62512ad4f561995589ac2c7dc
npm install --global solhint
This is going to focused on the aspects of building–no high level explainers of how to do things. High level explanations should link back to docs pages. Much of this content is already written. For content that is already exists, link to it–for content that does not exist yet, create an issue and maybe write it.
Mar 20, 2024https://github.com/critesjosh/aztec-account-abstraction-workshop
Nov 14, 2023How to handle private escrows between two parties…?
Oct 30, 2023MAGA is a simple on-chain, privacy preserving attestations protocol. Attestations are associated with an ECDSA signature hash that a user can verify ownership of with a zk proof. Github repo here. This may be best for off chain applications. consider making the time a Public input that invalidates it after X seconds. the solidity contract could be adapted for specific onchain applications, to make it resistant to front-running the proof public inputs must include any inputs to other solidity functions in the transaction. so for access control, the proof must include inputs for the action to be taken. eg, if its for a vote, the proof must include the vote (for, against), the proposal id and contract, otherwise those could be manipulated by a front runner. Recursive proofs greatly expand the design space of what's possible. The multisig and voting use cases explored at the bottom of this document are improved greatly when using recursive proofs for aggregation.
Jun 14, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up