coconut_lib 1.1.2 copy "coconut_lib: ^1.1.2" to clipboard
coconut_lib: ^1.1.2 copied to clipboard

The coconut_lib is a development tool for mobile air gap Bitcoin wallets. It is written in Dart. Coconut Vault and Coconut Wallet were created using this library.

1.1.2 #

  • Fix WIF encoding to use Base58Check, and restore WIF decoding
  • Support taproot script path policies: single signature and k-of-n multisig
  • Support explicit taproot script trees with TapTree, TapLeaf and TapBranch
  • Follow BIP-386 and BIP-390 in taproot descriptors; descriptor strings and their checksums change, addresses and signatures do not
  • Keep reading descriptors and policies written by earlier versions
  • Fix OP_NUMEQUAL from 0x87 to 0x9c, and add OP_EQUAL
  • Fix PBKDF2 to hash the mnemonic bytes as given
  • Estimate script path fees from the spent leaf's real merkle depth
  • Accept auxRand for MuSig2 nonce generation
  • Change TransactionInput.setTaprootScriptPathSpendingSignature to take a list of signature stack items

1.1.1 #

  • Enhance security
  • Update license

1.1.0 #

  • Support P2TR and taproot policy

1.0.4 #

  • Support HWW for multisig signing

1.0.3 #

  • Fix key store bug

1.0.2 #

  • Improve security

1.0.0 #

  • Fix finger printer bug

1.0.0 #

  • Add parse coinbase transaction
  • Add sweep to multiple address

0.10.5 #

  • Add estimate fee with number of input/output

0.10.4 #

  • Support brain wallet

0.10.3 #

  • Fix transaction parser
  • Fix script parser

0.10.2 #

  • Change method name canSignToPsbt -> hasPublicKeyInPsbt
  • Add PlantUML class diagram

0.10.1 #

  • Added support for hardware wallets (Keystone, SeedSigner)
  • Implemented MuSig2 spending functionality

0.9.2 #

  • Fix DER encoding bug

0.9.1 #

  • Split Ecc.signEcdsa and Ecc.signSchnorr into separate methods
  • Split HdWallet.sign into HdWallet.signEcdsa and HdWallet.signSchnorr
  • Split Ecc.verify into Ecc.verifyEcdsa and Ecc.verifySchnorr
  • Split HdWallet.verify into HdWallet.verifyEcdsa and HdWallet.verifySchnorr
  • Removed KeyStore.signWithDerivationPath(String message, String derivationPath, {bool isSchnorr = false})
  • Removed KeyStore.sign(String message, int addressIndex, {bool isChange = false, isSchnorr = false})

0.9.0 #

  • Remove electrum connection
  • Taproot key-path spending support
  • Batch transaction support
  • UTXO selection support

0.8.2 #

  • UTXO selection support.
  • Fix network bug.

0.8.1 #

  • Fix PSBT bug.

0.8.0 #

  • Multisig wallet support.

0.7.0 #

  • Replaced Objectbox with a File-based database.

0.6.2 #

  • Mnemonic validation added.

0.6.1 #

  • Fix validate multisig address.
  • Fixed an address return error that occurred before the initial network connection.
  • pub.dev guidelines compliance.

0.6.0+1 #

  • pub.dev guidelines compliance.

0.6.0 #

  • Initial release.
6
likes
130
points
459
downloads

Publisher

verified publishernoncelab.com

Weekly Downloads

The coconut_lib is a development tool for mobile air gap Bitcoin wallets. It is written in Dart. Coconut Vault and Coconut Wallet were created using this library.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

bech32, bech32m_i, convert, decimal, flat_buffers, hex, json_annotation, pointycastle

More

Packages that depend on coconut_lib