
Interacts with Blockchain-SSM chaincode on Hyperledger Fabric, offering modules for direct API communication, CouchDB optimization, and complex query facilitation using a Signing State Machine approach.
Kotlin SDK for interacting with Blockchain-SSM (Signing State Machines) chaincode on Hyperledger Fabric.
// Spring Boot auto-configuration for chaincode operations
implementation("io.komune.c2:ssm-chaincode-spring-boot-starter:${Versions.c2}")
// Spring Boot auto-configuration for combined data queries
implementation("io.komune.c2:ssm-data-spring-boot-starter:${Versions.c2}")ssm.rest.url=http://peer0.pr-bc1.civis-blockchain.org:9090Communicates directly with the blockchain API for queries and transactions over Signing State Machines.
// Data models and query function definitions
implementation("io.komune.c2:ssm-chaincode-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-chaincode-f2:${Versions.c2}")Queries CouchDB attached to the blockchain to optimize costly requests (listing SSMs, sessions).
// Data models and query function definitions
implementation("io.komune.c2:ssm-couchdb-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-couchdb-f2:${Versions.c2}")Combines chaincode and CouchDB modules for complex queries.
// Data models and query function definitions
implementation("io.komune.c2:ssm-data-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-data-f2:${Versions.c2}")Transaction management for SSM operations.
// Data models
implementation("io.komune.c2:ssm-tx-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-tx-f2:${Versions.c2}")All F2 functions are implemented as Spring Beans for dependency injection.
Since 0.47.0 these modules are no longer published. None of the repositories searched depends on them. The search covered the source of the komune-io and BoisLocal GitHub organizations and of local Komune and Kosmio clones, and the resolved classpaths of connect-fs, colisactiv's ssm, connect-im and the Bois Local platform. A consumer outside them is not ruled out. No module of this repository depends on them.
| Coordinate | Since |
|---|---|
io.komune.c2:ssm-chaincode-f2-client (and ssm-chaincode-f2-client-jvm, ssm-chaincode-f2-client-js) |
0.47.0 |
io.komune.c2:ssm-couchdb-spring-boot-starter |
0.47.0 |
Releases up to 0.46 stay on Maven Central. To use one with 0.47.0 or later, open an issue, or add
alias(catalogue.plugins.fixers.gradle.publish) back to its build file and publish it locally.
ssm-couchdb-f2, which the starter wraps, is still published.
make lint # Run detekt static analysis
make build # Build and publish to Maven local
make test # Run all tests (requires dev environment)A pre-configured Hyperledger Fabric network is provided via Docker Compose:
make dev up # Start sandbox services
make dev down # Stop sandbox services
make dev logs # Follow service logsBefore running tests:
make test-pre # Pull images, start containers, configure /etc/hostsPre-configured Hyperledger Fabric Network with generated cryptographic materials and SSM chaincode installed. See c2-sandbox/README.md for details.
REST API gateway for blockchain operations. Builds as Docker image c2-chaincode-api-gateway.
Kotlin SDK for interacting with Blockchain-SSM (Signing State Machines) chaincode on Hyperledger Fabric.
// Spring Boot auto-configuration for chaincode operations
implementation("io.komune.c2:ssm-chaincode-spring-boot-starter:${Versions.c2}")
// Spring Boot auto-configuration for combined data queries
implementation("io.komune.c2:ssm-data-spring-boot-starter:${Versions.c2}")ssm.rest.url=http://peer0.pr-bc1.civis-blockchain.org:9090Communicates directly with the blockchain API for queries and transactions over Signing State Machines.
// Data models and query function definitions
implementation("io.komune.c2:ssm-chaincode-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-chaincode-f2:${Versions.c2}")Queries CouchDB attached to the blockchain to optimize costly requests (listing SSMs, sessions).
// Data models and query function definitions
implementation("io.komune.c2:ssm-couchdb-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-couchdb-f2:${Versions.c2}")Combines chaincode and CouchDB modules for complex queries.
// Data models and query function definitions
implementation("io.komune.c2:ssm-data-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-data-f2:${Versions.c2}")Transaction management for SSM operations.
// Data models
implementation("io.komune.c2:ssm-tx-dsl:${Versions.c2}")
// F2 function implementations
implementation("io.komune.c2:ssm-tx-f2:${Versions.c2}")All F2 functions are implemented as Spring Beans for dependency injection.
Since 0.47.0 these modules are no longer published. None of the repositories searched depends on them. The search covered the source of the komune-io and BoisLocal GitHub organizations and of local Komune and Kosmio clones, and the resolved classpaths of connect-fs, colisactiv's ssm, connect-im and the Bois Local platform. A consumer outside them is not ruled out. No module of this repository depends on them.
| Coordinate | Since |
|---|---|
io.komune.c2:ssm-chaincode-f2-client (and ssm-chaincode-f2-client-jvm, ssm-chaincode-f2-client-js) |
0.47.0 |
io.komune.c2:ssm-couchdb-spring-boot-starter |
0.47.0 |
Releases up to 0.46 stay on Maven Central. To use one with 0.47.0 or later, open an issue, or add
alias(catalogue.plugins.fixers.gradle.publish) back to its build file and publish it locally.
ssm-couchdb-f2, which the starter wraps, is still published.
make lint # Run detekt static analysis
make build # Build and publish to Maven local
make test # Run all tests (requires dev environment)A pre-configured Hyperledger Fabric network is provided via Docker Compose:
make dev up # Start sandbox services
make dev down # Stop sandbox services
make dev logs # Follow service logsBefore running tests:
make test-pre # Pull images, start containers, configure /etc/hostsPre-configured Hyperledger Fabric Network with generated cryptographic materials and SSM chaincode installed. See c2-sandbox/README.md for details.
REST API gateway for blockchain operations. Builds as Docker image c2-chaincode-api-gateway.