Schlagwort-Archive: NFTs

Blue Skies NFT (english)

(deutsche Version hier)

Recently, I have been asked more and more often whether I (in my role as a blockchain consultant) can also „make“ NFTs. I already created a few NFTs on OpenSea and mintable.app a long time ago and know the advantages, but also the disadvantages of such platforms. So now it was time to make „real“ NFTs. By that I mean NFTs with their own smart contract, where you can control everything yourself and also add special functions.

Since I’m not an artist, my first question to myself was, „So for which usecase?“ I decided on „give-away“ NFTs that I can give to my clients, partners and friends. Most of them, however, are not extremely crypto-savvy. All the better, then they can get a taste of the NFT universe right away…

So in the course of creating it, I looked at the current toolchains – I had worked with Truffle/Ganache before and with Remix often anyway. Now I got to know Hardhat and I liked it right away. So off I went!

After installing Hardhat (plus accessories), I added an IPFS Node so that I could manage the artwork and metadata more comfortably, and Pinata was added as a pinning service. I also took the dashboard from Truffle and my good old friend Metamask as an interface to the blockchains.

To generate the images, I programmed a script in PHP that cuts out parts (shifted) from a large image (source/licence) and inserts the caption.

Generated Images

The Json metadata were also generated with a script and got extended attributes, which OpenSea can show. All this data was then put on the IPFS.

Example for Metadata

The Smart Contract is of course ERC721 compatible, there are enough examples on the web. I added a „burn“ function as well as functions to give each NFT a „dedication“, which is then stored on the blockchain.

Speaking of the blockchain: After some deliberation, I decided to put the NFTs on Gnosis (formerly xDai) and Polygon, as these two chains are a more affordable alternative to Ethereum itself, but with the same range of functions.

After a few evenings, everything was ready and the NFTs deployed (Contract on Gnosis, Contract on Polygon).

Now I still have to please my customers, partners and friends with it. Then I will be available for more cool projects 😉

P.S.: By the way, the Polygon version can also be viewed and traded on OpenSea.

„Blue Skies“ on OpenSea

Addendum: Viewing/managing NFTs on the smartphone is a problem for various apps. But there is also the Minerva Wallet from my Graz-based friends at lab10 collective eG. that does it really well.

Minerva Wallet: Overview of chains, accounts, tokens and NFTs, displaying and sending of NFTs.

Thanks!

Blue Skies NFT (deutsch)

(english version here)

In der letzten Zeit werde ich immer öfter gefragt, ob ich (in meiner Rolle als Blockchain-Consultant) auch NFTs „machen“ kann. Schon vor längerer Zeit habe ich ein paar NFTs auf OpenSea und mintable.app erstellt und kenne die Vorteile, aber auch die Nachteile von solchen Plattformen.  Jetzt wurde es also Zeit, „richtige“ NFTs zu machen. Damit meine ich NFTs mit einem eigenen Smart Contract, wo man selbst alles unter Kontrolle hat und auch Spezialfunktionen einbauen kann.

Da ich kein Künstler bin, lautete meine erste Frage an mich: „Für welchen Usecase also?“ Ich entschied mich für „Give-Away“ NFTs, die ich meinen Kunden, Partnern und Freunden schenken kann. Die meisten von ihnen sind allerdings nicht extrem crypto-affin. Umso besser, dann können sie gleich in das NFT-Universum hineinschnuppern…

Im Zuge der Erstellung sah ich mir also die aktuellen Toolchains an – mit Truffle/Ganache hatte ich schon mal gearbeitet und mit Remix sowieso schon oft. Jetzt lernte ich Hardhat kennen und es gefiel mir gleich auf Anhieb. Also los!

Nach der Installation von Hardhat (plus Zubehör) kam noch ein IPFS-Node dazu, damit ich das Artwork und die Metadaten komfortabler managen kann, als Pinning-Service kam Pinata dran. Von Truffle nahm ich noch das Dashboard dazu und als Schnittstelle zu den Blockchains den guten alten Freund Metamask.

Um die Images zu generieren, programmierte ich ein Script in PHP, das aus einem großen Bild (Quelle/Lizenz) Teile (verschoben) ausschneidet und die Beschriftung einbaut.

Generierte Images

Die Json-Metadaten wurden ebenso mit einem Script generiert und bekamen auch gleich erweiterte Attribute, die z.B. OpenSea anzeigen kann. Alle diese Daten kamen dann aufs IPFS.

Beispiel für Metadaten

Der Smart Contract ist natürlich ERC721 kompatibel, dazu gibt es im Netz genügend Beispiele. Ich fügte noch eine „Burn“-Funktion dazu sowie Funktionen, mit denen man jedem NFT eine „Widmung“ geben kann, die dann auf der Blockchain gespeichert wird.

Apropos Blockchain: Nach einigen Überlegungen entschied ich mich, die NFTs auf Gnosis (früher xDai) und Polygon zu stellen, da diese beiden Chains bei selbem Funktionsumfang eine deutlich günstigere Alternative zu Ethereum selbst sind.

Nach ein paar Abenden war dann alles fertig und die NFTs deployed (Contract auf Gnosis, Contract auf Polygon).

Jetzt muss ich noch meine Kunden, Partner und Freunde damit erfreuen. Dann stehe ich für weitere coole Projekte zur Verfügung 😉

P.S.: Die Polygon Version kann übrigens auch auf OpenSea betrachtet bzw. gehandelt werden.

„Blue Skies“ auf OpenSea

Nachtrag: NFTs am Smartphone zu betrachten/verwalten ist für diverse Apps ein Problem. Aber es gibt auch das Minerva Wallet von meinen Grazer Freunden der lab10 collective eG., das macht das richtig gut.

Minerva Wallet: Übersicht Chains, Accounts, Tokens und NFTs, Darstellung und Versand von NFTs.

Danke!