Member-only story
Elliptic Curve Mathematics Deep-dive
Elliptic Curve Mathematics For Ethereum Transaction Sending (ALMOST)
Generate a private Ethereum key, derive public key and address and finally create and sign a simple transaction (in 🐍 Python), with the mathematics of the elliptic curves
This post is based on this great overview of how elliptic curves are used to generate private and public keys in cryptocurrencies, as well as this amazing series that goes into greater depths of the mathematics of the elliptic curves, this and this little neat paper. If you like this post, I strongly suggest to check out the linked articles
This article is somewhat logically structured, I think
- ♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦ Elliptic Curve — Secp256k1
1.1 ♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦ About the curve
1.2 ♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦ Euclidean algorithm