You are browsing as a guest. Sign up (or log in) to start making projects!

HackChain

  • 2 Devlogs
  • 1 Total hours

A blockchain and cryptocurrency for Hack CLub!

Open comments for this post

24m 55s logged

Building the transactions and wallet flow

I have created the wallets and transasction flow signs a message built from the transaction’s own contents using the sender’s private key. Basically newtransaction part of the code. Verify checks that signature against the sender’s public key. Change any field amount, recipient after signing, and Verify returns false, because the signature no longer matches the (now different) message.

0
0
5
Open comments for this post

20m 40s logged

Researched on how blockchains worked. Decided to use Go, to code my blockchain since it has an inbuilt SHA256 library. Made a simple code for hash function and block struct. Initial bugs due to function errors. Simple fix was making them consistent. Made 3 initial blocks

1
0
76

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…