Skip to content

Ethereum Wire Protocol 0.1 Proposal written in Swift

License

Notifications You must be signed in to change notification settings

yeeth/Hobbits.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hobbits.swift

Build Status License

Ethereum Wire Protocol 0.1 Proposal written in Swift, based on the Whiteblock proposal.

Getting Started

This library is built with the consideration of keeping it easy to include in your projects.

Import

The Hobbits.swift package can be easily imported into your project using the swift package manager.

dependencies: [
    .package(url: "https://github.com/yeeth/Hobbits.swift.git", from: "1.0.0"),
],
targets: [
    .target(name: "MyTarget", dependencies: ["Hobbits"]),
]

Usage

import Hobbits

// Deserialize a request string
let request = try Message(serializedData: "EWP 0.2 RPC none text 0 5\n12345")

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details