Skip to content

Ethereum and ETH2 (BLS) keystore creation / private key extraction for Swift

License

Notifications You must be signed in to change notification settings

Boilertalk/Keystore.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Status Telegram

⚗️ Keystore

Keystore.swift makes it easy to extract private keys from Ethereum keystore files and generate keystore files from existing private keys.
This library belongs to our Swift Crypto suite. For a pure Swift Ethereum Web3 library check out Web3.swift!

This library also supports EIP 2335 (BLS/ETH2) keystores.

Example

Check the usage below or look through the repositories tests.

Installation

We only support Swift Package Manager. Everything else is outdated.

Swift Package Manager

Keystore is compatible with Swift Package Manager v5 (Swift 5 and above). Simply add it to the dependencies in your Package.swift.

dependencies: [
    .package(url: "https://github.com/Boilertalk/Keystore.swift.git", from: "0.3.0")
]

And then add it to your target dependencies:

targets: [
    .target