Onchain Art
How to mint onchain art with Transient contracts
Last updated
How to mint onchain art with Transient contracts
Last updated
It's totally possible to mint fully onchain art with Transient contracts!
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: https://dopiaza.org/tools/datauri/index.php
Generate the JSON by pasting the following template into this tool and then editing the values: https://www.objgen.com/json
Convert this json to a base64 data uri using the data uri tool with the following settings:
You must use a block explorer to mint onchain art with Transient contracts.
Go to The Lab and create a new contract
Once deployed, you need to click on the block explorer icon to be taken to the approprite url
Click on the "Contract" tab
Click on "Write contract as proxy"
Connect your wallet
Scroll to the "mint" function
Enter in the final data uri (json that is base64 encoded) as the `uri`
Enter in your address as the `recipient`
Hit write and send the transaction
Done!