Assignee examples
Fixed-length references
Introduction
Configuration and Development
Patchwork Project examples
- Basic Patchwork721
- Complex metadata with arrays
- Fragment examples
- Assignee examples
- Patch examples
- Patch + Fragment
- Patch + Assignee
Assignee examples
Fixed-length references
import { ProjectConfig } from "@patchworkdev/common/types";
const liteRef8ProjectConfig: ProjectConfig = {
name: "Literef8Project",
scopes: [
{
name: "test",
whitelist: true,
userAssign: false,
userPatch: false,
}
],
contracts: {
"LiteRef8": {
scopeName: "test",
name: "LiteRef8",
symbol: "LR8",
baseURI: "https://mything/my/",
schemaURI: "https://mything/my-metadata.json",
imageURI: "https://mything/my/{tokenID}.png",
fields: [
{
id: 1,
key: "attributeIDs",
type: "literef",
arrayLength: 8,
description: "The attributes equipped by this this"
},
{
id: 2,
permissionId: 1,
key: "counter",
type: "uint32",
description: "Counter"
}
],
features: []
}
}
};
export default liteRef8ProjectConfig;