Updates to a project or collection require authorisation by the project owner using the timestamp signature mechanism.
This list will only return the projects you are an owner of.
Requires environment variables OWNER_ACCOUNT_PRIVATE_KEY
to be set.
npm run admin:get-projects
Returns a project according to the id specified in the i
argument. You must be the owner of this project in order to retrieve this data.
Requires environment variables OWNER_ACCOUNT_PRIVATE_KEY
to be set.
npm run admin:get-project -- -i PROJECT_ID
Update the values in file update-collection.ts
with the values of the metadata you want to define.
Once updated, run the following script to create your collection:
Requires environment variables OWNER_ACCOUNT_PRIVATE_KEY
and COLLECTION_CONTRACT_ADDRESS
to be set.
npm run admin:update-collection
Updates the metadata schema for an existing property. You must specify the name of the property using the argument -n
Update the values in file update-metadata-by-name.ts
with the updated metadata schema values.
Once updated, run the following script to update your metadata schema:
Requires environment variables OWNER_ACCOUNT_PRIVATE_KEY
and COLLECTION_CONTRACT_ADDRESS
to be set.
npm run admin:update-metadata-schema-by-name -- -n PROPERTY_NAME