{"id":16685554,"url":"https://github.com/imryan/savvy-ios","last_synced_at":"2026-04-28T14:01:57.211Z","repository":{"id":56922045,"uuid":"171745701","full_name":"imryan/savvy-ios","owner":"imryan","description":"💱 Savvy Wallet cryptocurrency tools, formerly PayBear.","archived":false,"fork":false,"pushed_at":"2019-06-03T15:12:29.000Z","size":173,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T11:16:03.420Z","etag":null,"topics":["cryptocurrency","savvy-wallet"],"latest_commit_sha":null,"homepage":"https://savvy.io","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/imryan.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}},"created_at":"2019-02-20T20:38:57.000Z","updated_at":"2020-04-25T18:26:55.000Z","dependencies_parsed_at":"2022-08-21T04:50:14.853Z","dependency_job_id":null,"html_url":"https://github.com/imryan/savvy-ios","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2Fsavvy-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2Fsavvy-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2Fsavvy-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2Fsavvy-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imryan","download_url":"https://codeload.github.com/imryan/savvy-ios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428434,"owners_count":20289317,"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":["cryptocurrency","savvy-wallet"],"created_at":"2024-10-12T14:47:37.731Z","updated_at":"2025-12-28T14:57:39.013Z","avatar_url":"https://github.com/imryan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Savvy\n\n[![CI Status](https://img.shields.io/travis/imryan/Savvy.svg?style=flat)](https://travis-ci.org/imryan/Savvy)\n[![Version](https://img.shields.io/cocoapods/v/Savvy.svg?style=flat)](https://cocoapods.org/pods/Savvy)\n[![License](https://img.shields.io/cocoapods/l/Savvy.svg?style=flat)](https://cocoapods.org/pods/Savvy)\n[![Platform](https://img.shields.io/cocoapods/p/Savvy.svg?style=flat)](https://cocoapods.org/pods/Savvy)\n\n\n## ⚠️ IMPORTANT\n\n* Savvy has been discontinued. This repo will no longer be active or function as expected.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n![](https://i.imgur.com/ZJQGoBS.png)\n![](https://i.imgur.com/iUOr9sR.png)\n\n## Installation\n\nSavvy is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Savvy'\n```\n\n## Usage\n\n#### Set Savvy API key\n```swift\nSavvy.shared.setToken(\"your-api-key\")\n```\n\n#### Enable test network\n```swift\nSavvy.shared.shouldUseTestNet = true\n```\n\n#### Get current market prices\n```swift\nSavvy.shared.getCurrencies(completion: { (currencies, error) in\n    if let currencies = currencies, error == nil {\n        // Array of currency. Nice\n    }\n})\n```\n\n#### Get market exchange rates for all cryptocurrencies\n```swift\nSavvy.shared.getMarketRates(fiat: \"usd\") { (rates, error) in\n    if let rates = rates, error == nil {\n        // ...\n    }\n}\n```\n\n#### Get single market exchange rate for cryptocurrency\n```swift\nSavvy.shared.getSingleMarketRate(fiat: \"usd\", crypto: .btc) { (rate, error) in\n    if let rate = rate, error == nil {\n        // ...\n    }\n}\n```\n\n#### Create payment request in given cryptocurrency\n```swift\nSavvy.shared.createPaymentRequest(crypto: .btc, callbackURL: \"http://some.site/\") { (request, error) in\n    if let request = request, error == nil {\n        // ...\n    }\n}\n```\n\n#### Create payment request as QR code image\n```swift\nSavvy.shared.getPaymentRequestQR(crypto: .btc, amount: 1.0, address: \"1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX\", message: \"Free money\", size: nil) { (image) in\n    if let image = image {\n        // QR code image containing a payment request\n    }\n}\n```\n\n## Requirements\n\n* Alamofire\n* Quick/Nimble (to run tests only)\n\n## Author\n\nRyan Cohen, notryancohen@gmail.com\n\n## License\n\nSavvy is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimryan%2Fsavvy-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimryan%2Fsavvy-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimryan%2Fsavvy-ios/lists"}