fabric-samples/chaincode
Tatsuya Sato 8c7e8e1b2f
[FAB-17957] Delete --tls extra arguments from fabric-samples (#198)
`--tls` option of the peer command does not require any argument.
On the other hand, some scripts assign the arguments.

This patch deletes the unnecessary arguments.

Also, this patch fixes a minor problem on private data tutorial instructions
for base64 (Related to FAB-13777).

Signed-off-by: Tatsuya Sato <Tatsuya.Sato@hal.hitachi.com>
2020-06-04 16:49:29 -04:00
..
abac/go Redirect samples to fabric-{chaincode,protos}-go 2019-08-23 17:25:16 +00:00
abstore FABCAG-27 Update fabric-samples to use latest contract-api-go@v1.1.0 2020-05-01 09:47:36 -04:00
fabcar FAB-17930: Update licenses (#191) 2020-05-26 21:43:33 +02:00
marbles02 [FAB-17447] Update to 2.0.0 Libraries 2020-01-29 00:26:12 -05:00
marbles02_private Add function to private data hash to sample private data chaincode 2020-05-20 17:02:46 -04:00
marbles_transfer [FAB-17957] Delete --tls extra arguments from fabric-samples (#198) 2020-06-04 16:49:29 -04:00
sacc Redirect samples to fabric-{chaincode,protos}-go 2019-08-23 17:25:16 +00:00
README.md Add transfer sample to readme (#189) 2020-05-21 15:48:31 +02:00

Sample smart contracts

This folder contains example smart contracts that are used by the Hyperledger Fabric documentation and by other samples

Smart Contract Description Tutorial Languages
fabcar Basic smart contract that allows you to add and change data on the ledger using the Fabric contract API. Also contains an example on how to run chaincode as an external service. Writing your first application Go, Java, JavaScript, Typescript
marbles02 Sample that demonstrates how to deploy an index and use rich queries when you are using CouchDB as your state database. Using CouchDB Go
marbles02_private Sample that demonstrates the use of private data collections. Private data tutorial Go
marbles_transfer Smart contract that demonstrates the use of private data, state based endorsement, and access control to securely transfer an asset between two parties Marbles private asset transfer scenario Go
abac Smart contract that restricts access to the chaincode namespace using Attribute Based Access Control. Go
sacc Simple asset chaincode that interacts with the ledger using the low-level APIs provided by the Fabric Chaincode Shim API. Chaincode for developers Go
abstore Basic smart contract that allows you to transfer data (from A to B) using the Fabric contract API. Go, Java, JavaScript

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.