Skip to content

Commit

Permalink
fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoshi-Kaji committed Sep 26, 2016
1 parent 7c61a60 commit 0cd8fe9
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
いろはSwift(IrohaSwift) is client swift library for using いろは(iroha).

## Requirement
iOS 8.0+
Xcode 8.0+
Swift 3.0+
iOS 8.0+
Xcode 8.0+
Swift 3.0+

## Installation
* Clone this repository.
Expand Down Expand Up @@ -69,9 +69,6 @@ let res = IrohaSwift.domainRegister(
// ]
```

#### IrohaSwift.getDomainList
Feature Works!

#### IrohaSwift.createAsset

```swift
Expand Down Expand Up @@ -106,22 +103,24 @@ let res = IrohaSwift.assetOperation(
// ]
```

#### IrohaSwift.getAssetList
#### IrohaSwift.getDomainList

```swift
let res = IrohaSwift.getAssetList(
accessPoint: ip address or url,
domainName: domain name
)
)
//if get domain list successful
//===> Feature Works!
```

#### iroha.getAssetList
Feature Works!
```swift
let res = iroha.getAssetList({
let res = iroha.getAssetList(
accessPoint: ip address or url,
domainName: domain name
});
)
//if get asset list successful
//===> Feature Works!
```

#### IrohaSwift.getTransaction
Expand All @@ -135,6 +134,18 @@ let res = IrohaSwift.getTransaction({
//===> Feature Works!
```

#### IrohaSwift.getTransactionWithAssetName

```swift
let res = IrohaSwift.getTransaction({
accessPoint: String,
asset:String,
domain:String
)
//if get transaction successful
//===> Feature Works!
```

## Author
[luca3104](https://github.com/luca3104)

Expand Down

0 comments on commit 0cd8fe9

Please sign in to comment.