Prints QR-Codes on the terminal.
I want to use it to connect geth and WallETH via the wallet connect protocol.
It uses zxing and is inspired by qrcode-terminal
If not already done add the jitpack repository:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Then add console-barcodes:lib as a dependency:
dependencies {
implementation 'com.github.walleth.console-barcodes:lib:<version>'
}
Now you can use the library:
printQR( "Hello world" )
MIT