Page cover image

Onchain Art

How to mint onchain art with Transient contracts

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

Requirements

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 data uri tool with the following settings:

Minting

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

  1. Go to The Lab and create a new contract

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

  3. Click on the "Contract" tab

  4. Click on "Write contract as proxy"

  5. Connect your wallet

  6. Scroll to the "mint" function

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

  8. Enter in your address as the `recipient`

  9. Hit write and send the transaction

  10. Done!

Last updated