Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoinjavalib

Porting the code from this book to another language would also be a great learning tool.

writes Jimmy Song in Programming Bitcoin 1 on page 250.
So this is a Java implementation of it.

As this is the most popular application of Bitcoin, creating a wallet will give you a lot of insight into users' needs.

writes Jimmy Song in Programming Bitcoin 1 on page 249.
So there is also a wallet, based on the Electrum protocol, included.


run tests with maven

mvn clean test  
mvn test -Dtest=Chapter7Test
mvn test -Dtest=Chapter7Test#exercise4

run network tests

  • network tests work only with a peer @ localhost
mvn test -Dnetwork=true
mvn test -Dtest=SimpleNodeTest#handshake -Dnetwork=true
mvn test -Dtest=Chapter10Test#example2 -Dnetwork=true

run disabled tests

mvn test -Dtest=Chapter7Test#verifyBiggestTransaction -Ddisabled=false

Footnotes

  1. Programming Bitcoin by Jimmy Song (O'Reilly). Copyright 2019 Jimmy Song. 978-1-492-03149-9. 2

About

a bitcoin java library

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages