Swiftpack.co - yeeth/Hobbits.swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yeeth.
yeeth/Hobbits.swift v1.0.0
Ethereum Wire Protocol 0.1 Proposal written in Swift
⭐️ 2
🕓 4 years ago
.package(url: "https://github.com/yeeth/Hobbits.swift.git", from: "v1.0.0")

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
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.0.0
5 years ago

Initial Release, includes:

  • Request object with parsing
  • Response object with serialization

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics