Swiftpack.co - Package - pengpengliu/EthereumKit

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

pengpengliu/EthereumKit

A collection of utility functions for Ethereum

EthereumKit

Install

SwiftPM

https://github.com/pengpengliu/EthereumKit.git

Usage

import EthereumKit

// let compressedPubkey = [0x02] + [UInt8](https://raw.github.com/pengpengliu/EthereumKit/main/repeating: 0, count: 32)
let uncompressedPubkey = [UInt8](https://raw.github.com/pengpengliu/EthereumKit/main/repeating: 0, count: 64)
let address = try! Address(uncompressedPubkey)
let checksummedWith0x = address.description 

Github

link
Stars: 0
Last commit: 1 week ago

Dependencies

Releases

- 2021-01-13T07:42:04