Skip to content

Aneeshie/go-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-wallet 🪙

A minimal cryptocurrency wallet and blockchain simulation built in Go.
This project aims to provide a hands-on learning experience with core blockchain concepts like key generation, transaction signing, block creation, and eventually mining and chain validation.


Features Implemented

Wallet

  • ECDSA key pair generation (P256 curve)
  • Wallet address derived from public key hash
  • Transaction message signing (with r, s values)
  • Message verification with public key

Transactions

  • Basic Transaction struct with:
    • Sender address
    • Recipient address
    • Amount
    • Signature (r, s)

Blocks

  • Basic Block struct with:
    • Index
    • Timestamp
    • List of transactions
    • Previous hash
    • Nonce
    • Hash (SHA-256 of block contents)
  • Genesis block creation

TODO

->Blockchain Login ->Proof of work ->Mempool ->Save blockchain to file, load on startup ->CLI/UI

Requirements

  • GO 1.18

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages