{"repo":"Sajjon/Zesame","free":true,"listed":false,"github":"https://github.com/Sajjon/Zesame","clone":"git clone https://github.com/Sajjon/Zesame.git","description":"Swift SDK for Zilliqa","language":"Swift","stars":13,"topics":["cryptocurrency","zilliqa","crypto-library","swift","sdk","wallet","rxswift"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Zesame Zesame is an unofficial Swift SDK for Zilliqa. It uses the Swift 6.1 toolchain with Swift 5 language mode. This SDK contains cryptographic methods allowing you to create and restore a wallet, sign and broadcast transactions. The cryptographic methods are implemented in K1 - which uses libsecp256k1. This SDK uses Zilliqas JSON-RPC API Getting started SPM will install all dependencies, either when run from terminal, or when Xcode gets opened. To run tests it is recommended to use optimisation flag, otherwise it takes quite a bit of time to run them: Protobuf Zesame uses the JSON-RPC API and not the protobuf API, however, for the packaging of the transaction we need to use protobuf. Please note that protocol buffers is only used for the packaging of the transaction , it is not used at all for any communication with the API. All data is sent as JSON to the JSON-RPC API. We use the apple/swift-protobuf project for protocol buffers, and it is important to note the two different programs associated with swift protobuf: Install protobuf protoc-gen-swift This program is used only for generating our swift files from our .proto files and we install this program using brew (it can also be manually downloaded and built). Follow installation instructions using brew here. After this is done we can generate .pb.swift files using SwiftProtobuf library In order to make use of our generated .pb.swift files we need to include the SwiftProtobuf library, which is installed through SPM. Use ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sajjon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sajjon/Zesame/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}