← 返回
未分类 中文

Configure Postparams

Configure PostParam (Post-Mint Parameter / PMP) values on Art Blocks tokens using artblocks-mcp. Use when a user wants to customize, update, or set on-chain...
使用 artblocks-mcp 配置 Art Blocks 代币的 PostParam(铸造后参数/PMP)值,用于用户自定义、更新或设置链上参数时。
ryley-o ryley-o 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 383
下载
💾 1
安装
1
版本
#latest

概述

Configuring PostParams on Art Blocks Tokens

What Are PostParams?

PostParams (Post-Mint Parameters / PMP) are on-chain configurable parameters embedded in certain Art Blocks art scripts. After minting, authorized wallets can set values that directly affect the token's on-chain visual output — no re-mint required.

Each parameter has an authOption controlling who can configure it:

authOptionWho can configure
------
ArtistProject artist only
TokenOwnerCurrent token owner only
AddressA specific configured contract address only
ArtistAndTokenOwnerArtist or token owner
ArtistAndAddressArtist or specific contract address
TokenOwnerAndAddressToken owner or specific contract address
ArtistAndTokenOwnerAndAddressArtist, token owner, or specific contract address

Token ID Format

-

Example: 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270-78000000

Workflow

Step 1 — Discover available params

discover_postparams(tokenId, chainId?)

Returns: param keys, types, value constraints, current values, and authOption for each param. Always show this to the user before asking for values — they need to know what's configurable and within what constraints.

Step 2 — Build the configuration transaction

build_configure_postparams_transaction(tokenId, values, chainId?, signerAddress?)
  • values is a key-value object — keys must match param keys from discover_postparams
  • Always pass signerAddress when known — needed to determine artist status and validate authorization
  • One transaction configures all passed params at once

Returns an unsigned transaction object ready to sign and submit.

Value Formats by Type

TypeFormatExample
------------------------------------------------------------------------
Bool"true" or "false""true"
SelectOne of the allowed option strings"red"
Uint256RangeNon-negative integer string"42"
Int256RangeInteger string (can be negative)"-5"
DecimalRangeDecimal string"3.14"
HexColorHex color with #"#FF0000"
TimestampUnix timestamp in seconds"1700000000"
StringAny text string"hello world"

Notes

  • Always call discover_postparams first — param keys and types are project-specific and not guessable
  • String params: the configuringArtistString flag on the built transaction depends on whether signerAddress matches the project artist — always pass signerAddress for String type params
  • Authorization: if the user's address doesn't match the authOption for a param, the transaction will revert on-chain. Check authOption against the user's role before proceeding
  • One transaction per call, but you can configure multiple params in a single call by passing multiple keys in values

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 02:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,221
knowledge-management

Get Artist

ryley-o
使用 artblocks-mcp 查询 Art Blocks 艺术家及其作品集。用于查找艺术家、浏览项目或探索作品集。
★ 0 📥 504
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 199 📥 68,371