Releases: yenom/BitcoinKit
Releases · yenom/BitcoinKit
Ver.1.1.0
⬆️ Swift 5.0
Now we support Swift5.0!
⭐️ New Features
♻️ Refactor
🐛 Fix bugs
- Key derivation bug #220
And more...!
- Add merkleblock and proof of work check #170 #153
- Add BlockMessage.computeMerkleRoot() #215
- Using secp256k1 library instead of openssl #218 #203
- Fix typos #179
- Modify README #180 #208 #211
✅ All Merged PRs
All PRs since v1.0.2
v1.1.0 (Release Candidate 2)
v1.1.0-rc2 v1.1.0-rc2
v1.1.0 (Release Candidate 1)
v1.1.0-rc1 v1.1.0-rc1
v1.1.0-beta5
Swift5.0
v1.1.0-beta4
Merge pull request #220 from yenom/fix-privkey-derivation-bytes 🐛 Fix Private key derivation bug
v1.1.0-beta3
- Update properties name and access modifiers of
MDKeychain
v1.1.0-beta2
- Refactor MockUnlockScriptBuilder
v1.1.0-beta1
Wallet class become super convenient class!
You can create wallet application with only 10 lines.
- Binary build is available now!
- Wallet class is super convenience
- Generating QRCode is super easy now. PrivateKey, PublicKey, Address has
.qrImage()
Easiest way of receiving and sending Bitcoin ever.
// 1. Create Private Key, Publick Key, Address
let privkey: PrivateKey = PrivateKey(network: .mainnet)
let pubkey: PublicKey = privkey.publicKey()
let address: Cashaddr = pubkey.toCashaddr()
let qrImage: UIImage? = address.qrImage(size: CGSize(width: 240, height: 240))
// 2. Create Wallet, Get balance, Refresh balance
let wallet: Wallet = Wallet(privateKey: privkey,
walletDataStore: UserDefaults.standard)
let balance = wallet.balance
wallet.reloadBalance()
// 3. Send Bitcoin
let toAddress = try! AddressFactory.create("bitcoincash:qz936smm809wq0eqthqyh2sgdzhs7v08nvnuq0dmps")
wallet.send(to: toAddress, amount: 10000)
v1.0.2
Thanks everyone involved!
- Added Multisig Script Mock!
- Added isCoinbase() in Transaction class by @federicobond
- Fix some typo by @federicobond
- Add HeadersMessage by @akifuj
- Add open collective committers and backers by @monkeywithacupcake