{"id":28003983,"url":"https://github.com/keefertaylor/base58swift","last_synced_at":"2025-05-09T02:37:04.859Z","repository":{"id":34206584,"uuid":"170581102","full_name":"keefertaylor/Base58Swift","owner":"keefertaylor","description":"A pure swift implementation of base58 string encoding and decoding","archived":false,"fork":false,"pushed_at":"2024-05-23T15:40:15.000Z","size":729,"stargazers_count":13,"open_issues_count":9,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T07:48:48.097Z","etag":null,"topics":["base58","cryptocurrency","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keefertaylor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-13T21:19:13.000Z","updated_at":"2024-11-12T07:32:25.000Z","dependencies_parsed_at":"2024-06-19T22:51:18.025Z","dependency_job_id":"b493f840-86c0-40c9-8595-412b0496214a","html_url":"https://github.com/keefertaylor/Base58Swift","commit_stats":{"total_commits":109,"total_committers":1,"mean_commits":109.0,"dds":0.0,"last_synced_commit":"1a7fe530e5198b81a1b9ddb5629b341116aa8c49"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keefertaylor%2FBase58Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keefertaylor%2FBase58Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keefertaylor%2FBase58Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keefertaylor%2FBase58Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keefertaylor","download_url":"https://codeload.github.com/keefertaylor/Base58Swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253178564,"owners_count":21866557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base58","cryptocurrency","swift"],"created_at":"2025-05-09T02:37:04.180Z","updated_at":"2025-05-09T02:37:04.843Z","avatar_url":"https://github.com/keefertaylor.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base58Swift\n\n[![Build Status](https://travis-ci.org/keefertaylor/Base58Swift.svg?branch=master)](https://travis-ci.org/keefertaylor/Base58Swift)\n[![codecov](https://codecov.io/gh/keefertaylor/Base58Swift/branch/master/graph/badge.svg)](https://codecov.io/gh/keefertaylor/Base58Swift)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Version](https://img.shields.io/cocoapods/v/Base58Swift.svg?style=flat)](http://cocoapods.org/pods/Base58Swift)\n[![License](https://img.shields.io/cocoapods/l/Base58Swift.svg?style=flat)](http://cocoapods.org/pods/Base58Swift)\n\nBase58Swift is a Swift library that implements Base58 / Base58Check encodings for cryptocurrencies. It is based off of [go-base-58](https://github.com/jbenet/go-base58) with some added functions.\n\n## Installation\n### CocoaPods\nBase58Swift supports installation via CocoaPods. You can depend on Base58Swift by adding the following to your Podfile:\n\n```\npod \"Base58Swift\"\n```\n\n### Carthage\n\nIf you use [Carthage](https://github.com/Carthage/Carthage) to manage your dependencies, simply add\nBase58Swift to your `Cartfile`:\n\n ```\ngithub \"keefertaylor/Base58Swift\"\n```\n\nIf you use Carthage to build your dependencies, make sure you have added `BigInt.framework` and `SipHash.framework`, to the \"_Linked Frameworks and Libraries_\" section of your target, and have included them in your Carthage framework copying build phase.\n\n### Swift Package Manager\n\nAdd the following to the `dependencies` section of your `Package.swift` file:\n\n```swift\n.package(url: \"https://github.com/keefertaylor/Base58Swift.git\", from: \"2.1.0\")\n```\n\n## Usage\n\nBase58Swift provides a static utility class, `Base58`, which provides encoding and decoding functions.\n\nTo encode / decode in Base58:\n```swift\nlet bytes: [UInt8] = [255, 254, 253, 252]\n\nlet encodedString = Base58.encode(bytes)!\nlet decodedBytes = Base58.decode(encodedString)!\n\nprint(encodedString) // 7YXVWT\nprint(decodedBytes)  // [255, 254, 253, 252]\n```\n\nTo encode / decode in Base58Check:\n```swift\nlet bytes: [UInt8] = [255, 254, 253, 252]\n\nlet encodedString = Base58.base58CheckEncode(bytes)!\nlet decodedBytes = Base58.base58CheckDecode(encodedString)!\n\nprint(encodedString) // jpUz5f99p1R\nprint(decodedBytes)  // [255, 254, 253, 252]\n```\n\n## Contributing\n\nPull requests are welcome.\n\nTo get set up:\n```shell\n$ brew install xcodegen # if you don't already have it\n$ xcodegen generate # Generate an XCode project from Project.yml\n$ open Base58Swift.xcodeproj\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeefertaylor%2Fbase58swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeefertaylor%2Fbase58swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeefertaylor%2Fbase58swift/lists"}