-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Entering some friendly competition with dear @catmcgee on nits PRs
- Loading branch information
1 parent
03511f5
commit defd2ba
Showing
9 changed files
with
73 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,46 @@ | ||
--- | ||
title: Aztec | ||
title: Programmable Privacy | ||
sidebar_position: 0 | ||
--- | ||
|
||
import Disclaimer from "@site/src/components/Disclaimers/\_wip_disclaimer.mdx"; | ||
import ReactPlayer from "react-player/youtube"; | ||
|
||
Aztec is an L2 that brings programmable privacy to Ethereum. | ||
|
||
## Private Smart Contracts on Aztec | ||
|
||
A smart contract on Aztec is a collection of functions, written as ZK-SNARK circuits. These circuits can have different modes of execution: | ||
|
||
1. Private Functions -- can read and write private state, read historical public state, consume or send messages to / from Ethereum, and read Ethereum state. They can call other private functions in the same contract, or other contracts, and can call public functions. | ||
2. Public Functions -- can read and write public state, write private state, consume or send messages to / from Ethereum and read Ethereum state. They can call other public functions on the same or other contracts. | ||
3. Portal Contracts -- these are contracts on Ethereum that can receive messages from Aztec or send messages to Aztec from Ethereum contracts. | ||
|
||
Using these different modes of execution, developers can build applications with user privacy, data privacy and code privacy. | ||
|
||
- User privacy - transactions may not reveal information about the sender or the recipient. | ||
- Data privacy - transactions may not reveal information about the payload of the transaction, e.g., the asset or value being transacted. | ||
- Code privacy - transactions may not reveal the program logic. | ||
|
||
Watch Zac, CEO of Aztec, describe our approach to building a privacy preserving smart contract blockchain. | ||
|
||
<ReactPlayer | ||
controls | ||
light | ||
width="100%" | ||
url="https://www.youtube.com/watch?v=09nDPDN1ORA" | ||
/> | ||
|
||
### Private-public Composability | ||
|
||
You can watch Mike, Aztec PM, talk about public-private composability in Aztec at Devcon here. | ||
|
||
<ReactPlayer | ||
controls | ||
light | ||
width="100%" | ||
url="https://www.youtube.com/watch?v=7Oc0tjdbi70&t=17723s" | ||
/> | ||
|
||
## How Aztec is being built | ||
|
||
Aztec is being built and launched as a credibly neutral, decentralized network. The protocol is being developed as open source software by Aztec (the company) and our community. Together we are designing, building and auditing much of the software that will be run by network stakeholders such as infrastructure providers in order to create Aztec. | ||
Aztec will launch as a credibly neutral, decentralized network. The protocol is being developed as open source software by Aztec Labs and the community. Together we are designing, building and auditing much of the software that will be run by Aztec network stakeholders, such as infrastructure providers, wallets, and other core services. | ||
|
||
Contributors to Aztec uphold many of the values of the Ethereum community: | ||
- building in public | ||
- having a rigorous commitment to open source | ||
- believe in a permissionless, compliant, scalable and censorship-resistant system. | ||
|
||
Contributors to Aztec uphold many of the values of the Ethereum community -- building in public, a rigorous commitment to open source and a goal to build a permission-less, censorship resistance system. | ||
## Our Cryptography | ||
|
||
## Noir | ||
Aztec is inspired on Ethereum. We believe in transparency for the protocol, but privacy for the user. This programmability is achieved through Smart Contracts, which are in fact Zero-Knowledge circuits. | ||
|
||
Noir is a domain specific programming language for writing zero-knowledge circuits. On Aztec a smart contract is a collection of circuits that developers write using Noir. | ||
To allow for this, we focus on two main components: | ||
- **Noir** - We started developing Noir long before Aztec came into being. As an easy, open-source domain specific programming language for writing zero-knowledge circuits, it became the perfect language for writing [Aztec Smart Contracts](aztec/concepts/smart_contracts/index.md). Read about standalone Noir in the [Noir Lang Documentation](https://noir-lang.org). | ||
- **Honk** - A collection of cutting-edge cryptography, from proving systems, to compilers, and other sidecars. These will support Aztec's rollup and allow for fast, private, client-side proving. | ||
|
||
You can find more information and resources for learning about Noir smart contracts on [this page](aztec/concepts/smart_contracts/index.md). | ||
## Media | ||
|
||
## Cryptography | ||
### Privacy Preserving Smart Contracts | ||
<ReactPlayer | ||
controls | ||
light | ||
width="100%" | ||
url="https://www.youtube.com/watch?v=09nDPDN1ORA" | ||
/> | ||
|
||
To support Aztec's rollup, our cryptography team is building [Honk](https://github.com/AztecProtocol/barretenberg/tree/master/cpp/src/barretenberg/honk), a cutting edge proving system that makes Aztec possible, under the Apache 2.0 License. | ||
### Public-private Composability | ||
|
||
## Participate | ||
<ReactPlayer | ||
controls | ||
light | ||
width="100%" | ||
url="https://www.youtube.com/watch?v=7Oc0tjdbi70&t=17723s" | ||
/> | ||
|
||
Keep up with the latest discussion and join the conversation in the [Aztec forum](https://discourse.aztec.network) or [Discord server](https://discord.gg/DgWG2DBMyB). | ||
|
||
<Disclaimer />; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
docs/docs/guides/smart_contracts/writing_contracts/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"position": 0, | ||
"collapsible": true, | ||
"collapsed": true, | ||
"label": "Writing Contracts" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
--- | ||
title: Vision | ||
title: Aztec's Vision | ||
sidebar_label: Vision | ||
sidebar_position: 1 | ||
--- | ||
|
||
import Disclaimer from "@site/src/components/Disclaimers/_wip_disclaimer.mdx"; | ||
|
||
## The world's encrypted ledger | ||
We are building the [Aztec Network](https://aztec.network/), a fully programmable private [ZK-rollup](https://ethereum.org/en/developers/docs/scaling/zk-rollups/) on [Ethereum](https://ethereum.org/) to enable developers to create decentralized applications with encryption and scale. | ||
|
||
Our vision is to create a fairer, more open financial eco-system, built with encryption at its core. | ||
These are our core values. | ||
|
||
We believe decentralization is premised on individual rights — without widely accessible encryption, we compromise our ability to choose how we live our lives and earn our livelihoods. | ||
### Privacy | ||
|
||
We are building the [Aztec Network](https://aztec.network/), a fully programmable private [ZK-rollup](https://ethereum.org/en/developers/docs/scaling/zk-rollups/) on [Ethereum](https://ethereum.org/) to enable developers to create decentralized applications with encryption and scale. | ||
The only true zero-knowledge rollup, built with a privacy-first UTXO architecture to allow developers to build privacy preserving programable applications. | ||
|
||
It refers to the ability of Aztec smart contract to have private (encrypted) state. Aztec abstracts away many of the complexities associated with managing private state, providing developers with an interface that feels familiar, but is much more powerful. | ||
|
||
Aztec provides a secure, private environment for the execution of sensitive operations, ensuring private information and decrypted data are not accessible to unauthorized applications. | ||
|
||
## Values | ||
When a user sends a private transaction on the network, the only information that an external observer can infer is that a transaction was sent. | ||
|
||
## Accessibility | ||
|
||
Proving transaction validity via recursive aggregation of zero-knowledge proofs, significantly reduces transaction costs, keeping the protocol accessible to the masses. | ||
|
||
## Trustlessness | ||
|
||
We believe decentralization is premised on individual rights — without widely accessible encryption, we compromise our ability to choose how we live our lives and earn our livelihoods. | ||
|
||
- **Private.**: The only true zero-knowledge rollup, built with a privacy-first UTXO architecture to allow developers to build privacy preserving programable applications. | ||
- **Accessible.**: Proving transaction validity via recursive aggregation of zero-knowledge proofs, significantly reduces transaction costs, keeping the protocol accessible to the masses. | ||
- **Compliant**: The programmable nature of Aztec smart contracts, enables dApp developers to code privacy-preserving audit and compliance checks into apps, while fully preserving a credible neutral protocol layer. | ||
Aztec is building a permissionless, censorship resistant, peer-to-peer network. It aims to be credibly neutral, where the same transparent rules apply to everyone, enforced by the protocol. | ||
|
||
#### _Zac Williamson, CEO and Co-founder, Aztec_ | ||
Aztec will have a network of sequencers that stake tokens to participate in the network. Sequencers are responsible for aggregating transactions into a block, generating proofs of the state updates (or delegating proof generation to the prover network) and posting it to the rollup contract on Ethereum, along with any required public data for data availability. | ||
|
||
> “When we started Aztec, the technology to scale blockchains privately didn’t exist. Since then, we’ve assembled a team of world-class cryptographers who continuously redefine the state-of-the-art. Inventing PLONK — the paradigm-defining universal zk-SNARK — showcases our ability to produce technology that matches our ambitions: unlocking an entire universe of blockchain applications that couldn’t exist without privacy.” | ||
## Compliance | ||
|
||
To achieve these goals, we are pioneering the cryptography and research needed to bring our next generation, privacy-preserving zk-roll-up to mainnet. | ||
The programmable nature of Aztec smart contracts, enables dApp developers to code privacy-preserving audit and compliance checks into apps, while fully preserving a credible neutral protocol layer. | ||
goals, we are pioneering the cryptography and research needed to bring our next generation, privacy-preserving zk-roll-up to mainnet. | ||
|
||
<Disclaimer /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters