WTF is NFT? Petyo Dimitrov | Senior Software Architect

Our NFT use case SaaS sales platform for digital products NFT feature – to offer a limited number of “tokens” alongside digital product releases

Agenda What is it? Can I steal it? How to “mint” it? What’s next?

Fungible?

Fungible?

What is it? • Non-Fungible Token • Blockchain benefits • Started with Ethereum o Permanence • Smart contract deployed on Blockchain o Transparency o Ownership o Security*

Can I steal it?

How to “mint” it?

Select a Blockchain (Görli, Sepolia)

Create a wallet & add crypto

Implement your Smart contract pragma solidity ^0.8.0; import import import import “@openzeppelin/contracts/token/ERC721/ERC721.sol”; “@openzeppelin/contracts/utils/Counters.sol”; “@openzeppelin/contracts/access/Ownable.sol”; “@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol”; contract IstaConNFT is ERC721URIStorage, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; constructor() ERC721(“istacon”, “NFT”) {} function mintNFT(address recipient, string memory tokenURI) public onlyOwner returns (uint256) { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(recipient, newItemId); _setTokenURI(newItemId, tokenURI); return newItemId; } }

Store the digital content • InterPlanetary File System (IPFS) • Public, distributed & resilient • Content addressing via hashing – content cannot be changed ipfs://bafybeiebenrq5mszbmpqrs24xl454lgdnvuryyrl73v3hkq445gvoqpjqu/

Use an API

Use API calls to deploy the contract and mint the NFT

View the results 0xf755c3176dd30facdf08 61caf2db94a61eadeff879 54fd33ab13c01a7ab4c112

Lessons learned from our use case • Ethereum is fancy but more expensive and slower o ETH: o CELO: 10-100 EUR, ~0.0005 EUR, duration: minutes duration: seconds • Many “sales” materials online – but few good developer resources • Dynamic area (prices, deprecated testnets, new Blockchains)

What’s next?

Collectibles

Investment? Image by jcomp on Freepik

Illegal activities Image by Racool_studio on Freepik

Intellectual property Image by pikisuperstar on Freepik

Summary

Thanks! Questions?