Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.53 KB

EthereumKit

EthereumKit is a Swift framework that enables you to create Ethereum wallet and use it in your app.

Features

  • Mnemonic recovery phrease in BIP39
  • BIP32/BIP44 HD wallet
  • EIP55 format address encoding
  • EIP155 replay attack protection
  • Sign transaction

How to Use

Wallet

// BIP39: Generate seed and mnemonic sentence.
let mnemonic = Mnemonic.create()
let seed = Mnemonic.createSeed(mnemonic: mnemonic)

// BIP32: Key derivation and address generation
let wallet = Wallet(seed: seed, network: .main)
let address = wallet.generateAddress(at: 0)

Documentations

Requirements

  • Swift 4.0 or later
  • iOS 10.0 or later

Installation

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

Made possible by

License

EthereumKit is released under the MIT License.