-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge and add basic builtin * WIP * Initial version * Remove unused comments * Add signature program * Fix parser * Merge * Replace test file * Fix signature builtin name * Remove value from writeable address * Add segment * Remove unused import * Fix test name * fix fmt --------- Co-authored-by: Javier Chatruc <[email protected]> Co-authored-by: Federica <[email protected]> Co-authored-by: fmoletta <[email protected]>
- Loading branch information
1 parent
3ab71d9
commit e6ab48a
Showing
9 changed files
with
137 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
%builtins ecdsa | ||
from starkware.cairo.common.cairo_builtins import SignatureBuiltin | ||
from starkware.cairo.common.signature import verify_ecdsa_signature | ||
|
||
func main{ecdsa_ptr: SignatureBuiltin*}() { | ||
verify_ecdsa_signature( | ||
2718, | ||
1735102664668487605176656616876767369909409133946409161569774794110049207117, | ||
3086480810278599376317923499561306189851900463386393948998357832163236918254, | ||
598673427589502599949712887611119751108407514580626464031881322743364689811, | ||
); | ||
return (); | ||
} |
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
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
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
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