mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
JCenter is deprecated, can no longer be published to, and is scheduled for removal. It is now causing build failures. Replace with Maven Central. Also remove mavenLocal() as this is not recommended practice: - https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:case-for-maven-local Note that Jitpack still needs to be included as a package repository for Java chaincode since it has dependencies on an old version of com.github.everit-org.json-schema:org.everit.json.schema that is only published there. Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com> |
||
|---|---|---|
| .. | ||
| abstore | ||
| fabcar | ||
| marbles02 | ||
| marbles02_private | ||
| sacc | ||
| README.md | ||
Sample smart contracts
This folder contains example smart contracts. It is recommended that users start with the Asset transfer samples and tutorials series for the most recent example smart contracts.
| Smart Contract | Description | 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. | 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. | Go |
| marbles02_private | Sample that demonstrates the use of private data collections. | Go |
| sacc | Simple asset chaincode that interacts with the ledger using the low-level APIs provided by the Fabric Chaincode Shim API. | 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/.