Skip to content
Hierarchical Deterministic(HD) wallet for cryptocurrencies πŸ’°
Branch: master
Clone or download
yuzushioh Merge pull request #13 from yuzushioh/fix/extended
update carthage build and readme
Latest commit d5566cf Mar 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Carthage/Build update carthage build and readme Mar 10, 2018
Example
HDWalletKit.xcodeproj update carthage build and readme Mar 10, 2018
HDWalletKit fix bugs in extened method Mar 10, 2018
HDWalletKitTests update readme Mar 10, 2018
Libraries/secp256k1
script
.gitignore update gitignore Mar 10, 2018
Cartfile delete bigint Jan 24, 2018
Cartfile.resolved refactor and clean up the directory. change project name Mar 10, 2018
LICENSE Initial commit Jan 1, 2018
README.md update carthage build and readme Mar 10, 2018

README.md

HDWalletKit

WalletKit is a Swift framwork that enables you to create and use HD wallet(Hierarchical Deterministic Wallets) in your app.

let mnemonic = Mnemonic.create()
// nuclear you cage screen tribe trick limb smart dad voice nut jealous

let seed = Mnemonic.createSeed(mnemonic: mnemonic)
let wallet = HDWallet(seed: seed, network: .main(.bitcoin))

do {
    let privateKey = try wallet.generateExternalPrivateKey(at: 0)
    let publicKey = privateKey.hdPublicKey()
    
} catch let error {
    print("Error: \(error)")
}

Features

Requirements

  • Swift 4.0 or later
  • iOS 8.0 or later

Installation

Carthage

  • Insert github "yuzushioh/HDWalletKit" to your Cartfile.
  • Run carthage update --platform ios.

License

WalletKit is released under the MIT License.

You can’t perform that action at this time.