-
Notifications
You must be signed in to change notification settings - Fork 311
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>
Co-authored-by: josh crites <jc@joshcrites.com>
Co-authored-by: josh crites <jc@joshcrites.com>
@@ -7,6 +7,7 @@ In this section, you will learn what keys are used in Aztec, and how the address | |||
|
|||
## Types of keys | |||
|
|||
<<<<<<< HEAD |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Please read contributing guidelines and remove this line.