An open API service indexing awesome lists of open source software.

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 ⚡️

Awesome Lists containing this project

README

          

# SwiftBTC

[![Build Status](https://travis-ci.com/LN-Zap/SwiftBTC.svg?branch=master)](https://travis-ci.com/LN-Zap/SwiftBTC)
[![Version](https://img.shields.io/cocoapods/v/SwiftBTC.svg?style=flat)](https://cocoapods.org/pods/SwiftBTC)
[![License](https://img.shields.io/cocoapods/l/SwiftBTC.svg?style=flat)](https://cocoapods.org/pods/SwiftBTC)
[![Platform](https://img.shields.io/cocoapods/p/SwiftBTC.svg?style=flat)](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.