https://github.com/ln-zap/swiftbtc
Zap Wallet - do bitcoin stuff with swift ⚡️
https://github.com/ln-zap/swiftbtc
zapwallet
Last synced: about 1 year ago
JSON representation
Zap Wallet - do bitcoin stuff with swift ⚡️
- Host: GitHub
- URL: https://github.com/ln-zap/swiftbtc
- Owner: LN-Zap
- License: mit
- Created: 2018-10-16T14:44:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T17:01:00.000Z (over 3 years ago)
- Last Synced: 2025-02-10T20:18:19.991Z (over 1 year ago)
- Topics: zapwallet
- Language: Swift
- Homepage:
- Size: 171 KB
- Stars: 18
- Watchers: 8
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftBTC
[](https://travis-ci.com/LN-Zap/SwiftBTC)
[](https://cocoapods.org/pods/SwiftBTC)
[](https://cocoapods.org/pods/SwiftBTC)
[](https://cocoapods.org/pods/SwiftBTC)
SwiftBTC provides bitcoin-specific convenience functions and types.
**Including**
- [x] [Base58 encoding](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/Base58.swift)
- [x] [Bech32 encoding](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/Bech32.swift)
- [x] [Bech32 addresses](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/Bech32Address.swift)
- [x] [Bip21 - URI Scheme](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/BitcoinURI.swift)
- [x] [Bip39 - Mnemonic code](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/Bip39.swift)
- [x] [Bitcoin unit data type](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/BitcoinUnit.swift)
- [x] [Fiat currency type](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/FiatCurrency.swift)
- [x] [p2pkh & p2sh addresses](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/BitcoinAddress.swift)
- [x] [Satoshi data type](https://github.com/LN-Zap/SwiftBTC/blob/master/SwiftBTC/Classes/Satoshi.swift)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
SwiftBTC is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'SwiftBTC'
```
## Author
Otto Suess, ottosuess@protonmail.com
## License
SwiftBTC is available under the MIT license. See the LICENSE file for more info.