StarkEx V4
Website
Playground
Github
中文
Search…
Introduction
High-Level Overview
Deployments
StarkEx Deep Dive 🐬
Off-chain state
StarkEx, Cairo, and SHARP
Flow Description
StarkEx Contracts
StarkEx Specific Concepts
Becoming an Oracle Provider for StarkEx
Message Encodings
Data Availability Modes
Batch Flash Loans
DeFi Pooling
Integration
Crypto 🤓
STARK Curve
Pedersen Hash Function
Key Derivation
Wallets
Important Links
StarkEx V4.0 REST API
StarkEx Perpetual V2.0 REST API
StarkEx V4.0 Cairo code
StarkEx V4.0 Contract Change Log
StarkEx SDK
StarkEx Crypto SDK
Architecture
Solution Architecture
StarkEx Applications
StarkEx Smart Contracts Architecture
StarkEx Back End Architecture
StarkEx Partner Integration
Powered By
GitBook
STARK Curve
The Stark-friendly elliptic curve used is defined as follows:
y
2
≡
x
3
+
α
⋅
x
+
β
(
m
o
d
p
)
y^2 \equiv x^3 + \alpha \cdot x + \beta \pmod{p}
y
2
≡
x
3
+
α
⋅
x
+
β
(
mod
p
)
where:
α
=
1
β
=
3141592653589793238462643383279502884197169399375105820974944592307816406665
p
=
3618502788666131213697322783095070105623107215331596699973092056135872020481
=
2
251
+
17
⋅
2
192
+
1
\begin{align*} \alpha &= 1 \\ \beta &= 3141592653589793238462643383279502884197169399375105820974944592307816406665 \\ p &= 3618502788666131213697322783095070105623107215331596699973092056135872020481\\ &= 2^{251} + 17 \cdot 2^{192} + 1 \end{align*}
α
β
p
=
1
=
3141592653589793238462643383279502884197169399375105820974944592307816406665
=
3618502788666131213697322783095070105623107215331596699973092056135872020481
=
2
251
+
17
⋅
2
192
+
1
The Generator point used in the ECDSA scheme is:
G
=
(
874739451078007766457464989774322083649278607533249481151382481072868806602
,
152666792071518830868575557812948353041420400780739481342941381225525861407
)
\begin{split}G = (874739451078007766457464989774322083649278607533249481151382481072868806602, \\ 152666792071518830868575557812948353041420400780739481342941381225525861407)\end{split}
G
=
(
874739451078007766457464989774322083649278607533249481151382481072868806602
,
152666792071518830868575557812948353041420400780739481342941381225525861407
)
StarkEx Deep Dive 🐬 - Previous
Integration
Next - Crypto 🤓
Pedersen Hash Function
Last modified
5mo ago
Copy link