Minting an NFT

Creating NFTs is a foundational component of many web3 games. It's a way to form and engage communities, unlock in-game functionality, and so much more. However, creating NFTs isn't as straightforward as it should be. Oftentimes, 1000's of assets have to be defined and paid for in advance, before a user even mints the NFT. We set out to make it simple and cost-effective to mint NFTs in a flexible and programmatic way.

Minting an NFT in-game

We made a simple API for you to create NFTs in-game. Whether you want to build a storefront, mint NFTs for dynamic quests and achievements, or allow users to mint a screenshot of their boss kill, we've got you covered.

Below is an example of a mint request:

curl --request POST \
     --url '' \
     --header 'Authorization: Bearer <PROJECT_API_TOKEN>' \
     --header 'accept: application/json' \
     --data '
        "payer": "jnU9cfqXwWkKTSwXd54L2ZSJau1aNTEBNZ4xVGYg9of",
        "recipient": "jnU9cfqXwWkKTSwXd54L2ZSJau1aNTEBNZ4xVGYg9of",
        "collection_id": "33DRQ33euW9cGpNxc3vnivafJttj7tYSzhGqurrzJJzj",
        "metadata": {
            "name": "Fun NFT",
            "symbol": "FNFT",
            "description": "A fun NFT!",  
            "seller_fee_basis_points": 100,
            "creators": [
                    "address": "jnU9cfqXwWkKTSwXd54L2ZSJau1aNTEBNZ4xVGYg9of",
                    "share": 90
            "attributes": {
                "awesome_factor": "1337",
                "cool_factor": "9999"
            "image_bytes": "<your_image_bytes>"

As you can see in the above code snippet, there's a lot of flexibility in the API. You can configure who pays for the NFT, set the price of the NFT, define what the royalties and ownership structure looks like, select which collection the NFT will be minted to, define what attributes and media will be attached to the NFT, and so on.

In the response, you'll receive a URL where the user can sign the mint transaction. Simply redirect the user and wait for them to sign the transaction!

Listing Dynamically minted NFT's for sale

We provide the ability for you to mint directly into NFT collections which are visible on Fractal. This means you could have an “in-game items” or “achievements” collection on our site, and users can immediately list those NFTs for sale on Fractal, opening up the possibility for new in-game economies. Contact us to add your collections, and soon you will be able to manage them yourself!

Managed update authority & treasury wallets

Managing an NFT collection means you need to worry about keeping the update authority and treasury wallets secure. To further simplify your workflow, Fractal offers the ability to manage these wallets, keep them secure, and sign transactions on your behalf. If you'd prefer to manage these wallets yourself, let us know. We're working towards supporting self-managed wallets.