fabric-samples/full-stack-asset-transfer-guide/contracts/asset-transfer-go
2026-06-03 20:22:57 +05:30
..
asset-transfer-chaincode-vars.yml issue 1376 2026-06-03 20:13:17 +05:30
asset.go issue 1376 2026-06-03 20:13:17 +05:30
contract.go issue 1376 2026-06-03 20:22:57 +05:30
go.mod issue 1376 2026-06-03 20:13:17 +05:30
go.sum issue 1376 2026-06-03 20:13:17 +05:30
main.go issue 1376 2026-06-03 20:13:17 +05:30
README.md issue 1376 2026-06-03 20:13:17 +05:30

Go chaincode for the full-stack asset transfer guide

This folder contains a Go implementation of the asset-transfer smart contract used by the full-stack asset transfer guide.

The contract implements the following operations:

  • CreateAsset
  • ReadAsset
  • UpdateAsset
  • DeleteAsset
  • AssetExists
  • TransferAsset
  • GetAllAssets

The implementation preserves the same asset data model and state-based endorsement behavior as the existing TypeScript contract implementation.