mint-artblocks-token

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Minting an Art Blocks Token

铸造Art Blocks代币

Project ID Format

项目ID格式

All minting tools require a full project ID:
<contract_address>-<project_index>
Example:
0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270-0
Use
discover_projects
to find the project ID from a name or search term. To find projects currently open for minting, pass
mintable: true
— this filters to only projects with active minters and remaining supply.
所有铸造工具都需要完整的项目ID:
<contract_address>-<project_index>
示例:
0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270-0
使用
discover_projects
工具通过名称或搜索词查找项目ID。若要查找当前开放铸造的项目,传入
mintable: true
——这会筛选出仅包含活跃铸造器且仍有剩余供应量的项目。

Minting Workflow

铸造流程

Step 1 — Understand the minter

步骤1 — 了解铸造器

Call
get_project_minter_config
first. Returns:
  • Minter type (set price, Dutch auction, allowlist, RAM, etc.)
  • Current price and currency (ETH or ERC-20)
  • Remaining supply (
    max_invocations - invocations
    )
  • Auction timing (start/end, price decay curve for DA minters)
  • Allowlist details (for gated minters)
首先调用
get_project_minter_config
。返回内容包括:
  • 铸造器类型(固定价格、荷兰式拍卖、白名单、RAM等)
  • 当前价格及币种(ETH或ERC-20)
  • 剩余供应量(
    max_invocations - invocations
  • 拍卖时间(开始/结束时间,荷兰式拍卖铸造器的价格衰减曲线)
  • 白名单详情(针对 gated 铸造器)

Step 2 — Check eligibility (gated projects only)

步骤2 — 检查资格(仅针对 gated 项目)

If the minter type is
MinterMerkleV5
or
MinterHolderV5
, call
check_allowlist_eligibility
before proceeding.
Returns: eligibility status, gate type, and for holder-gated minters, which projects the wallet must hold tokens from.
如果铸造器类型为
MinterMerkleV5
MinterHolderV5
,请在继续操作前调用
check_allowlist_eligibility
返回内容包括:资格状态、准入类型,以及针对持有准入型铸造器的情况,钱包必须持有代币的对应项目。

Step 3 — Build the transaction

步骤3 — 构建交易

build_purchase_transaction
currently supports MinterSetPriceV5 (ETH) only.
ParamRequiredNotes
projectId
<contract_address>-<project_index>
chainId
Default
1
. See chain IDs below.
purchaseTo
Mint to a different address (gifting). Check
purchaseTo.disabled
in
get_project_minter_config
first — some projects disable this.
Returns
{ transaction, project, minter, price, purchaseTo, warnings }
. The
warnings
array contains non-fatal issues (paused project, sold out, complete) — always surface these to the user before they sign.
build_purchase_transaction
目前仅支持MinterSetPriceV5(ETH)
参数是否必填说明
projectId
<contract_address>-<project_index>
chainId
默认值为
1
。详见下方链ID列表。
purchaseTo
将代币铸造至其他地址(用于赠送)。请先在
get_project_minter_config
中检查
purchaseTo.disabled
状态——部分项目禁用此功能。
返回
{ transaction, project, minter, price, purchaseTo, warnings }
warnings
数组包含非致命问题(项目暂停、售罄、已完成)——请在用户签名前务必向其展示这些警告信息。

Minter Types

铸造器类型

MinterDescription
build_purchase_transaction
MinterSetPriceV5
Fixed ETH price✅ Supported
MinterDAExpV5
Dutch auction — exponential decay❌ Use wallet directly
MinterDALinV5
Dutch auction — linear decay❌ Use wallet directly
MinterMerkleV5
Merkle allowlist gating❌ Use wallet directly
MinterHolderV5
Holder-gated (must own another token)❌ Use wallet directly
RAM
Ranked auction mechanism❌ Use wallet directly
For unsupported minters, explain the mechanics from
get_project_minter_config
data and direct the user to their wallet.
铸造器类型描述
build_purchase_transaction
支持情况
MinterSetPriceV5
固定ETH价格✅ 支持
MinterDAExpV5
荷兰式拍卖——指数型价格衰减❌ 请直接使用钱包操作
MinterDALinV5
荷兰式拍卖——线性价格衰减❌ 请直接使用钱包操作
MinterMerkleV5
Merkle白名单准入❌ 请直接使用钱包操作
MinterHolderV5
持有准入(必须拥有其他代币)❌ 请直接使用钱包操作
RAM
排名拍卖机制❌ 请直接使用钱包操作
对于不支持的铸造器,请根据
get_project_minter_config
返回的数据解释其机制,并引导用户使用自己的钱包操作。

Chain IDs

链ID

ChainID
Ethereum mainnet
1
Arbitrum
42161
Base
8453
区块链网络ID
以太坊主网
1
Arbitrum
42161
Base
8453

Notes

注意事项

  • ERC-20 projects:
    get_project_minter_config
    indicates the currency token address.
    build_purchase_transaction
    only supports ETH — direct ERC-20 users to their wallet.
  • Dutch auctions: current price decreases over time. Use
    start_price
    ,
    end_price
    ,
    auction_start_time
    , and
    auction_end_time
    from
    get_project_minter_config
    to explain current pricing.
  • purchaseTo
    : useful for gifting — mints the token directly to a recipient address instead of the signer.
  • ERC-20项目
    get_project_minter_config
    会显示代币币种地址。
    build_purchase_transaction
    仅支持ETH——请引导ERC-20项目用户使用钱包操作。
  • 荷兰式拍卖:当前价格随时间下降。使用
    get_project_minter_config
    返回的
    start_price
    end_price
    auction_start_time
    auction_end_time
    来解释当前定价。
  • purchaseTo
    :适用于赠送场景——将代币直接铸造至接收方地址,而非签名者地址。