Create smart contract
Instructions on how to create a hyperledger smart contract into TCI (TIBCO Cloud Integration)
Before anything download the fabric_hw.json model example.
- Inside your Develop Flogo environment on TCI select “Create” button to create a new app.
- Enter “fabric_hw” and select “create”.
- Select “create a TIBCO Flogo App” option.
- Click on “Import App” option.
- Upload fabric_hw.json selecting “import all” option.
After you import fabric_hw.json you can see a very simple smart contract with 2 transactions “get_value” and “set_value”.
- set_value: Logs a message “Inside get_value” and then sets a value for a given key.
- get_value: Logs a message “Setting value” and then returns the value of a given key.
For more detail information on how to create apps and model apps to our TCI docs page.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified February 14, 2020: Add client steps in hello world (e727f1a)