Date: 2026-09-17 Status: specification, with a conforming reference implementation.
templates/zk13-nft.ares implements everything below and compiles on areslang-1.2.0. It was
deployed and exercised on a real BlockchainCore — genesis with proved STR.domains, signed
deploy and call records sealed into blocks, and validateChain() accepted afterwards — and
every gas figure in this document is what the STARW VM charged on that run.
That run is not a committed test. It was a script this desk ran once; the template is not in the suite that CI executes, and §12 says exactly what that means and what is owed.
No ZK13 NFT has been deployed on a public network, because no realm has a published address
(docs/INSTALL.md §6). A template that compiles, deploys and behaves correctly on a local chain
is not the same claim as a collection holding value in public, and this page will not let the
first stand in for the second.
Naming.
docs/NAMING.md:136records ZK13 as used for three distinct things: the proof system, thezk13str_address format, and the ZK13 token standard. This document adds a fourth use of the family name — the ZK13 NFT standard — under the same rule that existing SourceLess names are never renamed. A registry amendment is owed to the naming owner: entry (3) should read the ZK13 asset standards family (fungible, NFT, multi-token, vault). This desk may not editNAMING.md.As with the fungible standard, this one assumes no property the proof system has. It references no proof, no commitment and no nullifier, and a collection conforming to it must not cite ZK13 the proof system as evidence of any privacy or provenance property.
This document is a sibling of ZK13_TOKEN_STANDARD.md and does not
repeat it. Where a rule is identical, it says so and points there.
1. What a ZK13 NFT is, and is not#
A ZK13 NFT collection is an AresLang contract that records, in its own contract storage, an ownership map from a token id to an address, conforming to the interface and rules below.
It is not:
- the native WNFT. That is one per STR.domain, minted only by the domain registry, backed by
1000 STR locked, and non-transferable, because a domain WNFT is bound to its holder and
transferring it would transfer an identity. A ZK13 NFT is a different object with a similar
name, and a collection that lets a buyer believe otherwise is the most dangerous
mislabelling available on this chain. Do not use "WNFT" in a collection's name or symbol;
docs/CONTRACT_TEMPLATES.md§4.2 says the same thing and is older. - domain-bound, and cannot be. See §7.
- identity, accreditation, membership of anything, or evidence about the holder beyond the fact that the issuer minted them a token.
- protected by
LedgerManager.validate. Ownership here is contract storage, not a ledger.
2. Where the state lives#
In the contract's own storage, committed through Sindri into the chain state root. The
argument is ZK13_TOKEN_STANDARD.md §2 in full and is not repeated:
a native ledger cannot be added without a hard fork, the seven that exist carry authority a
third party must not inherit, and every property an asset actually needs — atomic revert,
immutable logic, an ABI-checked entry, a signed caller bound to this chain's genesis hash — is
in Sindri and not in a ledger.
The consequences §2.6 lists apply here too, with one addition: a ZK13 NFT cannot be locked to
back an STR.domain and cannot appear in strblk tokens. Wallet display is the issuer's
problem, and the only chain-side answer to "what does this address own" is
contractStorage / simulateCall against the collection.
3. Who may hold one, and who may move one#
Identical to ZK13_TOKEN_STANDARD.md §3, and the split is the same:
- Receiving is not gated. Any well-formed, non-reserved address may be recorded as an
owner. There is no domain check on the receive side and there cannot be —
AresHosthas no domain accessor (§7). - Acting is gated by the chain, not by the contract.
contractCallerGaterefuses any deploy or call whose actor does not hold a proved STR.domain, on submit, produce and accept. So a token can be held by an address that has joined no further than an allocation, and can only be moved by one that has locked 1000 STR.
The trap this creates, stated in the same words the fungible standard uses: a contract
cannot be caller anywhere on this chain, so a token recorded at a contract address can never
move again. It is not burned and not confiscated; it is inert forever. A conforming collection
MUST refuse to == self (§5.3) and CANNOT detect any other contract address, because an address
gives no hint of what is behind it.
4. The interface#
4.1 Views — every conforming collection must expose all of these#
view fn standard() -> string // "zk13-nft/1", see §4.6
view fn name() -> string
view fn symbol() -> string
view fn ownerOf(tokenId: uint) -> address // "" for an id never minted, or burned
view fn tokenUri(tokenId: uint) -> string // "" when the collection stores none
view fn balanceOf(account: address) -> uint // how many tokens this address holds
view fn totalMinted() -> uint // never falls; also the highest id
view fn totalSupply() -> uint // totalMinted − totalBurned
view fn maxSupply() -> uint // 0 means uncapped
view fn exists(tokenId: uint) -> bool
view fn owner() -> address
view fn minter() -> address // "" when minting is permanently closed
view fn paused() -> bool // always present; false if it cannot pauseminter() and paused() are required even when the collection does not use them, for the
reason the fungible standard gives at §4.1: a holder must be able to ask "who can mint this, and
can it be frozen?" and get the answer from the ABI rather than from reading bytecode. A
collection that omits the function is indistinguishable, to a wallet, from one whose answer is
inconvenient. SindriLedger.catalog(address) returns the callable catalogue, so any client can
ask this of any deployed contract.
totalSupply() and totalMinted() are both required because they differ after any burn, and
each answers a question the other cannot: how many exist now, and which ids have ever been
issued.
4.2 Views a collection SHOULD expose, and what each is for#
view fn contractUri() -> string // collection-level metadata
view fn totalBurned() -> uint
view fn tokenOfOwnerByIndex(account: address, index: uint) -> uint // §5.6
view fn pendingOwnerIs() -> addresstokenOfOwnerByIndex is optional because it costs storage on every move (transferToken is
2,373 gas with it against 1,110 for the minimal collection without it), and a collection whose
holders are indexed off chain does not need it. When it IS present it MUST be O(1) — see §5.6.
4.3 Mutating functions#
fn mint(to: address, uri: string) -> uint // minter only; returns the new id
fn transferToken(to: address, tokenId: uint) -> bool // the holder, and nobody else
fn burnToken(tokenId: uint) -> bool // the holder, and nobody else
fn proposeOwner(next: address)
fn acceptOwnership()
fn setPaused(next: bool) // absent if the collection cannot pause
fn setMinter(next: address) // owner only; REFUSES once closed
fn closeMinting() // owner only, one-way, permanentThis is the minimum. A collection may add functions; it may not omit these, and it may not add any of the four in §6.
There is no approve, no operator and no transferFrom, in any version of this standard
until cross-contract calls exist. The reason is the fungible standard's §4.2 reason: an
approval exists so that another contract can act on a holder's behalf, and there are no
cross-contract calls in AresLang. An approval nothing can spend is a stored permission waiting
to become live on the day a call opcode ships, at a moment nobody chose. The failure
prevented: a chain-wide stock of forgotten operator approvals becoming exercisable at once.
4.4 Events#
event Transfer(from: address, to: address, tokenId: uint)
event TokenUri(tokenId: uint, uri: string) // at mint only
event OwnerProposed(current: address, pending: address)
event OwnerChanged(previous: address, next: address)
event PausedChanged(paused: bool, by: address)
event MinterChanged(previous: address, next: address)Transfer is the single record of every ownership movement, and there is no second one:
- a mint emits
Transfer("", to, id); - a burn emits
Transfer(from, "", id); - a move emits
Transfer(from, to, id).
An indexer replaying Transfer must arrive at exactly the owners in storage. A separate Mint
event beside a Transfer double-counts for anyone summing both; omitting Transfer on a mint
leaves an owner an indexer cannot account for.
TokenUri is metadata rather than movement, so it double-counts nothing. It is emitted once,
at mint, because the pointer is written once (§5.2).
Events are not in the state root. Sindri excludes them deliberately — an event is a log of how state was reached, not the state itself. Two consequences: an event is evidence, never state, and no contract logic may depend on an event having been emitted, because nothing can read one back.
4.5 Errors#
AresLang has no error type. require carries a message string and that string is the entire
error surface, so a conforming collection uses these exact strings and a wallet can recognise a
refusal without parsing prose.
| String | Raised when |
|---|---|
no such token | tokenId is 0, or above totalMinted() |
not the token owner | the caller is not the address in ownerOf(tokenId) |
empty recipient | to == "" |
self transfer | to == caller |
self is not payable | to == self — see §3 |
uri too long | the metadata pointer is past the collection's declared bound |
supply cap | a mint would take totalMinted() past maxSupply() |
mint closed | mint is called when minter() is "" |
not minter | mint is called by another address |
not owner | an owner-gated function is called by another address |
not the pending owner | acceptOwnership is called by another address |
paused | a mutating function is called while paused |
no such index | tokenOfOwnerByIndex is asked past balanceOf(account) - 1 |
REQUIRE costs 5 gas regardless of the message, and the string is a module operand: it costs
deployment size, not execution.
4.6 standard(), and exactly how much it is worth#
standard() returns a family and version — "zk13-nft/1", optionally with a profile suffix such
as "zk13-nft/1+soulbound" (§9).
It is a self-declaration and proves nothing. Any contract can return any string, and no
node checks it. What it buys is a first question a client can ask cheaply when two standards'
required sets overlap, which they do: a soulbound badge and a tradable collection share almost
every view. The check is catalog(address) against §4.1 and §4.3 — a client that needs
certainty walks the catalogue, and a client that needs a hint reads this.
There is no interface-query function to ask instead, and there cannot be a better one: answering that question by CALLING a contract is a cross-contract call, and nothing on this chain can call a contract from inside another. The catalogue is the substitute, and it is a better one — it is derived by the compiler from the source every node recompiles, so it cannot lie about which functions exist.
5. Compliance rules#
A collection conforms when it obeys every rule in §5 and §6. There is no partial conformance.
5.1 Ids#
Assigned by the contract, in sequence, from 1, and never reused. Not chosen by the caller, and never renumbered by a burn.
- From 1, because 0 is the value every unwritten
uintmap entry reads as, so an id of 0 would be indistinguishable from "no token" in every derived map. - In sequence, because it makes "does this id exist" a single comparison against
totalMinted()rather than a second stored flag that could disagree with the owner map. - Caller-chosen ids are refused because two mints could then collide, and the losing branch is either a silent overwrite of somebody's token or a revert the minter cannot predict.
- A burn does not renumber. Ids 1..
totalMinted()therefore enumerate every id ever issued, with gaps where tokens were burned, andownerOf(id) == ""is how a gap reads. This is why the standard requires notokenByIndex.
5.2 Metadata#
Written once, at mint, and changed by no function. A conforming collection has no
setTokenUri, and adding one is the most common way a collection becomes a rug: the art is
replaced after the sale.
What that does NOT promise: the bytes the pointer names may change, because they are served by whatever the URI points at and nothing on this chain governs it. An immutable pointer to mutable content is mutable content. A collection that wants the content fixed too points at a content-addressed location and says so — the contract cannot verify even that, since it cannot hash (§7).
A base URI plus the token id CANNOT BE COMPUTED HERE. AresLang has no integer-to-string
conversion, so concat(baseUri, id) is not expressible at any price. The consequences are
forced, not chosen:
- every token carries its whole URI as a stored string, written at mint; or
- the collection stores only
contractUri()and leaves per-token metadata to a convention a client applies off chain, in which casetokenUrireturns""and MUST NOT return something that looks like a URI but is not.
maxUriLength is a policy bound the contract enforces because the gas meter does not: the
VM prices a storage write by the slot name it builds and not by the value it stores, so minting
with a 60,000-character URI costs the same 2,054 gas as a 41-character one while adding 60,000
characters to state every node keeps forever. The machine's own ceiling is 65,535 UTF-16 code
units (MAX_STRING_LENGTH).
5.3 Transfer#
transferToken(to, tokenId) MUST:
- refuse while paused;
- refuse
to == "",to == callerandto == self; - refuse unless
tokenOwner[tokenId] == caller— there is nofromargument, so there is no second authority anywhere in the contract that could move a token; - refuse an id of 0 or above
totalMinted(); - write the new owner, maintain every derived count and index (§5.6), and emit exactly one
Transfer.
to == caller is refused rather than handled. On this VM the naive two-step move is already
safe for a self-transfer, because MSTORE writes through to the working storage — but a
collection maintaining a holder index has a genuine self-transfer bug available (remove from the
list, then append to the same list), and refusing the case costs a few gas and removes it.
5.4 Burn#
Only the holder, and only their own token. With no approval mechanism there is no authority
by which anyone could burn somebody else's, and inventing one is confiscation (§6.2). A burn
clears the owner, maintains the counts, increments totalBurned(), and emits
Transfer(from, "", id).
A burn MAY leave tokenUri(id) readable — the record of what an id was is worth keeping — and
ownerOf(id) == "" is the authoritative answer to whether it exists.
5.5 Supply#
maxSupply()is fixed at deployment and no function raises it. 0 means uncapped, and must be declared as 0 rather than as a large number that looks like a cap.- The cap is checked against
totalMinted(), which never falls. Never againsttotalSupply(), which a burn lowers: a cap tested against a burnable number is defeated by mint, burn, mint, and the issuance is unbounded while the cap never appears to break. This is the same defect the fungible standard records at §5.2, measured there at 4,000 issued against a cap of 1,000. closeMinting()is one-way and takes no argument (anaddressargument cannot be""— the ABI check refuses it before the first opcode).setMinterMUST refuse once minting is closed, or "the collection is complete" is not a fact.
5.6 Enumeration#
A conforming collection MUST NOT iterate over anything a caller can grow. The gas limit is per call and the code is immutable, so a function that walks a holder's list becomes permanently uncallable at some size discovered in production — by that holder, who then cannot move their tokens.
When tokenOfOwnerByIndex is present it MUST be O(1) in both directions, which the reference
implementation achieves with two maps and a swap:
ownedAt[holder][i]— the i-th token of a holder, foriin0..balanceOf(holder)-1;slotOf[id]— the index at whichidsits in its current owner's list.
Removal writes the last entry into the vacated slot and clears the tail; insertion appends at
balanceOf(holder). Both are a fixed number of map operations. The order is not promised and
a client MUST NOT rely on it: a move shifts positions. What IS promised is that at any instant
the indices 0..balanceOf(account)-1 enumerate exactly that holder's tokens, each once.
There is no collection-wide enumeration of HOLDERS, at any cost, and none is possible: a map's keys cannot be listed on this VM.
5.7 The pause#
If setPaused exists it MUST freeze every mutating function and no view, so a stopped
collection stays auditable at exactly the moment somebody needs to audit it. A pause moves
nothing and destroys nothing: a paused token is still its holder's, readable in ownerOf, and
moves again when the owner unpauses.
The cost is declared rather than hidden: an owner who pauses and then loses the key leaves a collection nobody can ever move again. Nothing is confiscated and nothing is destroyed, but a permanently paused collection is a permanently unsellable one, and the code is immutable.
6. Design against theft: what a conforming collection must not permit#
- No function that writes an owner for an id the contract did not mint. Every ownership
write is behind
tokenId <= totalMinted()and an authority check. - No owner path that moves or takes a holder's token. There is no
adminTransfer, noseize, norecover. An issuer who needs to be able to take a token back needs the soulbound profile (§9), where the power is declared in the ABI and fixed at deployment. - No
setTokenUri(§5.2). - No raisable cap and no reopenable mint (§5.5).
- No single-step ownership change. Handover is
proposeOwnerthenacceptOwnership, because a one-step handover to a mistyped address is permanent: there is no administrator anywhere in SourceLess who can reach into a contract's slots. - No reliance on caller-supplied time. The clock is the sealed block's
timestamp. A time argument is a time the caller chooses. - No unbounded work (§5.6).
- No mint or burn that skips the event (§4.4).
- No upgrade path and no proxy. Bytecode is in the contract's address preimage and there is
no
setCodeanywhere in Sindri. What is deployed is what holders get, forever. A proxy would teach a buyer that the code they audited is the code that runs, when it would not be.
7. What this standard cannot express on this VM, precisely#
Every row is a real limit of runtime/ as of areslang-1.2.0, not a design preference. Where a
workaround exists it is named; where none does, that is said.
| Feature elsewhere | Status here | Why, exactly |
|---|---|---|
tokenURI derived as baseURI + tokenId | Not expressible | There is no integer-to-string conversion. The builtins are len, concat, balance and the statement transfer; + on two strings is CONCAT, and no opcode renders a uint as text. Workaround: store the whole URI per token (§5.2) |
approve / setApprovalForAll / transferFrom | Refused, and unusable if written | No cross-contract calls: AresOp has no call opcode, and an approval nothing can exercise is a stock of permissions waiting for one (§4.3) |
safeTransferFrom with a receive callback | Not expressible | No callbacks of any kind. A recipient cannot be consulted, so a token sent to a contract is stranded with no hook that could have refused it (§3) |
| On-chain royalties | Expressible as a number, worthless as a right | A royalty is enforced by a marketplace, a marketplace is another contract, and nothing can call one. The reference implementation ships no royaltyBps() rather than a field that looks like a right |
| Batch mint / batch transfer | Not expressible | No array type: every parameter and every return is one scalar (runtime/parser.ts). n moves are n call records, atomic individually and not together |
| Domain-bound ownership (a wNFT) | Not expressible | AresHost is selfAddress, blockTimestampMs, blockHeight, balanceOf, transfer. No domain accessor, so a contract cannot ask whether an address holds a proved STR.domain or which one. Storing a domain string verifies nothing, and case folding (STR.Treasury beside STR.treasury) is undetectable from bytecode because normalizeStrDomain is unreachable |
| Name, symbol or cap as constructor arguments | Not expressible | No constructor arguments. A state initializer may read caller — which is how the deployer becomes owner with no claim race — but takes no parameters. Every other parameter is a source constant the issuer edits before deploying, which changes the bytecode and therefore the address: a different collection is a different contract |
| Lazy mint / voucher mint against an issuer signature | Not expressible | No hashing opcode and no signature verification opcode. A contract cannot verify a signature over anything, so "the issuer signed this mint" cannot be checked in bytecode |
| Merkle allowlist mint | Not expressible | Same reason: no hash function. An allowlist has to be stored, one entry per address, at 220 gas a write |
| On-chain generated metadata (SVG, JSON built from traits) | Storable, not computable | A literal or an argument string can be stored and returned, but nothing can build one from numbers (no integer-to-string), slice one, or compare one beyond equality and length |
| Enumerating every holder of a collection | Not expressible at any price | A map's keys cannot be listed. balanceOf answers for one address; the set of addresses is reconstructed off chain from Transfer |
| A marketplace, auction or escrow over a ZK13 NFT | Not writable as a separate contract | It would have to move a token it does not hold, through a contract that cannot be caller. It is writable only INSIDE the collection contract, which is the same reasoning that makes staking-token.ares one contract rather than two |
8. Conformance checklist#
A reviewer can walk this against catalog(address) and the source.
- [ ] Every view in §4.1 is present, is
viewin the ABI, and answers while paused. - [ ] Every function in §4.3 is present, with these names and this argument order.
- [ ] No
approve,setApprovalForAll,transferFrom,setTokenUri,adminTransferor any function that writes an owner without checkingcaller. - [ ] Ids start at 1, are assigned by the contract, and are never reused.
- [ ]
mintchecks the cap againsttotalMinted(), nottotalSupply(). - [ ]
setMinterrefuses whenminter()is"";closeMintingtakes no argument. - [ ]
transferTokenrefuses"",callerandself, and checksownerOf == caller. - [ ]
burnTokenrefuses unlessownerOf == caller. - [ ] Exactly one
Transferper movement, with""for a mint'sfromand a burn'sto. - [ ] Every error string is from §4.5.
- [ ] No loop whose trip count a caller controls, anywhere.
- [ ] Ownership handover is two-step.
- [ ] The header states the measured gas of every entry point and the gas limit to declare.
9. Profiles#
A profile is this standard plus a declared restriction. It conforms; it says so in
standard(); and the restriction is enforced by code rather than promised.
9.1 Soulbound — "zk13-nft/1+soulbound"#
No transfer function at all. Non-transferability is enforced by absence, which is the only way it can be enforced here: there is no modifier, no hook and no base class to override.
A soulbound profile MAY replace transferToken with nothing, MUST keep the Transfer event
shape for issue and removal (Transfer("", to, id) and Transfer(from, "", id)), and SHOULD
provide:
renounce(id)— the holder gives their own badge up, and the pause MUST NOT block it. A stopped contract must not be able to trap a credential on somebody who no longer wants it.revoke(id)— the issuer takes it back, if and only if the collection was deployed revocable. This is a confiscation power and credentials genuinely need it: a licence that cannot be withdrawn is not a licence. It MUST be fixed at deployment, MUST be readable asrevocable(), and when false MUST revert for the life of the contract.valid(id)— the whole verification in one answer: false for an id never issued, for one no longer held, and for one whose expiry has passed as of the block being executed.
Reference implementation: templates/soulbound-badge.ares.
9.2 Minimal — no metadata, no enumeration#
A collection whose tokens carry no per-token metadata may return "" from tokenUri rather
than store one, and may omit tokenOfOwnerByIndex entirely. It is cheaper on every move: 1,110
gas against 2,373.
templates/nft-collection.ares is that shape, and it is NOT conforming, which is recorded
here rather than fixed. It predates this standard and is missing four of the §4.1 required
views: standard(), tokenUri(), totalSupply() and exists() — it tracks no burn count, so
totalSupply is not even derivable from what it stores. It is a sound minimal NFT and its own
adversarial test suite holds; it simply answers fewer questions than this standard requires.
It is left alone deliberately. Editing a shipped template changes its bytecode, and the bytecode
is in the address preimage: every address anybody has derived from that file would move, and the
measured gas table asserted in tests/integration/template-catalogue.integration.test.ts is
pinned to the current source. A collection that needs conformance deploys zk13-nft.ares.
10. Reference implementations, and what they cost#
Gas is a pure function of the instruction stream, so these are exact for the calls described and
not estimates. MEASURED on areslang-1.2.0 with 53-character addresses and a 41-character URI.
| Call | zk13-nft.ares | nft-collection.ares | soulbound-badge.ares |
|---|---|---|---|
| mint / issue | 2,054 | 1,214 | 2,261 |
| transferToken | 2,373 | 1,110 | — (none exists) |
| burnToken / renounce | 2,081 | 804 | 1,386 |
| revoke | — | — | 1,560 |
| proposeOwner | 412 | 412 | 412 |
| acceptOwnership | 612 | 612 | 612 |
| setPaused | 363 | 363 | 363 |
| setMinter | 471 | 471 | 471 |
| closeMinting | 470 | 470 | 470 |
| gas limit to declare | 24,000 | 13,000 | 23,000 |
The limit to declare is ten times the most expensive entry point, because post-mining covers
min(gasUsed, gasLimit / 10): below that, the network absorbs the shortfall on every call,
silently, forever.
11. Where this comes from, and where it diverges#
| Prior art | Taken | Left, and why |
|---|---|---|
| The common non-fungible-token interface | The shape: ownerOf, balanceOf, tokenUri, one Transfer event covering mint, move and burn, and contract-assigned sequential ids as the usual practice | approve/setApprovalForAll/transferFrom (nothing could exercise an approval), safeTransferFrom and its receive callback (no callbacks), and tokenURI derived from a base URI (no integer-to-string) |
| Its per-owner enumeration extension | tokenOfOwnerByIndex, and the swap-and-pop index that makes it O(1) — which is the only form of it this chain can afford, because a walked list becomes uncallable at a size a holder discovers in production | totalSupply-indexed global enumeration (tokenByIndex): ids are already 1..totalMinted(), so a second index would be a second copy of the same fact |
| Its metadata extension | name, symbol, tokenUri, and a collection-level pointer (contractUri) | The metadata JSON schema: nothing on chain reads it, so mandating one would be this document legislating for a client |
| On-chain royalty fields | Nothing, deliberately (§7) | The whole of it. A royalty is enforced by a marketplace, a marketplace is another contract, and nothing here can call one. A royaltyBps() would be a number nothing reads and nothing obeys, presented to a creator as a right |
| Soulbound (locked) tokens | The idea that non-transferability is a declared property of a collection rather than a per-token flag, which §9.1 takes and enforces by absence | The locked(tokenId) interface: a per-token lock implies some tokens move, and a profile where none do is simpler to verify from the catalogue |
| Metaplex (Solana NFTs) | The separation of the token from its metadata record, which shows up here as metadata written once at mint and never rewritten — Metaplex's mutable-metadata flag is the thing this standard refuses outright (§5.2) | The account model, the update authority, and collection verification, all of which need a program that can be called |
| Sui object model | The framing of a unique asset as a thing with its own identity. It is the closest prior art to what an NFT should be, and it is the one this VM can least imitate: storage here is a flat key/value set, so a token is a set of map entries under an id and not an object | Objects, ownership as a field, transfer by moving one, and the type safety that comes with it |
12. What is not built#
| Not built | Where it is discussed |
|---|---|
isProvedDomain / domainOf on AresHost — without which a domain-bound NFT stays unwritable | §7; proposed in ZK13_TOKEN_STANDARD.md §3.6 |
An integer-to-string builtin, without which baseURI + id stays unwritable | §5.2, §7. The cheapest change in this document's list, and the one that would remove the most stored bytes from state |
| A hashing opcode, without which a Merkle allowlist and any commitment scheme stay unwritable | §7 |
| Cross-contract calls, without which approvals, marketplaces and royalties stay unwritable | §7 |
Any committed test over zk13-nft.ares or soulbound-badge.ares | The seven older templates each have an adversarial suite, and the catalogue-wide properties iterate TEMPLATES in tests/helpers/templates.ts — a list of those seven. These two are not in it. What was done instead: both compile, and both were deployed and exercised on a real BlockchainCore with signed records sealed into blocks and validateChain() accepted — by a script this desk ran once and did not commit, because tests/ and scripts/ are not this desk's to write. Two handoffs: register them in that list, and write a suite each. |
| Deployment gas | Unmeasured, not estimated: applyDeploy returns no gasUsed, so postMineForContractRecord skips deploys |