Bitcoin 101 – Elliptic Curve Cryptography – Part 4 – Generating the Public Key (in Python)

Welcome to part four in our series on Elliptic Curve Cryptography. I this episode we dive into the development of the public key. In just 44 lines of code, with no special functions or imports, we produce the elliptic curve public key for use in Bitcoin. Better still, we walk you through it line by line, constant by constant. Nothing makes the process clearer and easier to understand than seeing it in straight forward code. If you’ve been wondering about the secp256k1 (arguably the most important piece of code in Bitcoin), well then this is the video for you.

This is part 4 of our upcoming series on Elliptic Curves. Because of such strong requests, even though this is part 4, it is the first one we are releasing. In the next few weeks we will release the rest of the series. Enjoy.

Here’s the link to our Python code (Python 2.7.6):

Here’s the private key and the link to the public address that we use. Do you know why it is famous?
Private Key : A0DC65FFCA799873CBEA0AC274015B9526505DAAAED385155425F7337704883E
Public Address on

Here’s the private key we use at the end:
Public Address on

Welcome to WBN’s Bitcoin 101 Blackboard Series — a full beginner to expert course in bitcoin. Please like, subscribe, comment or even drop a little jangly in our bitcoin tip jar 1javsf8GNsudLaDue3dXkKzjtGM8NagQe. Thanks, WBN


Joe is a thought-provoking author and serial entrepreneur leveraging over 12 years of experience publishing and editing today’s leading news. In joining the Tudor Times team of professional visionaries, Joe specializes in authoring articles and is also the managing editor at Scryptify.