{"id":29513,"date":"2023-02-13T16:14:29","date_gmt":"2023-02-13T16:14:29","guid":{"rendered":"https:\/\/thebluemanakin.com\/?page_id=29513"},"modified":"2023-02-13T23:06:42","modified_gmt":"2023-02-13T23:06:42","slug":"how-to-write-an-nft-smart-contract","status":"publish","type":"page","link":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/","title":{"rendered":"How to write an NFT Smart Contract"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"29513\" class=\"elementor elementor-29513 elementor-29512\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-551f97f7 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no\" data-id=\"551f97f7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7bc0895f\" data-id=\"7bc0895f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-29fa9ee4 elementor-widget elementor-widget-heading\" data-id=\"29fa9ee4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">How to write an NFT Smart Contract<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-eed8f56 elementor-widget elementor-widget-text-editor\" data-id=\"eed8f56\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Writing an NFT smart contract is something that can be done with programming, if we are not programmers we can hire one to make our own NFTs code, but here we will discuss how to do it with some common platforms for the creation of smart contracts.<\/p>\n<h2>What is a Smart Contract?<\/h2>\n<p>A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs on different platforms such as Opensea.<\/p>\n<h2>What are the advantages of having our own smart contract?<\/h2>\n<p>Creating your own smart contract, as opposed to having a shared one from platforms such as Opensea, gives you many advantages such as:<\/p>\n<ul>\n<li>platform independence<\/li>\n<\/ul>\n<ul>\n<li>You do not run the risk of having your collection limited or undergoing policy changes.<\/li>\n<\/ul>\n<ul>\n<li>You have more courage and confidence in the long run<\/li>\n<\/ul>\n<ul>\n<li>Making\u00a0<a href=\"https:\/\/thebluemanakin.com\/en\/web-3-0-agency\/\">web3<\/a>\u00a0integrations easier<\/li>\n<\/ul>\n<h2><strong>Manifold.xyz<\/strong><\/h2>\n<p>Manifold.xyz is a completely free and one of the most convenient tools to create smart contracts in Ethereum without programming and allows to set shared royalties for all marketplaces that support this option.<\/p>\n<p>To create our own smart contract:<\/p>\n<ul>\n<li>Let\u2019s go to the application<\/li>\n<li>Click on Start New Contract.<\/li>\n<li>Choose whether we want it to be ERC-721 (1\/1) or ERC-1155 (1\/x) NFTs.<\/li>\n<li>We write the name of the collection and the initials<\/li>\n<\/ul>\n<p>The contract goes to an ethereum test blockchain known as Rinkeby where we can request ETH for free in order to minify the contract and verify that everything is correct so we can now launch it to the ethereum mainnet by clicking on \u201cEdit\u201d in the Dashboard and clicking on \u201cConfirm\u201d.<\/p>\n<p>In our Dashboard we can also see the smart contracts we have created and manage them to create new NFTs or give access to wallets.<\/p>\n<p>Manifold offers other options but for them you must have a little knowledge in programming, but in general as we have explained you can generate smart contracts.<\/p>\n<h2><strong>Rarible<\/strong><\/h2>\n<p>Rarible can create smart contracts on Ethereum, Tezos and Flow blockchains by following these steps:<\/p>\n<ul>\n<li>Go to Create<\/li>\n<li>We choose the blockchain of our preference.<\/li>\n<li>Log in with the corresponding wallet<\/li>\n<li>Click on \u201cCreate Collection\u201d.<\/li>\n<li>We generate our own smart contract.<\/li>\n<li>We fill in information such as the name of the collection, the contract and initials<\/li>\n<\/ul>\n<p>The process would be followed in the same way for all blockchains.<\/p>\n<h2><strong>Studio 721<\/strong><\/h2>\n<p>Studio 721 helps us to generate our smart contract in Ethereum offering us several useful tools, it is somewhat more advanced but the customization possibilities it has are greater.<\/p>\n<p>The platform allows us to get a little more into the generated code, thus introducing modifications, and it also allows us to generate a pfp project with its Artkit in the smart contract.<\/p>\n<p>Studio 721 You can:<\/p>\n<ul>\n<li>Make collaborations with other collections so that users who own your NFT can mine in your smart contract,<\/li>\n<li>Generate whitelists<\/li>\n<li>Store your NFT metadata wherever you want.<\/li>\n<li>You can create an interface to mine NFTs in a specific contract.<\/li>\n<\/ul>\n<p>As we can see, there are platforms that make it easier for us to generate our smart contracts, so there is no excuse not to start creating our collection if we have a good idea. In The Blue Manakin we are always here to guide you with your collection.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How to write an NFT Smart Contract Writing an NFT smart contract is something that can be done with programming, if we are not programmers we can hire one to make our own NFTs code, but here we will discuss how to do it with some common platforms for the creation of smart contracts. What is a Smart Contract? A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs on different platforms such as Opensea. What are the advantages of having our own smart contract? Creating your own smart contract, as opposed to having a shared one from platforms such as Opensea, gives you many advantages such as: platform independence You do not run the risk of having your collection limited or undergoing policy changes. You have more courage and confidence in the long run Making&nbsp;web3&nbsp;integrations easier Manifold.xyz Manifold.xyz is a completely free and one of the most convenient tools to create smart contracts in Ethereum without programming and allows to set shared royalties for all marketplaces that support this option. To create our own smart contract: Let\u2019s go to the application Click on Start New Contract. Choose whether we want it to be ERC-721 (1\/1) or ERC-1155 (1\/x) NFTs. We write the name of the collection and the initials The contract goes to an ethereum test blockchain known as Rinkeby where we can request ETH for free in order to minify the contract and verify that everything is correct so we can now launch it to the ethereum mainnet by clicking on \u201cEdit\u201d in the Dashboard and clicking on \u201cConfirm\u201d. In our Dashboard we can also see the smart contracts we have created and manage them to create new NFTs or give access to wallets. Manifold offers other options but for them you must have a little knowledge in programming, but in general as we have explained you can generate smart contracts. Rarible Rarible can create smart contracts on Ethereum, Tezos and Flow blockchains by following these steps: Go to Create We choose the blockchain of our preference. Log in with the corresponding wallet Click on \u201cCreate Collection\u201d. We generate our own smart contract. We fill in information such as the name of the collection, the contract and initials The process would be followed in the same way for all blockchains. Studio 721 Studio 721 helps us to generate our smart contract in Ethereum offering us several useful tools, it is somewhat more advanced but the customization possibilities it has are greater. The platform allows us to get a little more into the generated code, thus introducing modifications, and it also allows us to generate a pfp project with its Artkit in the smart contract. Studio 721 You can: Make collaborations with other collections so that users who own your NFT can mine in your smart contract, Generate whitelists Store your NFT metadata wherever you want. You can create an interface to mine NFTs in a specific contract. As we can see, there are platforms that make it easier for us to generate our smart contracts, so there is no excuse not to start creating our collection if we have a good idea. In The Blue Manakin we are always here to guide you with your collection.<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":11992,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","telegram_tosend":false,"telegram_tosend_message":"","telegram_tosend_target":0,"ep_exclude_from_search":false,"footnotes":""},"class_list":["post-29513","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN<\/title>\n<meta name=\"description\" content=\"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN\" \/>\n<meta property=\"og:description\" content=\"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/\" \/>\n<meta property=\"og:site_name\" content=\"Blue Manakin\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-13T23:06:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@thebluemanakin\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/\",\"url\":\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/\",\"name\":\"How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN\",\"isPartOf\":{\"@id\":\"https:\/\/thebluemanakin.com\/#website\"},\"datePublished\":\"2023-02-13T16:14:29+00:00\",\"dateModified\":\"2023-02-13T23:06:42+00:00\",\"description\":\"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs\",\"breadcrumb\":{\"@id\":\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thebluemanakin.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FAQ\",\"item\":\"https:\/\/thebluemanakin.com\/en\/faq\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to write an NFT Smart Contract\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thebluemanakin.com\/#website\",\"url\":\"https:\/\/thebluemanakin.com\/\",\"name\":\"Blue Manakin\",\"description\":\"Blue Manakin. Come Dance With Us!\",\"publisher\":{\"@id\":\"https:\/\/thebluemanakin.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thebluemanakin.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/thebluemanakin.com\/#organization\",\"name\":\"Blue Manakin\",\"url\":\"https:\/\/thebluemanakin.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thebluemanakin.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/thebluemanakin.com\/wp-content\/uploads\/2021\/07\/cropped-logo-header.png\",\"contentUrl\":\"https:\/\/thebluemanakin.com\/wp-content\/uploads\/2021\/07\/cropped-logo-header.png\",\"width\":613,\"height\":250,\"caption\":\"Blue Manakin\"},\"image\":{\"@id\":\"https:\/\/thebluemanakin.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/thebluemanakin\",\"https:\/\/www.instagram.com\/thebluemanakin\/\",\"https:\/\/www.linkedin.com\/company\/blue-manakin\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN","description":"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/","og_locale":"en_US","og_type":"article","og_title":"How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN","og_description":"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs","og_url":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/","og_site_name":"Blue Manakin","article_modified_time":"2023-02-13T23:06:42+00:00","twitter_card":"summary_large_image","twitter_site":"@thebluemanakin","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/","url":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/","name":"How to write an NFT Smart Contract FAQ | THE BLUE MANAKIN","isPartOf":{"@id":"https:\/\/thebluemanakin.com\/#website"},"datePublished":"2023-02-13T16:14:29+00:00","dateModified":"2023-02-13T23:06:42+00:00","description":"A smart contract is a code stored in the blockchain. In the NFT world it is what contains the collection of digital assets that we create and with it we can sell our NFTs","breadcrumb":{"@id":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/thebluemanakin.com\/en\/faq\/how-to-write-an-nft-smart-contract\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thebluemanakin.com\/"},{"@type":"ListItem","position":2,"name":"FAQ","item":"https:\/\/thebluemanakin.com\/en\/faq\/"},{"@type":"ListItem","position":3,"name":"How to write an NFT Smart Contract"}]},{"@type":"WebSite","@id":"https:\/\/thebluemanakin.com\/#website","url":"https:\/\/thebluemanakin.com\/","name":"Blue Manakin","description":"Blue Manakin. Come Dance With Us!","publisher":{"@id":"https:\/\/thebluemanakin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thebluemanakin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/thebluemanakin.com\/#organization","name":"Blue Manakin","url":"https:\/\/thebluemanakin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thebluemanakin.com\/#\/schema\/logo\/image\/","url":"https:\/\/thebluemanakin.com\/wp-content\/uploads\/2021\/07\/cropped-logo-header.png","contentUrl":"https:\/\/thebluemanakin.com\/wp-content\/uploads\/2021\/07\/cropped-logo-header.png","width":613,"height":250,"caption":"Blue Manakin"},"image":{"@id":"https:\/\/thebluemanakin.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/thebluemanakin","https:\/\/www.instagram.com\/thebluemanakin\/","https:\/\/www.linkedin.com\/company\/blue-manakin"]}]}},"_links":{"self":[{"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/pages\/29513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/comments?post=29513"}],"version-history":[{"count":6,"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/pages\/29513\/revisions"}],"predecessor-version":[{"id":29558,"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/pages\/29513\/revisions\/29558"}],"up":[{"embeddable":true,"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/pages\/11992"}],"wp:attachment":[{"href":"https:\/\/thebluemanakin.com\/en\/wp-json\/wp\/v2\/media?parent=29513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}