Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Updated accounts page #12019

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

chore(docs): Updated accounts page #12019

wants to merge 24 commits into from

Conversation

sthwnd
Copy link
Contributor

@sthwnd sthwnd commented Feb 14, 2025

Please read contributing guidelines and remove this line.

@@ -7,6 +7,7 @@ In this section, you will learn what keys are used in Aztec, and how the address

## Types of keys

<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is part of an incomplete merge

### Signing keys

Thanks to the native [account abstraction](../accounts#background/index.md), authorization logic can be implemented in an alternative way that is up to the developer (e.g. using Google authorization credentials, vanilla password logic or Face ID mechanism). In all these cases signing keys may not be relevant.
>>>>>>> dd7f5999c545228d0669536b4934667204ab6d57
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so is this line


However if one wants to implement authorization logic containing signatures (e.g. ECDSA or Shnorr) they will need signing keys. Usually, an account contract will validate a signature of the incoming payload against a known signing public key.

This is a snippet of our Schnorr Account contract implementation, which uses Schnorr signatures for authentication:

<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as with this and the ====== and the >>>>>>>> ...

@@ -7,7 +7,7 @@ use dep::aztec::macros::aztec;
#[aztec]
pub contract SchnorrAccount {
use dep::authwit::{
account::AccountActions,
:diffg LO account::AccountActions,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure what this is

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why it highlights it as a change.

@sthwnd sthwnd changed the title Updated accounts page chore(docs): Updated accounts page Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants