🗂 Have your NFTs neatly organized in our Ownerfy smart contract.

Overview

A smart contract is where your data and logic live on the blockchain. Typically you will want your own smart contract to distinguish between your NFTs and another company or brand. If you share a smart contract with other companies or brands there is no way to tell what brand published the NFTs from looking at the blockchain alone. This is why shared contract sites such as OpenSea where everyone has a shared smart contract are not ideal places to mint NFTs. The data for which NFT was created by which creator lives only in the OpenSea database, off-chain. For this reason you will want to create your own smart contract and we make that really easy.

Overall Process

The illustration below explains briefly the contract creation process.

1080

What are the preconditions?

Ownerfy allows you to easily create a smart contract by making an API call using a POST/https://staging.ownerfy.io/api/v1/collection/create endpoint.

Your request body must include the parameters as defined below.

ParametersDescription
nameThis parameter represents the title of your smart contract`.
contract_typeOptional: "unlimited_v1" is the only type available for now or you can leave it blank. This allows you to mint continuously. `

You need to provide a request as follows:

curl --request POST \
     --url https://staging.ownerfy.io/api/v1/collection/create \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "name": "string",
     "contract_type": "unlimited_v1"
}
'

It's Completed! ✅

If the request is successfully processed, it will return a JSON body that contains a transaction ID and contract status as seen in the following code sample.

{
  "transactionId": "your_transaction_id",
  "status": "transaction_status"
}

By having a smart contract, you are allowed to:

  • Mint an NFT
    Mint your NFT easily and directly to another wallet.

  • Transfer an NFT
    Transfer an NFT to another external address/wallet seamlessly.

📘

You can check all created smart contracts by calling the API GET Get All Contracts Created endpoint.