Example Projects
Titles
{
"$schema": "https://patchwork.dev/schema/patchwork-project-config.schema.json",
"name": "titles",
"scopes": {
"myscope": {
"name": "myscope"
}
},
"contracts": {
"TitleAccountPatch": {
"config": {
"$schema": "https://patchwork.dev/schema/patchwork-contract-config.schema.json",
"scopeName": "myscope",
"name": "TitleAccountPatch",
"symbol": "TTLPAT",
"baseURI": "https://replace-me-with-website/",
"schemaURI": "https://replace-me-with-website/schemas/titlepatch.json",
"imageURI": "https://replace-me-with-website/assets/titlepatch/{tokenID}",
"features": [
"accountpatch"
],
"fields": [
{
"id": 0,
"key": "titles",
"type": "literef",
"description": "Titles",
"arrayLength": 0
}
],
"fragments": [
"AutoTitle"
]
}
},
"AutoTitle": {
"config": {
"$schema": "https://patchwork.dev/schema/patchwork-contract-config.schema.json",
"scopeName": "myscope",
"name": "AutoTitle",
"symbol": "AUTO",
"baseURI": "https://replace-me-with-website/",
"schemaURI": "https://replace-me-with-website/schemas/autotitle.json",
"imageURI": "https://replace-me-with-website/assets/autotitle/{tokenID}",
"features": [
"mintable",
"fragmentsingle"
],
"fields": [
{
"id": 0,
"key": "createdat",
"type": "uint64",
"description": "CreatedAt Timestamp (seconds since epoch)",
"functionConfig": "load"
},
{
"id": 1,
"key": "issuer",
"type": "address",
"description": "Issuer",
"functionConfig": "load"
},
{
"id": 2,
"key": "signature",
"type": "uint256",
"description": "Issuer Signature",
"functionConfig": "load"
},
{
"id": 3,
"key": "vin",
"type": "char32",
"description": "VIN",
"functionConfig": "load"
},
{
"id": 4,
"key": "make",
"type": "char16",
"description": "Make",
"functionConfig": "load"
},
{
"id": 5,
"key": "model",
"type": "char16",
"description": "Model",
"functionConfig": "load"
},
{
"id": 6,
"key": "year",
"type": "uint16",
"description": "Year",
"functionConfig": "load"
}
]
}
}
}
}