GuideSystem4 min read
The Rites: contract map
Each RiteKEEL's name for a smart contract: published rules that the chain enforces when someone calls them.For exampleA Rite can enforce the supply limit even if a website offers a button to mint more.Full glossary entry → enforces a particular job. See how storage, ownership, presentation, permissions, and sales connect.
Select an underlined word to see what it means.
In this guide
Keep the files
Stores pieces and the instructions for recovering the whole file.
See the contract files
src/modules/keel-hold
KeelHold.solIngot.solKeelIndex.solinterfaces/IKeelHold.solinterfaces/IKeelHoldLimits.solinterfaces/IKeelHoldSeal.sollibraries/KeelSealValidation.sollibraries/KeelCastDispatch.solinterfaces/IKeelIndex.solinterfaces/IKeelHoldHarness.sol
src/modules/keel-hold/tezos
keel_hold.pykeel_hold_onchfs.pykeel_index.py
A Rite is a set of enforceable rules.
The contract source reads like a workshop: a banner, a symbol, a short purpose, then the rules. Those names are meant to help you follow the system. The HoldKEEL's native onchain storage for the file bytes and the instructions for joining them back together.For exampleYour sketch and its shared drawing library are stored as separate objects in the Hold.Full glossary entry → stores. The DieThe artist's token contract. It records the Slabs, their owners or balances, supply, and presentation bindings.For exampleA Die can issue a series of 100 individually identified works.Full glossary entry → issues. The HarnessThe composition that runs the work: its selected resources, runtime context, and isolated environment.For exampleThe Harness connects your sketch to its drawing library and runs it inside the Cage.Full glossary entry → assembles. Each job has a boundary.
Use the map above to connect a job to its module family. The implementation tables below go deeper. This is an architecture guide, not a security audit or a claim that every module is deployed on every chain.
Follow the core jobs.
These are KEEL’s system roles. A role may involve several contracts and browser code; it is not always one contract with the same name.
| Role | Job for the work |
|---|---|
| HoldKEEL's native onchain storage for the file bytes and the instructions for joining them back together.For exampleYour sketch and its shared drawing library are stored as separate objects in the Hold.Full glossary entry → | Store the exact file bytes and their ordered joins. |
| IndexThe sealed inventory and presentation records that identify the work's pieces and their Marks. This protocol layer is different from the site's search indexer.For exampleThe inventory says this revision uses this sketch and this exact library version.Full glossary entry → | Record the inventory, versions, and presentation selection. |
| CrucibleThe verification layer. Its browser checks compare recovered files with the fingerprints and sizes the work declared.For exampleA changed script fails its check before the default shell opens it.Full glossary entry → | Check recovered resources and record specific verification or attestation evidence. |
| HarnessThe composition that runs the work: its selected resources, runtime context, and isolated environment.For exampleThe Harness connects your sketch to its drawing library and runs it inside the Cage.Full glossary entry → | Compose the selected PartsReusable components included in a work, with their own identities and permissions.For exampleSeveral artworks can share the same verified drawing library.Full glossary entry → and run creator content in the CageThe isolated browser box where creator code runs. The default environment does not give it a wallet or unrestricted network access.For exampleAn animated work can draw inside its box without receiving control of the gallery's wallet.Full glossary entry →. |
| DieThe artist's token contract. It records the Slabs, their owners or balances, supply, and presentation bindings.For exampleA Die can issue a series of 100 individually identified works.Full glossary entry → | Record SlabThe collectible token recorded in your wallet. It identifies an owned item and points to its work.For exampleYou collect Tidal Study #7. That token is your Slab; the artwork files have their own storage records.Full glossary entry → ownership or balances, supply, and allowed minting. |
| SleeveYour work's name, image and details in the standard format wallets and marketplaces already know how to show.For exampleThe Sleeve supplies a name and preview in the format the receiving tool expects. Full interaction still depends on that tool.Full glossary entry → | Expose the expected token and presentation information to other tools. |
| AnchorA record on another chain that points to one version of your work, so people can check a copy is kept there too.For exampleAn Anchor may document a checked copy; an attested route additionally depends on the named parties vouching for its observation.Full glossary entry → | Bind a stated revision to particular preservation or chain evidence. |
| PartsReusable components included in a work, with their own identities and permissions.For exampleSeveral artworks can share the same verified drawing library.Full glossary entry → & InlaysAttached components that contribute to another work's composition under its rules.For exampleA game character can display an equipped item while keeping the item's own identity.Full glossary entry → | Describe reusable and attached components under their own identities and policies. |
Technical detail: registries with similar names
KeelIndex handles active presentation records; KeelArtifactRegistry manages logical artifact revisions. KeelHarnessRegistry composes artifact slots and token forks. The builder’s shell registry selects reusable shell records and their revisions. KeelArtifactTokenRenderer assembles metadata for current creator collections. These are distinct jobs. The site’s searchable indexer is separate from all of them.
Other Rites add particular capabilities.
Mint controllers manage release rules and allocations. Equipment and stake systems handle attachments or custody. Identity records describe creators and attribution. Market and rights systems govern their own operations.
Use only the pieces the project needs. Adding a catalog entry or an AnchorA record on another chain that points to one version of your work, so people can check a copy is kept there too.For exampleAn Anchor may document a checked copy; an attested route additionally depends on the named parties vouching for its observation.Full glossary entry → does not automatically enable a sale, transfer, or cross-chain mint.
Technical reference: contract modules
Use this directory to find the contract family responsible for a particular job. Each family has its own interface; use the version for your chosen network.
| Module | Job |
|---|---|
| keel-anchors | Checks and records evidence for copies or commitments on other carriers and chains. |
| keel-artifacts | Records artifacts, revisions, HarnessThe composition that runs the work: its selected resources, runtime context, and isolated environment.For exampleThe Harness connects your sketch to its drawing library and runs it inside the Cage.Full glossary entry → compositions, links, seeds, and platform management. |
| keel-codecs | Decodes the data formats used by proof and resource readers. |
| keel-creator-identity | Records creator profiles, commitments, and attribution. |
| keel-cross-chain-mint | Manages publication jobs and separately authorized cross-chain mint requests. |
| keel-crucible | Records collection checks, attestations, fingerprints, and community preservation evidence. |
| keel-die | Issues and records tokens; organizes creator collections and renderer bindings. |
| keel-equipment | Handles equipment inventory, reservations, distribution, and constrained duplication. |
| keel-graph | Records relationships, PartsReusable components included in a work, with their own identities and permissions.For exampleSeveral artworks can share the same verified drawing library.Full glossary entry →, libraries, contract capabilities, and module reviews. |
| keel-harness | Builds the selected shell and resource presentation. |
| keel-hold | Stores SlugOne small piece cut from a larger file so it can be stored and recovered in manageable amounts.For exampleA large image needs several Slugs. Their order matters when rebuilding the image.Full glossary entry →, WeldAn ordered join that makes Slugs or smaller objects into a larger object.For exampleA Weld records that the first, second, and third pieces must be read in that order.Full glossary entry →, and immutable objects; includes IndexThe sealed inventory and presentation records that identify the work's pieces and their Marks. This protocol layer is different from the site's search indexer.For exampleThe inventory says this revision uses this sketch and this exact library version.Full glossary entry → presentation records. |
| keel-ip-control | Records scoped rights and the custody/execution rules of supported wrappers. |
| keel-kernel | Provides common access and encoding primitives used by other contracts. |
| keel-market | Provides the marketplace contract’s sale operations. |
| keel-mint-access | Enforces authorized mint routes, campaigns, drops, and FRAYKEEL's auction contest between an individual bidder and a collective of patrons. The separate FRAY game project uses KEEL too.For exampleThe published auction rules decide whether a unique-work or edition outcome is issued.Full glossary entry → issuance. |
| keel-presentation | Records a token’s presentation or visual state. |
| keel-sleeve | Supplies token metadata through a shared resolver. |
| keel-stake | Handles custody for objects used in supported stake workflows. |
| keel-web3-url | Exposes supported content through the web3:// resource interface. |
Learn what a method will do before calling it.
A read asks for existing information. A write proposes a change and normally requires a signed transaction with network costs. “Prepare” means creating data for later review.
A familiar method name can take different inputs in another version or on another chain. The contract’s interface describes the exact inputs you need.
Technical reference: common KEEL verbs
These are common KEEL operations and their method names. For input types and return values, use the ABI or native entrypoint schema for the contract you are calling.
| Job | EVM / Tezos naming |
|---|---|
| Store a SlugOne small piece cut from a larger file so it can be stored and recovered in manageable amounts.For exampleA large image needs several Slugs. Their order matters when rebuilding the image.Full glossary entry → | castSlug / cast_slug |
| Recover a SlugOne small piece cut from a larger file so it can be stored and recovered in manageable amounts.For exampleA large image needs several Slugs. Their order matters when rebuilding the image.Full glossary entry → | haulSlug / haul_slug |
| Join file pieces | weldObject / weld_object |
| Recover an object | haulObject / haul_object |
| Register a HarnessThe composition that runs the work: its selected resources, runtime context, and isolated environment.For exampleThe Harness connects your sketch to its drawing library and runs it inside the Cage.Full glossary entry → composition | forgeHarness / forge_harness |
| Build HarnessThe composition that runs the work: its selected resources, runtime context, and isolated environment.For exampleThe Harness connects your sketch to its drawing library and runs it inside the Cage.Full glossary entry → HTML | harnessHTML / harness_html |
| Register an artifact | forgeArtifact (exact native schema differs) |
| Create a DieThe artist's token contract. It records the Slabs, their owners or balances, supply, and presentation bindings.For exampleA Die can issue a series of 100 individually identified works.Full glossary entry → | castDie in KeelFactory; the current creator factory has its own APIs |
| Strike a SlabThe collectible token recorded in your wallet. It identifies an owned item and points to its work.For exampleYou collect Tidal Study #7. That token is your Slab; the artwork files have their own storage records.Full glossary entry → | The authorized mint surface of the chosen DieThe artist's token contract. It records the Slabs, their owners or balances, supply, and presentation bindings.For exampleA Die can issue a series of 100 individually identified works.Full glossary entry →; not an arbitrary transfer call |

