Kotlin implementation Bech32 encoding.
Base on BIP-0173: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.mahdi13:ktbech32:0.0.1'
}