Transient Labs Developer Docs
  • 👋Welcome!
  • 📑TL Creator Contracts
    • Creator Contracts Overview
    • Implementation Contracts
      • v3.x.x
      • v2.x.x
      • v1.x.x
    • Smart Contract Documentation
    • Common Features
      • Access Control
      • Royalties
      • Story Inscriptions
      • NFT Delegation
      • BlockList
    • ERC721TL
    • ERC1155TL
    • Shatter
    • ERC7160TL
    • Doppelganger
    • Collector's Choice
  • ⛔BlockList
    • BlockList Overview
    • Implementation Contracts
    • Deployments
    • Smart Contract Documentation
  • 🔖Story Inscriptions
    • Story Inscriptions Overview
    • Story Inscription Format
    • Smart Contract Documentation
  • 🖼️T.R.A.C.E.
    • T.R.A.C.E. Overview
    • Record Schema
    • Implementation
    • Smart Contract Documentation
      • TRACE
      • TRACERSRegistry
  • 🥞Stacks
    • Stacks Overview
    • Deployments
    • Smart Contract Documentation
  • 🎨Dynamic Art
    • Dynamic Art Overview
    • How to Create
    • How to Display
  • 🔗Integrations
    • Deploying TL Contracts
    • NFT Delegation
    • Integrating with Marketplaces
    • Metadata Structure
    • Inheriting TL Contracts
    • Onchain Art
    • Embeddable Components
  • ❔Miscellaneous
    • Supported Blockchains
    • tl-sol-tools
    • Licensing
    • Batch Upload Secret JSON
Powered by GitBook
On this page
  • Requirements
  • Minting
  1. Integrations

Onchain Art

How to mint onchain art with Transient contracts

PreviousInheriting TL ContractsNextEmbeddable Components

Last updated 1 month ago

It's totally possible to mint fully onchain art with Transient contracts!

Requirements

  • Metadata must meet the Transient metadata specs: Metadata Structure

  • Total size of the data must be below 24kb

  • All uris must be base 64 encoded data uris

    • You can use this tool to convert images to data uris:

  • Generate the JSON by pasting the following template into this tool and then editing the values:

name = title
description = description
image = data:image/jpeg;base64,asgasdgjasdga
media
  size = 1234
  dimensions = 300x300
  mimeType = image/jpeg
  • Convert this json to a base64 data uri using the with the following settings:

Minting

You must use a block explorer to mint onchain art with Transient contracts.

  1. Once deployed, you need to click on the block explorer icon to be taken to the approprite url

  2. Click on the "Contract" tab

  3. Click on "Write contract as proxy"

  4. Connect your wallet

  5. Scroll to the "mint" function

  6. Enter in the final data uri (json that is base64 encoded) as the `uri`

  7. Enter in your address as the `recipient`

  8. Hit write and send the transaction

  9. Done!

Go to and create a new contract

The Lab
🔗
https://dopiaza.org/tools/datauri/index.php
https://www.objgen.com/json
data uri tool
Page cover image