Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pragma.Solidity0.4.20 #1

Open
wants to merge 131 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
2bf5f43
added viewing section in qb readme
Nov 29, 2018
1ada373
updated width of screenshot
jainarisht Nov 29, 2018
5f8b083
private github step
jainarisht Nov 30, 2018
6b3fce7
blurred screenshot
Dec 5, 2018
f514adf
Refactored smartthings instructions
rafrafavi Dec 5, 2018
69e2aa1
Additional minor refactoring
rafrafavi Dec 5, 2018
197054c
Updated to PaaS
rafrafavi Dec 5, 2018
aed5d64
fixed or/both
rafrafavi Dec 5, 2018
c69ebdd
updated readme
Dec 10, 2018
e1a8ad3
google forms integration added
Dec 11, 2018
f28374a
added xooa get-set-del multi key smart contract
kavixooa Dec 12, 2018
e261084
Merge pull request #2 from Xooa/microsoft
kavixooa Dec 12, 2018
0981f8e
added salesforce smart contract
kavixooa Dec 13, 2018
31195ab
Update Xooa.yaml
kavixooa Dec 13, 2018
7377e3b
added dropbox smart contract and changes in smart contract readme files
kavixooa Dec 26, 2018
4b7f0b3
removed logs
Jan 7, 2019
2b2a2a5
added sources
Jan 14, 2019
d561397
utm_source added
Jan 16, 2019
5a2aea2
Update README.md
kavixooa Feb 1, 2019
1d48727
added ethereum smart contract
kavixooa Feb 21, 2019
f4567f4
Update README.md
sandeepxooa Feb 22, 2019
148d782
Updated Readme to define the smart contract functionalities and steps…
kavixooa Feb 22, 2019
39f7e07
merge
kavixooa Feb 22, 2019
1946816
Merge pull request #4 from Xooa/develop
sandeepxooa Feb 22, 2019
eba00b4
Sample Zip for SDLC
rajatxooa Feb 25, 2019
c287939
Folder renamed
rajatxooa Feb 25, 2019
95d3bff
Add fabric 1.2 marbles smartcontract and update the Xooa.yaml
Feb 28, 2019
c2aa958
removed QB. Added in platform
Feb 28, 2019
40399c5
Add Zapier again
Feb 28, 2019
12eebc4
xldb changes
Feb 28, 2019
7aa7129
Merge pull request #6 from Xooa/updated-samples
sandeepxooa Feb 28, 2019
728a37b
Update Xooa.yaml
sandeepxooa Feb 28, 2019
1981e19
removed smart contract
Mar 1, 2019
2620605
put->post
Mar 1, 2019
6fd4784
states->xldb
Mar 1, 2019
8b5a4e6
removed dropbox, microsoft and salesforce smart contracts
kavixooa Mar 5, 2019
669e959
Merge pull request #7 from Xooa/removedSamples
jainarisht Mar 5, 2019
d1008ff
Merge branch 'develop'
Mar 5, 2019
503e2eb
inducing bug for testing in get-set
Apr 2, 2019
541f1fb
reversing bug
Apr 2, 2019
0d26436
erc20 v1
Apr 23, 2019
507b973
erc20 added to yaml file
Apr 23, 2019
e8ff313
dir structure changed, swagger.json
Apr 23, 2019
4bfceae
removed zapier from yaml, added get-set swagger.json
Apr 23, 2019
8be580a
changes in swagger.json
Apr 24, 2019
cb32bd9
Changes
Apr 24, 2019
7383f1b
changes
Apr 24, 2019
75ff25f
upgrading handled
rajatxooa Apr 24, 2019
fc585ff
state saved
rajatxooa Apr 24, 2019
25131da
state set
rajatxooa Apr 24, 2019
3fa1832
state set
rajatxooa Apr 24, 2019
ec89616
status set
rajatxooa Apr 24, 2019
ecaa0db
status save
rajatxooa Apr 24, 2019
d5d088f
status save
rajatxooa Apr 24, 2019
91b2fba
status save
rajatxooa Apr 24, 2019
dd2075c
status save
rajatxooa Apr 24, 2019
7fb544f
Update swagger.json
jainarisht Apr 26, 2019
311f407
swagger files added and getID for erc20 #598
kavixooa May 2, 2019
3a75bd7
swagger changes
kavixooa May 2, 2019
0a7ad62
swagger changes
kavixooa May 2, 2019
deab21d
swagger changes
kavixooa May 2, 2019
4c6ffe0
swagger changes
kavixooa May 2, 2019
63e83ac
swagger
kavixooa May 2, 2019
da8225a
init args
rajatxooa May 2, 2019
e833631
Merge branch 'erc20' of https://github.com/Xooa/samples into erc20
rajatxooa May 2, 2019
dd87a4a
init args
rajatxooa May 2, 2019
47b9262
Swagger and Readme
kavixooa May 2, 2019
7b194af
Merge pull request #11 from Xooa/erc20
sandeepxooa May 2, 2019
d21815e
swagger
kavixooa May 3, 2019
c830b55
Merge pull request #12 from Xooa/swagger
sandeepxooa May 3, 2019
3d71e1d
Merge pull request #5 from Xooa/SampleZip
sandeepxooa May 3, 2019
0f38069
java added in comments
jainarisht Jun 6, 2019
2d6e11c
Merge pull request #13 from Xooa/jainarisht-patch-1
sandeepxooa Jul 26, 2019
a8f7eb1
added asyn timeout and result api
kavixooa Aug 7, 2019
8f766bd
Merge pull request #14 from Xooa/asyncflag
sandeepxooa Aug 7, 2019
3efe20c
node and java archives
rajatxooa Sep 9, 2019
2dec3d9
Merge pull request #15 from Xooa/java-nodejs-archive
sandeepxooa Sep 9, 2019
1cd959c
balance transfer for java and nodejs
rajatxooa Sep 10, 2019
27c2782
init args
rajatxooa Sep 10, 2019
3e877a3
init args
rajatxooa Sep 10, 2019
47438a3
init args
rajatxooa Sep 10, 2019
be26134
Added Truffle Smart Contract and Updated Xooa.Yaml
sagarxooa Sep 10, 2019
3b5e5f8
Merge pull request #16 from Xooa/java-nodejs-archive
sandeepxooa Sep 10, 2019
42cd740
Update readme.md
jainarisht Sep 10, 2019
b6c9bab
Added documentation of Truffle Smart Contract
sagarxooa Sep 10, 2019
75ad2c9
Merge branch 'trufflecontract' of https://github.com/Xooa/samples int…
sagarxooa Sep 10, 2019
69f0386
Update readme.md
jainarisht Sep 10, 2019
0ea9011
Merge pull request #17 from Xooa/trufflecontract
jainarisht Sep 10, 2019
fdf61df
node swagger json
rajatxooa Oct 9, 2019
9d1f924
delete state api
rajatxooa Oct 9, 2019
57bbda9
delete state api
rajatxooa Oct 9, 2019
8686614
java swagger json
rajatxooa Oct 9, 2019
3221899
balance transfer archive updated with swagger json
rajatxooa Oct 9, 2019
e912774
Merge pull request #18 from Xooa/balance-transfer-swagger
sandeepxooa Oct 9, 2019
a7ba219
Create LICENSE.txt
sandeepxooa Oct 17, 2019
198728a
Renaming file name.
ashishxooa Nov 1, 2019
ead26b0
readme
rajatxooa Nov 1, 2019
ec77252
readme and license information
rajatxooa Nov 1, 2019
973dae5
Merge pull request #19 from Xooa/XOOA-1026
sandeepxooa Nov 2, 2019
8b66b98
swagger description
rajatxooa Nov 4, 2019
929d62f
api url added
rajatxooa Nov 6, 2019
d578a43
Merge pull request #20 from Xooa/XOOA-1026
sandeepxooa Nov 11, 2019
076edfe
updated overview
Nov 11, 2019
2e06764
Update README.md
jainarisht Nov 11, 2019
3b38d1e
updated documentation
Nov 12, 2019
e16466d
Merge pull request #21 from Xooa/updated-doc
jainarisht Nov 12, 2019
5aa7902
Update README.md
jainarisht Nov 12, 2019
e89a3f2
Update README.md
jainarisht Nov 12, 2019
b9269b6
Merge pull request #22 from Xooa/updated-doc
jainarisht Nov 12, 2019
77dd1f3
updated gifs
Nov 12, 2019
49575c5
updated gifs
Nov 12, 2019
0c5ba8e
language update
Nov 13, 2019
85ba0bb
documentation updated
Nov 13, 2019
87526fb
nodejs->javascript
Nov 18, 2019
c3cc786
Bump handlebars from 4.0.12 to 4.5.3 in /truffle-supplychain/Solidity
dependabot[bot] Dec 29, 2019
18206a3
removed upload-samples
May 10, 2020
f5398b5
XPN-620
Jun 1, 2020
d723c6b
Merge pull request #24 from Xooa/swagger-api-v2
sandeepxooa Jun 1, 2020
3a9022d
Update balance-transfer.js
sandeepxooa Aug 25, 2020
b422650
Update balance-transfer.js
sandeepxooa Aug 25, 2020
7eba88b
Update balance-transfer.js
sandeepxooa Aug 25, 2020
ee299f9
Merge pull request #23 from Xooa/dependabot/npm_and_yarn/truffle-supp…
sandeepxooa Sep 4, 2020
efe6adc
updated dependencies
Sep 4, 2020
d9b27ff
updated dependencies
Sep 4, 2020
ebf343e
Merge pull request #25 from Xooa/update-dependencies
sandeepxooa Sep 4, 2020
aacd651
Bump tree-kill from 1.2.1 to 1.2.2 in /truffle-supplychain/Solidity
dependabot[bot] Sep 6, 2020
11c865c
Merge pull request #27 from Xooa/dependabot/npm_and_yarn/truffle-supp…
jainarisht Sep 7, 2020
8bddc0a
added FunctionAndArgsDefinitions for balance transfer
Oct 17, 2020
8971ded
typo fix
Oct 17, 2020
2770e28
added vendor
Oct 22, 2020
970aac7
Merge pull request #28 from Xooa/2_2
sandeepxooa Oct 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_STORE
.DS_STORE
node_modules
201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
53 changes: 23 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,46 @@

