Bitcoin

object Bitcoin

Functions

Link copied to clipboard
fun addressFromPublicKeyScript(chainHash: ByteVector32, pubkeyScript: ByteArray): String?
fun addressFromPublicKeyScript(chainHash: ByteVector32, pubkeyScript: List<ScriptElt>): String?
Link copied to clipboard
fun addressToPublicKeyScript(chainHash: ByteVector32, address: String): List<ScriptElt>
Link copied to clipboard
fun computeBIP44Address(pub: PublicKey, chainHash: ByteVector32): String
Link copied to clipboard
fun computeBIP49Address(pub: PublicKey, chainHash: ByteVector32): String
Link copied to clipboard
fun computeBIP84Address(pub: PublicKey, chainHash: ByteVector32): String
Link copied to clipboard
fun computeP2PkhAddress(pub: PublicKey, chainHash: ByteVector32): String
Link copied to clipboard
fun computeP2ShOfP2WpkhAddress(pub: PublicKey, chainHash: ByteVector32): String
Link copied to clipboard
fun computeP2WpkhAddress(pub: PublicKey, chainHash: ByteVector32): String