{"id":1914,"url":"https://github.com/sleepdefic1t/ARKKit","last_synced_at":"2025-08-02T05:32:57.669Z","repository":{"id":129350938,"uuid":"97898018","full_name":"sleepdefic1t/ARKKit","owner":"sleepdefic1t","description":"iOS/macOS Cross-platform Ark-Ecosystem Framework in Swift | Powered by Ѧrk.io |","archived":true,"fork":false,"pushed_at":"2017-11-26T15:21:16.000Z","size":162,"stargazers_count":19,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-06T09:34:51.115Z","etag":null,"topics":["ark","blockchain","cryptocurrency","developer-tools","integrations","ios","macos","swift","wrapper-api"],"latest_commit_sha":null,"homepage":"https://sleepdefic1t.github.io/ARKKit/","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/sleepdefic1t.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}},"created_at":"2017-07-21T02:36:46.000Z","updated_at":"2023-03-03T10:39:50.000Z","dependencies_parsed_at":"2023-03-12T20:45:43.214Z","dependency_job_id":null,"html_url":"https://github.com/sleepdefic1t/ARKKit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sleepdefic1t/ARKKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepdefic1t%2FARKKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepdefic1t%2FARKKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepdefic1t%2FARKKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepdefic1t%2FARKKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sleepdefic1t","download_url":"https://codeload.github.com/sleepdefic1t/ARKKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepdefic1t%2FARKKit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339403,"owners_count":24234544,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ark","blockchain","cryptocurrency","developer-tools","integrations","ios","macos","swift","wrapper-api"],"created_at":"2024-01-05T20:15:58.878Z","updated_at":"2025-08-02T05:32:57.326Z","avatar_url":"https://github.com/sleepdefic1t.png","language":"Swift","funding_links":[],"categories":["SDK","Libraries"],"sub_categories":["Unofficial","Other free courses"],"readme":"# \u003cimg src=\"https://github.com/sleepdefic1t/ARKKit/blob/master/ARKKit-Banner.png\" alt=\"ARKKit\" style=\"width=65%;\"\u003e\na  macOS  \u0026  iOS  Swift  Framework  for  [Ark.io](https://ark.io).\n\n[![ARKKit Version](https://img.shields.io/badge/ARKKit-0.1.0-orange.svg?style=flat)](https://sleepdefic1t.github.io/ARKKit/) \n[![BUILD](https://img.shields.io/badge/build-passing-brightgreen.svg?style=flat)](https://github.com/sleepdefic1t) \n[![License: MIT](https://img.shields.io/badge/license-MIT-BE90D4.svg?style=flat)](http://creativecommons.org/licenses/by-sa/4.0/) \n\n[![Swift Version](https://img.shields.io/badge/swift-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/) \n![Platform](https://img.shields.io/badge/iOS-\u003e=11-52B3D9.svg?style=flat) \n![Platform](https://img.shields.io/badge/macOS-\u003e=10.12.0-52B3D9.svg?style=flat) \n[![Xcode Version](https://img.shields.io/badge/xcode-9.0b5-52B3D9.svg?style=flat)](https://developer.apple.com/xcode/)  \n\n \n\n![Platform](https://img.shields.io/badge/iOS-85%25-green.svg?style=flat) \n![Platform](https://img.shields.io/badge/macOS:-85%25-green.svg?style=flat) \n![Platform](https://img.shields.io/badge/Total%20Complete-85%25-green.svg?style=flat)  \n\n# What is ARKKit?\n  ARKKit is wrapper for interacting with the [***Ark Ecosystem***](https://ark.io).  \n  It is written purely in Swift 4.0, using no external dependencies or libraries.  \n  This allows for a quick, easy, and dependecy-free integration into your Computer, Server, or iDevice project!\n\n## Articles\n\n- [**\"ARK-SWIFT Interface — For Easy iOS Integration With The ARK Blockchain\"**](https://blog.ark.io/ark-swift-interface-for-easy-ios-integration-with-the-ark-blockchain-ae96bceda3fc) || [**Steemit**](https://steemit.com/ios/@arkecosystem/ark-swift-interface-for-easy-ios-integration-with-the-ark-blockchain) (travis w.)  \n\n- [**1st Place: \"August 2017: GitHub Development Winners\"**](https://blog.ark.io/august-2017-github-development-winners-cdcc151aca58) (rok c.)\n \n\n# Todo:\n- [ ] Implement URLSession\n- [ ] Signature/Cryptographic Integration\n- [ ] Transaction Creation \u0026 Signing\n- [ ] Voting\n- [ ] Delegate Registration\n- [ ] Restructure API\n- [ ] Your suggestions!\n\n\n# Usage\n\nsamples:  \n\nCheck an account on mainnet or devnet:\n```swift\n  let devAccount = ARK.dev.account(from: \"DHQ4Fjsyiop3qBR4otAjAu6cBHkgRELqGA\")  \n  let mainAccount = ARK.main.account(from: \"AZreeHxX23s4jttL3ML8n6A2aLrwHPfVGZ\")  \n```\nreturning:\n```\nAccount(username: nil,\n        address: DHQ4Fjsyiop3qBR4otAjAu6cBHkgRELqGA,\n        balance: 1901565824885,\n        unconfirmedBalance: 1901565824885,\n        publicKey: 0275776018638e5c40f1b922901e96cac2caa734585ef302b4a2801ee9a338a456,\n        unconfirmedSignature: nil,\n        secondSignature: nil,\n        secondPublicKey: Optional(\"03ad2a481719c80571061f0c941d57e91c928700d8dd132726edfc0bf9c4cb2869\"),\n        multisignatures: Optional([]), unconfirmedMultisignatures: Optional([])) \n```\n##\n\nSee all of the blocks on mainnet or devnet:\n```swift\n  let allDevBlocks = ARK.dev.allBlocks()  \n  let allMainBlocks = ARK.main.allBlocks()  \n```\nreturning:\n```\nallBlocks = [\n    Block(id: 711675773079271579,\n          version: 0, timestamp: 13737984,\n          height: 1015588,\n          previousBlock: 11596800618568825334,\n          numberOfTransactions: 0,\n          totalAmount: 0,\n          totalFee: 0,\n          reward: 200000000,\n          payloadLength: 0,\n          payloadHash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,\n          generatorPublicKey: 03bd4f16e39aaba5cba6a87b7498b08ce540f279be367e68ae96fb05dfabe203ad,\n          generatorId: DBi2HdDY8TqMCD2aFLVomEF92gzeDmEHmR,\n          blockSignature: 3045022100a9e3381e506daa6f050f2ebdb0de584a3f7f9a7b7caba03ff2874d086e8911250220146719ba882ebd9847857a8b681b932616f1544008cc0a02e48613fd75df256d,\n          confirmations: 1,\n          totalForged: 200000000),\n    Block(id: 11596800618568825334,\n          version: 0,\n          timestamp: 13737976,\n          height: 1015587,\n          previousBlock: 16455111908480150750,\n          numberOfTransactions: 0,\n          totalAmount: 0,\n          totalFee: 0,\n          reward: 200000000,\n          payloadLength: 0,\n          payloadHash: ............\n```\n\nor check the current block-height of a given network:\n```swift\n  let currentBlockHeight = Block.height(on: .dev)   /* returned \"1015611\" */\n```\n\n##\n\nCross-convert price values between standard(human-readable), and ѦRK:\n```swift\n  let standardPrice = Price.arkAmount(550000000).toStandard   /* returns \"5.5\" */\n  let arkPrice = Price.amount(5.5).toArk  /* returns \"550000000\" */\n```\n\n##\n\nCheck the status of a Node/Peer:\n```swift\n  let statusOfPeer = ARK.dev.statusOfPeerWith(ip: \"35.188.148.247\")  \n```\nreturns:\n```\n  statusOfIP = Peer(ip: 35.188.148.247,\n                    port: 4002,\n                    version: 1.1.0,\n                    os: linux4.10.0-32-generic,\n                    height: 1015589,\n                    status: OK,\n                    delay: 263) \n```\n\n##\n\nCheck for network Peers/Seeds:\n```swift\n  let allNetworkSeeds = ARK.dev.allSeeds()  \n```\nreturning:\n```\n peers = [\n      \"167.114.29.51\",\n      \"167.114.29.52\",\n      \"167.114.29.53\",\n      \"35.188.148.247\",\n      .................\n      ] \n```\n\n##\n\nGet all of the transaction on a given network:\n```swift      \n  let allTransactions = ARK.dev.allTransactions()  \n```\nreturning:\n```\nallTransactions = [\n    Transaction(id: e40ce11cab82736da1cc91191716f3c1f446ca7b6a9f4f93b7120ef105ba06e8,\n                blockID: 13149578060728881902,\n                type: 0,\n                timestamp: 0,\n                amount: 12500000000000000,\n                fee: 0,\n                senderID: DUFeXjJmYt1mWY3auywA1EQSqfCv5kYYfP,\n                recipientID: DGihocTkwDygiFvmg6aG8jThYTic47GzU9,\n                senderPublicKey: Optional(\"03cb7bca143376721d0e9e3f3ccb0dc2e7e8470c06e630c3cef73f03e309b558ad\"),\n                signature: 3044022016ecdf3039e69514c7d75861b22fc076496b61c07a1fcf793dc4f5c76fa0532b0220579c4c0c9d13720f9db5d9df29ed8ceab0adc266c6c160d612d4894dc5867eb1,\n                asset: Optional(ARKKit_macOSTests.TransactionAsset.Delegate(username: nil, publicKey: nil)),\n                vendorField: nil,\n                confirmations: 1015646),\n    Transaction(id: eb0146ac79afc228f0474a5ae1c4771970ae7880450b998c401029f522cd8a21,]\n                blockID: 13149578060728881902,\n                type: 2,\n                timestamp: 0,\n                amount: 0,\n                fee: 0,\n                senderID: DNL81CT6WNG1PHjobBmLvKwLV3UUscBymB,\n                recipientID: nil,\n                senderPublicKey: Optional(\"03e5b39a83e6c7c952c5908089d4524bb8dda93acc2b2b953247e43dc4fe9aa3d1\"),\n                signature: 3045022100e3e38811778023e6f17fefd447f179d45ab92c398c7cfb1e34e2f6e1b167c95a022070c36439ecec0fc3c43850070f29515910435d389e059579878d61b5ff2ea337,\n                asset: Optional(ARKKit_macOSTests.TransactionAsset.Delegate(username: genesis_1,\n                                                                            publicKey: 03e5b39a83e6c7c952c5908089d4524bb8dda93acc2b2b953247e43dc4fe9aa3d1)),\n                vendorField: nil,\n                confirmations: 1015646),\n    .......................\n    ]\n```\n\nor get the total number of transactions on a given network:\n```swift\n  let totalTransactions = ARK.main.totalNumberOfTransactions()  /* returned \"137761\" */\n```  \n  \n\n\n# Recommended Resources\n\n## More Ѧrk Developer-Language Integrations:  \n\n- **Go**  \n    - [**ark-go**](https://github.com/ArkEcosystem/ark-go): https://github.com/ArkEcosystem/ark-go  \n- **Java**\n    - [**ark-java**](https://github.com/ArkEcosystem/ark-java): https://github.com/ArkEcosystem/ark-java  \n- **JavaScript**\n    - [**ark-js**](https://github.com/ArkEcosystem/ark-js): https://github.com/ArkEcosystem/ark-js  \n- **Laravel**\n    - [**Laravel-Ark**](https://github.com/faustbrian/Laravel-Ark): https://github.com/faustbrian/Laravel-Ark  \n- **.Net**\n    - [**ark-net**](https://github.com/ArkEcosystem/ark-net): https://github.com/ArkEcosystem/ark-net  \n- **PHP**\n    - [**Ark-PHP-Client**](https://github.com/faustbrian/Ark-PHP-Client): https://github.com/faustbrian/Ark-PHP-Client  \n- **Python**\n    - [**Arky**](https://github.com/ArkEcosystem/arky): https://github.com/ArkEcosystem/arky  \n- **Ruby**\n    - [**Ark-Ruby**](https://github.com/faustbrian/Ark-Ruby): https://github.com/faustbrian/Ark-Ruby  \n- **TypeScript**\n    - [**ark-ts**](https://github.com/ArkEcosystem/ark-ts): https://github.com/ArkEcosystem/ark-ts  \n\n\n#### Tip Jar\n``ѦRK [Ѧ]:`` ```AZreeHxX23s4jttL3ML8n6A2aLrwHPfVGZ``` \n\n``DѦRK [DѦ]:`` ```DHQ4Fjsyiop3qBR4otAjAu6cBHkgRELqGA``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleepdefic1t%2FARKKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleepdefic1t%2FARKKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleepdefic1t%2FARKKit/lists"}