Go to file
Shun Usami 74bd7642df
Merge pull request #236 from yenom/update-documents
📝 Update README.md and CHANGELOG.md
2019-09-29 21:02:07 +09:00
.github Update --feature-request.md 2019-09-19 16:52:16 +09:00
BitcoinKit 🚀 Increment version to 1.1.0 2019-09-21 23:45:57 +09:00
BitcoinKit.playground ♻️ Remove Wallet from workspace, Rename and move BitcoinKit.playground 2018-08-20 12:23:26 +09:00
BitcoinKit.xcodeproj 🚀 Increment version to 1.1.0 2019-09-21 23:45:57 +09:00
BitcoinKit.xcworkspace Add IDETemplateMacros.plist to workspace 2019-09-19 16:06:59 +09:00
Examples Add BitcoinKit to examples 2018-09-06 10:58:24 +09:00
Libraries Use explicit module map 2018-02-11 03:19:21 +09:00
Sources 🐛 Fix HDWallet initializer to enable overriding HDWallet 2019-09-22 03:04:04 +09:00
TestResources 🐛 Fix getting url for raw block files on linux 2019-09-12 01:44:14 +09:00
Tests 📖 Add documentation for Base58Check and Bech32 2019-09-21 18:00:52 +09:00
WalletExample ♻️ Refactor Address 2019-09-21 12:27:00 +09:00
scripts Measure code coverage 2018-02-06 21:17:58 +09:00
setup Refactor 2018-02-11 04:44:29 +09:00
.codecov.yml 📝 Ignore WordList files 2019-09-19 17:06:44 +09:00
.gitignore :pencils: Add Package.resolved to .gitignore 2018-09-22 17:48:33 +09:00
.swiftlint.yml Add isStandardOpReturnScript, retrieveOpReturnData to Script 2018-10-05 14:55:43 +09:00
.travis.yml 📝 Update travis.yml to xcode10.3 2019-09-13 17:16:26 +09:00
BitcoinKit.podspec 🚀 Update posepc version to 1.1.0 2019-09-29 19:29:31 +09:00
CHANGELOG.md 📝 Update README.md and CHANGELOG.md 2019-09-29 20:53:43 +09:00
CONTRIBUTING.md 🔥 Remove unnecessary title 2018-08-21 00:55:16 +09:00
LICENSE ♻️ Rename more text to be BitcoinKit 2018-08-16 09:26:52 +09:00
Package.resolved 🐛 Fix getting url for raw block files on linux 2019-09-12 01:44:14 +09:00
Package.swift ♻️ Update to Swift5 2019-09-13 16:52:55 +09:00
README.md 📝 Update README.md and CHANGELOG.md 2019-09-29 20:53:43 +09:00

README.md

BitcoinKit: Let’s Play with Bitcoin in Swift! TravisCI Swift 5.0+ Carthage Swift Package Manager CococaPods

Welcome to BitcoinKit

The BitcoinKit library is a Swift implementation of the Bitcoin protocol which support both BCH and BTC. Improving the mobile ecosystem for Bitcoin developers is our mission.

BitcoinKit allows maintaining a wallet, sending or receiving transactions without a full blockchain node. Following is a wallet app that demonstrates the way to use it.

Release notes are here.

 

Features

  • Encoding/decoding addresses: base58, Cashaddr, P2PKH, P2SH, WIF format.
  • Transaction building blocks: inputs, outputs, scripts.
  • EC keys and signatures.
  • BIP32, BIP44 hierarchical deterministic wallets.
  • BIP39 implementation.
  • SPV features are under construction. The following functions cannot work well sometimes.
    • Send/receive transactions.
    • See current balance in a wallet.

Requirements

  • iOS 9.0+ / Mac OS X 10.11+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 10.0+
  • Swift 5.0+

Installation

CocoaPods

$ gem install cocoapods

CocoaPods 1.5.0+ is required to build BitcoinKit.

To integrate BitcoinKit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'BitcoinKit', '~> 1.1.0'
end

Then, run the following command:

$ pod install

Carthage

Add this to Cartfile

github "yenom/BitcoinKit" ~> 1.1.0

Run carthage update to build the framework and drag the built BitcoinKit.framework into your Xcode project.

Swift Package Manager

Simply add the following lines to dependencies of your Package.swift:

.package(url: "https://github.com/yenom/BitcoinKit.git", .upToNextMinor(from: "1.1.0"))

Note that following data types and features are currently not supported on Linux platform.

  • Peer and PeerGroup
  • SQLite based BlockStore

Contribute

Contributions to BitcoinKit are welcome and encouraged! Feel free to open issues, drop us pull requests.

Authors & Maintainers

About

BitcoinKit is maintained and funded by Yenom. Visit our website or say hi on twitter (@Yenom_wallet_en)

License

BitcoinKit is available under the MIT license. See the LICENSE file for more info.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]