not connected
FRENT (beta) Building onchain tools

FRENT collection factory

FRENT uses the established FrentPixelArtFactory flow. The factory is deployed once per supported EVM network. Each creator then calls deployCollection once to create a complete FrentPixelArtCollection ERC-721 contract.

Simple architecture

FrentPixelArtFactory ── deployCollection(...) ──> FrentPixelArtCollection

There is no separate registry, renderer, artwork store or extension contract in this active flow. Each collection stores its optimized token SVGs and attributes itself. FRENT records these deployments as frent-onchain-v1.

Creator transaction flow

1. Deploy collection

The creator signs one factory transaction containing the collection settings already prepared by FRENT.

factory.deployCollection(
  name,
  symbol,
  maxSupply,
  description,
  payoutWallet,
  launchTime,
  mintPrice,
  royaltyReceiver,
  royaltyBps
)

2. Synchronize and freeze the artwork

FRENT converts every finished pixel image into a compact SVG, writes the SVG and traits to the collection, and only allows freezing after all token artwork is present.

collection.setTokenDataBatch(tokenIds, svgs, attributesJson)
collection.freezeMetadata()

3. Publish one fair launch

The collection uses one public launch date and one price for everyone, without allowlists, mint stages, or per-wallet limits.

4. Collectors mint

Ownership, supply, launch timing, public price, payments, and royalty configuration are enforced by the collection contract.

collection.mint(quantity)

5. Payment settles immediately

Each paid mint sends the creator amount directly to payoutWallet and the fixed per-mint protocol fee directly to the factory-configured fee recipient. The collection does not hold proceeds for a later withdrawal.

What cannot change

maxSupply, launchTime, mintPrice, fee recipient, and protocol fee are immutable per collection. The owner can update the payout wallet and royalty settings, pause minting, and update token artwork until metadata is frozen.

Artwork storage

The active frent-onchain-v1 contract returns an embedded base64 JSON document from tokenURI(tokenId). That JSON contains the token traits and another embedded base64 SVG. Marketplaces therefore need no FRENT server or IPFS gateway to render the artwork.

Deployment cost

Only the factory must be deployed as shared infrastructure. A creator deploys one collection contract, so the wallet can estimate the actual network cost before confirmation. Supply is stored as a number and does not require one deployment per token.