How rahul-bangar/fyp works
This tree contains a partial Fabric Samples checkout: its visible product is a Go device-management API and asset-transfer chaincode, alongside a Fabric test-network sample. The workflow is an API request through the Fabric Gateway to a chaincode transaction that reads or updates ledger state. The README describes broader sample capabilities, but their directories are absent from this tree, so they are not mapped here. Relationships below are limited to the excerpts and README; unsampled network wiring is omitted.
Main entry points: app.go Device API routes · smartcontract.go Device transactions · test-network Test network · assetTransfer.go Chaincode startup
Components 11
Go client application
- Device API routes
asset-transfer-basic/app-go/app.go - Gateway connection
asset-transfer-basic/app-go/app.go - Wallet identity
asset-transfer-basic/app-go/app.go
Asset chaincode
- Chaincode startup
asset-transfer-basic/test-chaincode-go/assetTransfer.go - Device transactions
asset-transfer-basic/test-chaincode-go/chaincode/smartcontract.go
Fabric network
- World state
- Test network
test-network - Organization peers
- Ordering service
Other components
- API caller
- Provisioning service
Connections 10
- API caller → Device API routes: calls routes
asset-transfer-basic/app-go/app.go - Device API routes → Gateway connection: submits transactions
asset-transfer-basic/app-go/app.go - Gateway connection → Wallet identity: uses identity
asset-transfer-basic/app-go/app.go - Device API routes → Provisioning service: sends credentials
asset-transfer-basic/app-go/app.go - Chaincode startup → Device transactions: starts contract
asset-transfer-basic/test-chaincode-go/assetTransfer.go - Device transactions → World state: reads and writes
asset-transfer-basic/test-chaincode-go/chaincode/smartcontract.go - Test network → Organization peers: provides infrastructure
README.md - Test network → Ordering service: provides infrastructure
README.md - Gateway connection → Test network: connects to network
- Device transactions → Organization peers: runs on