Transactions on a blockchain have to be signed with a private key. This makes sure that people can only spend coins if they have the private key of their wallet.

In this video we will refactor our Javascript blockchain so that it will only accept signed transactions.

We’ll use the secp256k1 elliptic curve to generate a keypair. The same algorithm used in Bitcoin. But you can use other algorithms as well.

馃げ Source code
Available on GitHub:

馃挵 Buy Bitcoin, Ethereum, Litecoin, ..
Get $10 for free when buying through my affiliate link (thanks!):

馃實 Social
馃拰 Newsletter: (no more than once a month)

鉂わ笍 Become a Simply Explained member:


Por admin

Deja una respuesta

Tu direcci贸n de correo electr贸nico no ser谩 publicada. Los campos obligatorios est谩n marcados con *