StarknetByExample icon indicating copy to clipboard operation
StarknetByExample copied to clipboard

Feature: Account Abstraction - Custom Validation Signature Scheme

Open julio4 opened this issue 1 year ago β€’ 8 comments

Description

Account Abstraction replace Externally Owned Accounts (EOA). Accounts are implemented as smart contract called smart wallet.

Account Abstraction allows for validation abstraction, which means that it is possible to implement the validation part of transaction inside a smart wallet in any way possibles.

In this example, we want to show how we can implement a custom validation method using a different signature scheme.

Criteria:

  • Clearly explain the separation between the signer and the account.
  • Focus on the implementation. There’s already lots of explanations about it in the Starknet Book, give a succinct overview of the most important points.
  • SNIP-6 will be explained in #188 (by @Jemiiah), so focus only on the custom validation part.

Resources:

ODHack

To be eligible for additional rewards, be sure to review and follow the ODHack Common Guidelines and Contributing Guidelines. Be sure to join the telegram group and introduce yourself.

julio4 avatar May 24 '24 10:05 julio4

Hi @julio4 my name is James Harrison, A Software Engineer I will love to work on this tasks. steps I would take to work on this tasks are as follows

  • I would thoroughly go through the starknet book and give detailed explanation on the separation between the signer and the account.
  • I will implement thoughly the custom validation scheme using cairo.
  • timeline to finish this tasks is 4days

KodeSage avatar May 24 '24 10:05 KodeSage

@KodeSage I'll assign you. Please open a draft PR as soon as possible for early feedback on the specific validation scheme chosen. Please do not use generative AI to write explanations as well.

julio4 avatar May 24 '24 10:05 julio4

@julio4 i would love to work on this incase KodeSage is not interested. i know how to go about the work

Jemiiah avatar May 30 '24 10:05 Jemiiah

I'm still working on it, will create a PR very soon

KodeSage avatar May 30 '24 11:05 KodeSage

If this becomes available I'll like to get it done @julio4

OkoliEvans avatar Jun 17 '24 13:06 OkoliEvans

If this becomes available I'll like to get it done @julio4

Yes it is available, please take the time to read #200. It will be the first section in the AA chapter so this Signature Scheme example will follow it.

julio4 avatar Jun 19 '24 03:06 julio4

@julio4 I would love to work on this issue if you allow it πŸ˜ŒπŸš€

Jemiiah avatar Jul 15 '24 19:07 Jemiiah

@julio4 I would love to work on this issue if you allow it πŸ˜ŒπŸš€

@OkoliEvans is already actively working on it currently!

julio4 avatar Jul 19 '24 04:07 julio4