Swiftpack.co - Package - yeeth/Hobbits.swift

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

Github

link
Stars: 2
Help us keep the lights on

Dependencies

Used By

Total:

Releases

v1.0.0 - Mar 16, 2019

Initial Release, includes:

  • Request object with parsing
  • Response object with serialization