-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add docs for
starknet-curve
(#633)
- Loading branch information
1 parent
5299462
commit a989555
Showing
3 changed files
with
70 additions
and
2 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 +1,12 @@ | ||
# Starknet Curve | ||
# Starknet Curve Parameters | ||
|
||
The `starknet-curve` crate contains a few useful parameters for the STARK curve defined as: | ||
|
||
``` | ||
y^2 = x^3 + alpha * x + beta | ||
``` | ||
|
||
where: | ||
|
||
- `alpha` = `0x0000000000000000000000000000000000000000000000000000000000000001` | ||
- `beta` = `0x06f21413efbe40de150e596d72f7a8c5609ad26c15c915c1f4cdfcb99cee9e89` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
//! A library with constant parameters for the Stark elliptic curve. | ||
#![deny(missing_docs)] | ||
#![no_std] | ||
#![doc = include_str!("../README.md")] | ||
|
||
/// Module containing the Stark elliptic curve parameters. | ||
pub mod curve_params; |