Empty contract template
This is an empty contract template to get you started.
This is an empty contract template to get you started.
This is an empty contract template to get you started.
# Write your contract template here
# Write your contract template here
{
"$class": "org.accordproject.empty.EmptyContract",
"contractId": "4cbc5e58-c899-477f-8805-6bdf4de6dd74",
"$identifier": "4cbc5e58-c899-477f-8805-6bdf4de6dd74"
}
namespace org.accordproject.empty
import org.accordproject.contract.* from https://models.accordproject.org/accordproject/contract.cto
import org.accordproject.runtime.* from https://models.accordproject.org/accordproject/runtime.cto
// Template model
asset EmptyContract extends Contract {
}
// Request
transaction EmptyRequest extends Request {
}
// Response
transaction EmptyResponse extends Response {
}
Find the full logic for this template on on GitHub.
Type | Sample JSON |
---|---|
org.accordproject.runtime.State |
|
Type | Sample JSON |
---|---|
org.accordproject.empty.EmptyRequest |
|
Type | Sample JSON |
---|---|
org.accordproject.empty.EmptyResponse |
|
Type | Sample JSON |
---|---|
concerto.Event |
|
Please refer to the Accord Project documentation for how to use a template or integrate it within your application.
View the Latest code for this template on GitHub.