{"repo":"ACINQ/bitcoin-lib","free":true,"listed":false,"github":"https://github.com/ACINQ/bitcoin-lib","clone":"git clone https://github.com/ACINQ/bitcoin-lib.git","description":"Simple bitcoin library written in Scala","language":"Scala","stars":113,"topics":["scala","bitcoin"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Simple Scala Bitcoin Library Overview This is a simple scala library which implements most of the bitcoin protocol: base58 encoding/decoding block headers, block and tx parsing tx creation, signature and verification script parsing and execution (including OP CLTV and OP CSV) standard scripts (p2pkh, p2sh, p2wpkh, p2wsh) BIP 32 (deterministic wallets) BIP 39 (mnemonic code for generating deterministic keys) BIP 173 (Base32 address format for native v0-16 witness outputs) BIP 174 (Partially Signed Bitcoin Transaction Format) BIP 350 (Bech32m format) It is actually a wrapper on top of our Kotlin Bitcoin Library that makes it easier to use in scala projects. All the features are implemented in Kotlin in the fr.acinq.bitcoin namespace and the scala wrappers can be found in the fr.acinq.bitcoin.scalacompat namespace. Objectives Our goal is not to re-implement a full Bitcoin node but to build a library that can be used to build applications that rely on bitcoind to interface with the Bitcoin network (to retrieve and index transactions and blocks, for example...). We use it very often to build quick prototypes and test new ideas. Besides, some parts of the protocol are fairly simple and \"safe\" to re-implement (BIP32/BIP39 for example), especially for indexing/analysis purposes. And, of course, we use it for our own work on Lightning (see ). Status [X] Message parsing (blocks, transactions, ...) [X] Building transactions (P2PK, P2PKH, P2SH, P2WPKH, P2WSH) [X] Signing transactions [X]","default_branch":null,"files":null,"tree":[],"storefront":"/r/ACINQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ACINQ/bitcoin-lib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}