UNPKG

@patchworkdev/common

Version:

Patchwork Development Kit

69 lines (68 loc) 2.57 kB
{ "$schema": "https://patchwork.dev/schema/patchwork-project-config.schema.json", "name": "Contract Config Project", "scopes": { "test": { "name": "test", "owner": "0x222222cf1046e68e36E1aA2E0E07105eDDD1f08E", "whitelist": true, "userAssign": false, "userPatch": false, "bankers": ["0x000000254729296a45a3885639AC7E10F9d54979", "Contract1"], "operators": ["0x000000111129296a45a3885639AC7E10F9d54979", "Contract1"] } }, "contracts": { "Contract1": { "config": { "$schema": "https://patchwork.dev/schema/patchwork-contract-config.schema.json", "scopeName": "test", "name": "AccountPatch", "symbol": "AP", "baseURI": "https://mything/my/", "schemaURI": "https://mything/my-metadata.json", "imageURI": "https://mything/my/{tokenID}.png", "features": ["accountpatch"], "fields": [ { "id": 1, "key": "name", "type": "char32", "description": "Name", "functionConfig": "all" }, { "id": 2, "key": "patches", "type": "literef", "description": "Contract2", "arrayLength": 4 } ], "fragments": ["Contract2"] } }, "Contract2": { "config": { "$schema": "https://patchwork.dev/schema/patchwork-contract-config.schema.json", "scopeName": "test", "name": "SecondContract", "symbol": "SC", "baseURI": "https://mysecondthing/my/", "schemaURI": "https://mysecondthing/my-metadata.json", "imageURI": "https://mysecondthing/my/{tokenID}.png", "features": ["patch", "fragmentsingle"], "fields": [ { "id": 1, "key": "description", "type": "char32", "description": "Description", "functionConfig": "all" } ] } } }, "plugins": [{ "name": "ponder" },{ "name": "react" }] }