{"repo":"Outblock/flow-swift","free":true,"listed":false,"github":"https://github.com/Outblock/flow-swift","clone":"git clone https://github.com/Outblock/flow-swift.git","description":"The tool to build application in Flow mobile realm 🌊","language":"Swift","stars":13,"topics":["blockchain","flow","sdk","flow-sdk","flow-blockchain"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"View on GitHub » SDK Specifications · Contribute · Report a Bug Overview This reference documents all the methods available in the SDK, and explains in detail how these methods work. SDKs are open source, and you can use them according to the licence. The library client specifications can be found here: https://outblock.github.io/flow-swift/ Getting Started Installing This is a Swift Package, and can be installed via Xcode with the URL of this repository: Config The library uses gRPC to communicate with the access nodes and it must be configured with correct access node API URL. 📖 Access API URLs can be found here. An error will be returned if the host is unreachable. The Access Nodes APIs hosted by DapperLabs are accessible at: - Testnet access.devnet.nodes.onflow.org:9000 - Mainnet access.mainnet.nodes.onflow.org:9000 - Local Emulator 127.0.0.1:3569 To config the SDK, you just need to provider the chainID for it. The default chainID is Mainnet . For example, if you want to use testnet, you can config the chainID like this: Moreover, if you want to use a custom gRPC endpoint for the access API, here is the way to do it: (Optional) GRPC Acces Node If you want to use g-RPC access client better than HTTP client, please import this repo instead: flow-swift-gRPC Here is the example how you initialize it: Querying the Flow Network After you have established a connection with an access node, you can query the Flow network to retrieve data about blocks, accounts, events and transac","default_branch":null,"files":null,"tree":[],"storefront":"/r/Outblock","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Outblock/flow-swift/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."}