This page provides a step-by-step tutorial to deploy a sample app with Xooa's blockchain-as-a-service (BaaS).
This page provides a step-by-step tutorial to deploy a sample app with Xooa's blockchain platform-as-a-service (PaaS).

**Project documentation:** <https://docs.xooa.com>

# Overview

This repository contains a blockchain smart contract, also known as chaincode. Use the Xooa console to deploy it.
This repository contains blockchain smart contracts, also known as chaincodes. Use the Xooa console to deploy it.

Xooa provides a permanent cloud end-point for the smart contract, enabling cloud-to-cloud integration, while retaining blockchain's peer-to-peer capabilities.
Xooa provides a permanent cloud end-point for the smart contracts, enabling cloud-to-cloud integration, while retaining blockchain's peer-to-peer capabilities.

|Directory |Description |
|----------------|-------------------------------|
|[balance-transfer-java](https://github.com/Xooa/samples/tree/master/balance-transfer-java)|Sample smart contract runs on `Hyperledger Fabric` and is written in `Java`. Provides `Invoke`, `query` and `delete` functions. Originally created by IBM and forked from [here](https://github.com/hyperledger/fabric-samples).
|[balance-transfer-node](https://github.com/Xooa/samples/tree/master/balance-transfer-node) |Sample smart contract runs on `Hyperledger Fabric` and is written in `JavaScript`. Provides `Invoke`, `query` and `delete` functions. Originally created by IBM and forked from [here](https://github.com/hyperledger/fabric-samples).
|[ethereum](https://github.com/Xooa/samples/tree/master/ethereum) |Sample smart contract runs on `Ethereum` and is written in `Solidity`. Provides `Get` and `Set` functions.
|[get-set](https://github.com/Xooa/samples/tree/master/get-set) |Sample smart contract runs on `Hyperledger Fabric` and is written in `GoLang`. Provides `Get`, `Set` and `GetVersion` methods. Originally created by IBM and forked from [here](https://hyperledger-fabric.readthedocs.io/en/release-1.2/chaincode4ade.html#pulling-it-all-together).
|[marbles](https://github.com/Xooa/samples/tree/master/marbles) |Sample smart contract runs on `Hyperledger Fabric` and is written in `GoLang`. Provides 9 functions to interact with marbles app. Originally created by IBM and forked from [here](https://github.com/IBM-Blockchain-Archive/marbles).
|[smartthings](https://github.com/Xooa/samples/tree/master/smartthings) |Sample Groovy files to deploy on smartThings platform. Integrate blockchain to smartThings.
|[truffle-supplychain](https://github.com/Xooa/samples/tree/master/truffle-supplychain) |Sample smart contract runs on `Ethereum` and is written in `Solidity` using `Truffle framework`. Provides 5 functions to interact with supply chain app.

## Deploy the smart contract


1. Log in to the Xooa blockchain console at https://xooa.com/blockchain.
2. Go to **Apps**>**Deploy New**. If you didn't log in with your GitHub account, you will need to do it now.
3. Find the Github repository with the smart contract you want to deploy. For example, use **Xooa/samples** to deploy one of the sample provided by Xooa. Tap **Select**, and then **Next**.
1. Log in to the Xooa blockchain console at [https://xooa.com/blockchain](https://xooa.com/blockchain?utm_source=samplesRepo).
2. Go to [**Apps**>**Deploy New**](https://xooa.com/blockchain/new-app).
3. Select the method to deploy smart contract from. For example, use **Xooa Github** to deploy one of the samples provided by Xooa. Tap **Next**.
> For accesing **Private Git Repos**, click or tap **Authorize Private Github Access**.

<img src="https://github.com/Xooa/samples/blob/master/images/deploy.png" alt="deploy" width="500px"/>
<p align="center"><img src="https://github.com/Xooa/samples/blob/master/images/deploy1.gif" alt="deploy" width="700px"/></p>

4. Select the Smart Contract you want to deploy, and then click **Deploy**.

5. Relax: Xooa is doing the blockchain heavy lifting. You will be redirected to app dashboard when the deployment completes.

<p align="center"><img src="https://github.com/Xooa/samples/blob/master/images/identity1.gif" alt="identity creation" width="700px"/></p>

6. Navigate to **Identities** tab, click or tap **Add New**, enter name for Identity and set permissions to Read+Write.

7. Copy and store the **API Token** value. You need it to authorize API requests. API Token cannot be dispalyed after you closed the window, but it may get regenerated.

___

> **Note:** Xooa.yaml is an optional configuration file used by Xooa platform to configure smart contracts. This file should be in the root directory of the Repo, if being used. This file tells Xooa the programming language, blockchain implementation, and path of the smart contract.

## The Xooa app dashboard

The dashboard consists of the following tabs:
<dl>
<dt>Details</dt>
<dd>Information about your app.</dd>
<dt>Identities</dt>
<dd>Create or delete an identity. You can also specify access rights to different identities, thus controlling the access of endpoints for your smart contract</dd>
<dt>Activities</dt>
<dd>History of your app's activities.</dd>
<dt>Logs</dt>
<dd>View smart contract events from the last 10 minutes.</dd>
<dt>Manage</dt>
<dd>Delete your app or update from github.</dd>
</dl>
___

## Explore the end-points for the smart Contract
Expand All @@ -54,7 +51,7 @@ ___

3. Go to the **Smart Contract > Invoke Smart Contract Function** from the navigation pane.

<img src="https://github.com/Xooa/samples/blob/master/images/invoke.png" alt="Invoke" width="300px"/>
<p align="center"><img src="https://github.com/Xooa/samples/blob/master/images/invoke1.gif" alt="Invoke" width="700px"/></p>

4. In the **fcn** field, enter the Smart Contract function name you wish to Invoke.
For example, if using this repo **get-set** smart contract to store data in blockchain `set` should be entred as the **fcn** field value
Expand All @@ -65,12 +62,8 @@ For example, if using this repo **get-set** smart contract to store data in bloc
`[ "<key>", "<value>" ]`

6. Click or tap **try**.
* A response code of **200** indicates successful function call of the smart contract.
* A response code of **202** indicates that your request is queued for processing. Final processing outcome may be obtained through **Result** end point by using **resultId** obtained in **response body**.
* A response code of **400** indicates that you have a malformed request. Check the **body** and **fcn** fields.
* A response code of **401** indicates that either you forgot to enter API Token you have entered invalid API token. While you cannot recover lost API Token you can always generate a new one from Xooa console - app dashboard - **Identities** tab - **actions**

7. To view your transaction ain the blockchain Ledger, from your Xooa dashboard, go to **Ledger**.
7. To view your transaction in the blockchain Ledger, from your Xooa dashboard, go to **Ledger**.

8. Go to the **Transactions** tab.
You can expand the data field to see your transactions.
Loading