Patch examples
Patch for account targets
Introduction
Configuration and Development
Patchwork Project examples
- Basic Patchwork721
- Complex metadata with arrays
- Fragment examples
- Assignee examples
- Patch examples
- Patch + Fragment
- Patch + Assignee
Patch examples
Patch for account targets
import { Feature, ProjectConfig } from "@patchworkdev/common/types";
const accountPatchProjectConfig: ProjectConfig = {
name: "AccountPatchProject",
scopes: [
{
name: "test",
whitelist: true,
userAssign: false,
userPatch: false,
}
],
contracts: {
"AccountPatch": {
scopeName: "test",
name: "AccountPatch",
symbol: "AP",
baseURI: "https://mything/my/",
schemaURI: "https://mything/my-metadata.json",
imageURI: "https://mything/my/{tokenID}.png",
fields: [
{
id: 1,
key: "name",
type: "char32",
description: "Name"
}
],
features: [Feature.ACCOUNTPATCH]
}
}
};
export default accountPatchProjectConfig;