Latest 3.2.0
Homepage https://github.com/hyperledger/iroha-ios
License MIT
Platforms ios 9.0, requires ARC
Dependencies IrohaCrypto, gRPC-ProtoRPC, Protobuf, BoringSSL, nanopb
Authors

Hyperledger Iroha iOS library

Please pay attention! Current version of the library was tested and compatible with Iroha 1.0.0-rc2.

The library was created to provide convienent interface for iOS applications to communicate with Iroha blockchain including sending transactions/query, streaming transaction statuses and block commits.

Example

For new iroha users we recommend to checkout iOS example project. It tries to establish connection with Iroha peer which should be also run locally on your computer to create new account and send some asset quantity to it. To run the project, please, go through steps below:

  1. Follow instructions from Iroha documentation to setup and run iroha peer in Docker container.

  2. Clone current repository.

  3. cd Example directory and run pod install.

  4. Open IrohaCommunication.xcworkspace in XCode

  5. Build and Run IrohaExample target.

  6. Consider logs to see if the scenario completed successfully.

Feel free to experiment with example project and don’t hesistate to ask any questions.

Need Help?

Cocoapods Installation

Iroha iOS library is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'IrohaCommunication'

Author

Ruslan Rezin, [email protected]
Andrei Marin, [email protected]

License

Copyright 2018 Soramitsu Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Latest podspec

{
    "name": "IrohaCommunication",
    "version": "3.2.0",
    "summary": "Helper classes to use for communication with Iroha blockchain.",
    "homepage": "https://github.com/hyperledger/iroha-ios",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Russel": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hyperledger/iroha-ios.git",
        "tag": "3.2.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": "IrohaCommunication/Classes/**/*",
    "source_files": [
        "IrohaCommunication/Classes/**/*",
        "ProtoGen/*.{h,m}"
    ],
    "public_header_files": "IrohaCommunication/Classes/Public/**/*.h",
    "private_header_files": [
        "IrohaCommunication/Classes/Private/**/*.h",
        "ProtoGen/*.h"
    ],
    "preserve_paths": "ProtoGen/*.{h,m}",
    "dependencies": {
        "IrohaCrypto": [],
        "gRPC-ProtoRPC": [
            "= 1.11.0"
        ],
        "Protobuf": [
            "~> 3.5.0"
        ],
        "BoringSSL": [
            "= 10.0.3"
        ],
        "nanopb": [
            "= 0.3.8"
        ]
    },
    "pod_target_xcconfig": {
        "GCC_PREPROCESSOR_DEFINITIONS": "GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1"
    },
    "testspecs": [
        {
            "name": "Tests",
            "test_type": "unit",
            "source_files": [
                "Tests/**/*.{h,m}",
                "ProtoGen/*.{h,m}"
            ]
        }
    ]
}

Pin It on Pinterest

Share This