<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 0xRebels on Medium]]></title>
        <description><![CDATA[Stories by 0xRebels on Medium]]></description>
        <link>https://medium.com/@0xRebels?source=rss-6641ccae4b5e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zg1sLADokIXztsJAkagpQA.png</url>
            <title>Stories by 0xRebels on Medium</title>
            <link>https://medium.com/@0xRebels?source=rss-6641ccae4b5e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 08:14:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0xRebels/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Preventing counterfeiting with NFTs, L1, and L2 blockchains]]></title>
            <link>https://medium.com/@0xRebels/preventing-counterfeiting-with-nfts-l1-and-l2-blockchains-27d5201749e1?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/27d5201749e1</guid>
            <category><![CDATA[customer-protection]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[metaverse]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 21:29:11 GMT</pubDate>
            <atom:updated>2023-09-22T21:29:11.811Z</atom:updated>
            <content:encoded><![CDATA[<p>Before getting any further, let’s first make it clear how big of a problem counterfeiting is:</p><blockquote>“[…] While estimates vary, the total amount of counterfeit goods sold each year comes in at around <a href="https://www.uspto.gov/sites/default/files/documents/USPTO-Counterfeit.pdf">$1.7 trillion to $4.5 trillion</a>, which would make counterfeiting at least the <a href="https://www.investopedia.com/insights/worlds-top-economies/">tenth largest economy</a> — just above Canada’s total GDP and possibly the fourth largest above Germany. It’s also responsible for <a href="https://cdn.iccwbo.org/content/uploads/sites/3/2016/11/ICC-BASCAP-Global-Impacts-Full-Report-2011.pdf">2.5 million lost jobs globally</a>.”</blockquote><blockquote>Source: <a href="https://www.forbes.com/sites/forbesbusinesscouncil/2022/08/02/the-global-impact-of-counterfeiting-and-solutions-to-stop-it">Forbes.com</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCnar3f56tGU99gnewkRdw.png" /><figcaption><em>RealThings.Io — Verify the product legitimacy and claim the provenance NFT</em>.</figcaption></figure><p>I am very fond of NFTs, and the technology behind them can help us solve many real-world problems. In this article, I present and explore the idea of a blockchain-based provenance protocol and how NFTs can help prevent counterfeiting, protect brands and their revenue, and protect the customers and their hard-earned money. I will also briefly reflect on secondary benefits to the brands and products that employ this blockchain-based provenance protocol.</p><p>As I can’t help but start building the thing I am talking about, I will refer to this blockchain-based provenance protocol as RealThings. Depending on when you read this, something might already be available on <a href="https://realthings.io./">r</a>ealthings.io, but it is going to take at least a couple of weeks to make something available to the public.</p><p>Let’s dive into the concept, benefits, integration, and application of RealThings provenance protocol without further ado.</p><h3><strong>Why bother with provenance in the first place?</strong></h3><p>There are two points of view to consider — businesses and customers’ (I do not like calling people consumers).</p><p>From the business perspective, the impact and relevance of each point may vary depending on the business size and the product line batch size. However, ask yourself these questions:</p><p><strong>Would you like to enable your customers to verify if the item they are buying is a real thing?</strong></p><p><strong>Would you like to enable the customers to verify if they are buying stolen goods?</strong></p><p><strong>Would you like to make it impossible for the counterfeiters to claim their product is authentic?</strong></p><p>The blockchain provenance protocol ensures that each product you make is recorded on-chain. If it’s not on-chain, it’s not a real thing. Counterfeiters can make it look real and copy the tiniest detail. Still, they won’t be able to fool anyone because buyers will know if it’s real in just a couple of seconds.</p><p>Empowering your customers to make informed decisions and making it difficult for counterfeiters to copy your product protects your brand, boosts the perception of your brand in the eyes of the customer, and protects your bottom line, which, in return, protects someone’s job.</p><p>Besides all these, adding this extra layer of protection to your product line via the blockchain-based provenance protocol makes your brand stand out. It helps your product be perceived as a luxury item worth protecting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*H54BLmpLzlz2wGye6NYAOA.jpeg" /></figure><h3><strong>Crypto — bad. NFTs — baaaad. Are they?</strong></h3><p>I want to make one more argument. If your product comes with or integrates with NFTs, a prospective buyer who is a proponent of NFTs will, most likely, choose your product over the competitors.</p><p>NFTs bring people together. You see the potential of the technology, or you don’t see it — until it becomes a norm.</p><p>Using RealThings.io to add the blockchain and NFT aspect to your product opens the doors to connecting and identifying with a vast new customer base. These new customers will undoubtedly have a sense of belonging and connection to you because they belong to the same club; you both see things differently and believe NFTs are the future.</p><h3><strong>How does RealTings.io work?</strong></h3><figure><img alt="RealThings.io — Verify the product authenticity" src="https://cdn-images-1.medium.com/max/1024/1*pTiDBS3nSyyPUbziDXH52A.png" /><figcaption>RealThings.io — Verify the product authenticity</figcaption></figure><h4><strong>Selling with RealThings.io</strong></h4><p>Here’s how the sequence of events might look for a business.</p><ol><li>Each product from your production line or out of your workshop has a unique code. If you want to be fancy, it can be a QR code or an RFID tag, but it holds a unique product identifier.</li><li>Each batch of products and their unique identifiers are inscribed onto the blockchain and into the smart contract handling the provenance of your products.</li><li>Next, the metadata structure is defined for the product batch. Metadata is customizable and can include production data, factory, QA inspector, color, size, type, and other properties, depending on how detailed you want it to be.</li><li>Artwork is next. You can specify a single image to be the artwork representation of each product in the given batch, or you can upload a unique artwork or a photo for each product.</li><li>And finally — the NFTs. Depending on the batch size and the blockchain, you can either pre-mint all the NFTs immediately and transfer them to the buyers after purchase or have the buyers mint the NFT after buying your products.</li></ol><figure><img alt="RealThings.io — Claim the provenance NFT." src="https://cdn-images-1.medium.com/max/1024/1*GpS51Y1kRCDCua6IjbPDxg.png" /><figcaption>RealThings.io — Claim the provenance NFT.</figcaption></figure><h4><strong>Buying a new product with RealThings.io</strong></h4><p>Here’s how it would look like from the customers’ perspective when buying a new product:</p><p>Before purchasing, you would find the QR code or something else to “scan” on the product. Scanning the QR code would take you to a page on the manufacturer’s website (or to a page on the RealThings website). Based on the information you scanned, we would check the following for the item you’re holding in your hands:</p><ol><li>Does it exist on the blockchain? If not, you’re holding a counterfeit.</li><li>Can you claim the NFT associated with this item? If not, the product is either counterfeit or not new because someone already claimed the NFT.</li><li>If you can claim the NFT for this product, it’s safe to buy. You buy the product and proceed to claim the associated NFT.</li><li>Once the NFT is in your wallet, you can access a dedicated area of the RealThings website to manage and personalize your item’s metadata. From this dedicated area, you can mark your item as lost or stolen, which would also be inscribed in the metadata and the blockchain.</li></ol><h4><strong>Buying a used product with RealThings.io</strong></h4><p>Here’s how it would work when buying and selling a used item:</p><ol><li>When purchasing a used item, you would scan the QR code and be taken to the verification page. Besides verifying the product’s legitimacy, you can also see if the item you’re buying is reported stolen or lost.</li><li>The seller should transfer the accompanying NFT to you during the sale. If the seller does not possess the NFT or you can’t claim one, it’s a warning sign.</li><li>Once you get the NFT, you can update the metadata with your information — if you want to have that public.</li><li>You can see the provenance of the item and the history of ownership.</li></ol><h3><strong>Which products and brands benefit most from RealThings blockchain-based provenance protocol?</strong></h3><ol><li>Big brands whose primary concern is preventing counterfeiting.</li><li>Small brands looking to add value and luxurious appeal to their products.</li><li>Any brand that seeks to connect with customers and communities in the markets related to emerging technologies.</li><li>Any brand that cares about its customers and seeks to add additional layers of protection.</li><li>Any brand that seeks to build its product into a status symbol.</li><li>Brands that produce goods that are at high risk of theft.</li><li>Artisans and artists for whom provenance of their work is crucial.</li><li>Brands looking to take a first step towards Metaverse.</li></ol><h3><strong>Advertising provenance NFT as a part of your product</strong></h3><p>Here’s an example of what the QR tag of your product might look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCnar3f56tGU99gnewkRdw.png" /></figure><blockquote>The RealThings™ blockchain provenance protocol protects this item, and you should be able to claim an NFT proof of ownership after purchasing the item.</blockquote><blockquote>Scan the QR code to find out:</blockquote><blockquote>If this is a legitimate item.</blockquote><blockquote>If this item is brand new, you can claim the provenance NFT.</blockquote><blockquote>If this item has been reported stolen or lost.</blockquote><blockquote>Use your provenance NFT to access premium content and perks at <a href="http://www.mybrand.com/owners.">www.mybrand.com/owners.</a></blockquote><h3><strong>Metaverse &amp; Web3 gaming gateway</strong></h3><p>Some may argue that Metaverse is a thing of the past, a failed hype. I do not want to go into that. Still, digital items and ownership of digital representations of real-world objects are here to stay.</p><p>Associating an NFT with your product is a first step in this direction. You do not have to implement anything right now, but you have the foundation for when and if the time comes. Customers who bought your products and own the NFT can easily claim a metaverse-compatible digital copy of their item.</p><h3><strong>Potential problems and abuse</strong></h3><p>Some scenarios must be considered. Some of them are solvable, but some of them still require thinking.</p><h4><strong>What if the counterfeiter gets ahold of my QR codes?</strong></h4><p>A counterfeiter may go ahead and buy one of your products to obtain a valid QR code and then try several things:</p><ol><li>Use the QR code on all his copies. This QR code would work until at least one of them is claimed. While this means there would be an alien among the real things, all subsequent attempts to claim the NFT would fail. However, a direct integration between your webshop and the metadata can be established, so even if the provenance NFT has not been claimed yet, the item would be marked as “sold”.</li><li>Tries to reverse engineer your QR codes, and this is highly unlikely to succeed due to the encryption mechanism used to generate the unique product identifiers in the first place.</li></ol><h4><strong>What if the customer tries to claim the NFT without actually buying the product?</strong></h4><p>This question is worth addressing. There are two things to consider:</p><ol><li>The customer must be able to scan something and verify the item’s legitimacy.</li><li>The customer must only be able to claim the provenance NFT after purchasing and paying for the item.</li></ol><p>The QR tag must come in two parts. The first is for verification purposes only, and the second is given to the customer after the sale. The second QR tag is either given to the customer by the retailer or securely stored in the product’s original packaging.</p><h4><strong>What if the counterfeiters bribe the retailer and get ahold of multiple QR codes at once?</strong></h4><p>You would have to solve this severe criminal offense directly with your retailer. The only thing we can do to protect your product’s integrity is to allow you to invalidate certain NFTs or QR codes.</p><p>These concerns imply that the information about the location of the first sale might be necessary for the provenance sequence.</p><h4><strong>When buying a used item, what if the QR code is unavailable?</strong></h4><p>It is up to the manufacturer to make the QR code (or other means of identification) available on the product itself. If not available, the provenance NFT itself might serve the purpose. However, in this case, as a buyer, you could not establish an unquestionable link between the item and the NFT.</p><h3><strong>Conclusion</strong></h3><p>Counterfeiting is a serious problem, an economic cancer destroying businesses and jobs, and blockchain and NFTs are too good of a technology to be labeled and perceived as something useless or bad. Platforms and protocols such as RealThings.io are crucial for taking NFTs to the next step of application and evolution, and if you know someone who can benefit from it, please do not hesitate to introduce us. On the other hand, if things could be improved in this approach, please contact me or leave a comment.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27d5201749e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI vs. Blockchain — Solving the Deep Fake problem using blockchain, IPFS (and NFTs?)]]></title>
            <link>https://medium.com/coinmonks/ai-vs-blockchain-solving-the-deep-fake-problem-using-blockchain-ipfs-and-nfts-e8569bb9a36e?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8569bb9a36e</guid>
            <category><![CDATA[free-speech]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ipfs]]></category>
            <category><![CDATA[deepfakes]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Wed, 22 Mar 2023 10:47:41 GMT</pubDate>
            <atom:updated>2023-03-23T13:05:39.904Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI vs. Blockchain — Solving the Deep Fake problem using blockchain, IPFS (and NFTs?)</h3><blockquote>Can Blockchain help prevent the spread of misinformation caused by the exponentially growing AI&#39;s ability to mimic the real world in both text and images?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WvDb9Tjxu05-QBWmKXLDFQ.jpeg" /><figcaption>Surviving AI</figcaption></figure><p>I’ve been thinking about the deep fake problem for over a year. But, I must admit ChatGPT caught me off-guard. I knew AI was coming (not just ChatGPT, but many others we do not know about yet), but I did not realize how fast it would be here. And now that it is here, I am worried things might get ugly quickly.</p><p>Not just because of deep fakes, but a perfect storm might be brewing for AI, given its capabilities to replace humans in specific job roles combined with the global economic outlook and its effect on the job markets worldwide.</p><p>So, last night I was backed into a corner by my internal alarms, and I’ve decided to put some of my thoughts into writing and take action on them.</p><p>This article is about an imaginary blockchain-based product/technology/approach named Testimonio that could help protect us from the images and videos generated by AI that are becoming increasingly difficult to tell if they are fake or not.</p><h3>The Problem</h3><blockquote>The simplest definition of a problem we face is how to prove a photograph is real and represents real events that happened in the real world.</blockquote><h3>The Solution</h3><h4>Introduction</h4><p>So, what constitutes a solution to this problem, and what exactly do we need to know to say or assume a photograph is real?</p><p>If we knew when the photo was taken, where the photo was taken, by whom, and by which device the photo was taken, we could say that the photograph originates in the real world.</p><p>When I say “by which device,” I do not mean is it iPhone 6 or iPhone 14 — I mean the serial number of the device that can consequently be linked to a person who owns the device and linked to other hardware the device is made of, where the device was made, by whom and when.</p><p>For those of you who already see where I am going with this, the solution I will be describing in this article is multi-phased. It starts with mobile devices/cameras but expands into professional cameras (Canon, Nikon, etc.) and image processing tools such as Photoshop.</p><h4>The concept</h4><p>Each image-producer device has a unique private key that allows it to sign transactions and interact with the blockchain.</p><p>Upon capturing the image or video, the image-producer device will collect the metadata about the media file, including location, time, device’s hardware identification numbers and other information about the device, and checksum of the media file.</p><p>The original media file is then stored on IPFS. Finally, together with the rest of the information previously collected about the media file, everything is recorded on-chain by signing and sending a transaction to the Testimonio smart contract.</p><p>Each media file the Testimonio smart contract records on the blockchain is given a unique identifier. When queried with this identifier, the smart contract will provide you with the original media file (its IPFS location) and recorded information/metadata.</p><h3>The implementation</h3><h4>Mobile devices — proof of concept</h4><p>The Testimonio proof of concept will come as a mobile application that, like any other app, can be downloaded and installed via an app store.</p><p>Upon installation, the app will generate its’ private key for interaction with the blockchain and register the device with the Testimonio smart contract. In exchange, the smart contract will airdrop a certain amount of tokens to the user, to pay for future transaction processing costs.</p><p>Those familiar with the blockchain are familiar with the concept of “gas” and know that processing transactions on the blockchain is not free, but I will return to this topic later in the article.</p><p>The mobile application allows users to take photos and videos. When a media file is captured, the app will collect and prepare the metadata, and the user can then record it on-chain directly from the app.</p><p>Only photos and videos taken from the Testimonio mobile app can be recorded on-chain via the Testimonio smart contract.</p><p>If the blockchain is our truth-keeper, we need to gate and protect access to it. Hence only the photos taken directly from the app can be considered truthful in this case.</p><h4>Image processing software — Phase 2</h4><p>Support for image processing software is crucial, and this would come in the second stage of the Testimonio development.</p><p>Coming in the form of a “Photoshop plugin,” the end user could record post-processed photographs or videos on-chain, given that a reference to the original file is included.</p><p>The “Photoshop plugin” would interact with the blockchain and the Testimonio smart contract the same way the mobile application does — the plugin would be registered with the smart contract, and the plugin would have its private keys for signing blockchain transactions.</p><p>The idea is not to prevent image processing but rather to have transparency, awareness, and verifiable origin of the processed image, and thus the proof that the processed image still represents the actual events that happened in the real world.</p><h4>Professional cameras — Phase 3</h4><p>Although most photos and videos taken today come from a mobile device, it is essential to have professional cameras enabled with this technology, especially for the press and professional photographers.</p><h4>Existing or new blockchains</h4><p>The proof of concept will be based on an existing public blockchain such as Ethereum or Polygon. But if this idea is proven to have merit, the question of using a private blockchain or having its own blockchain would have to be deeply considered.</p><p>The goal would be to find a balance between decentralization, cost to the end user, and operating costs.</p><h4>What’s in it for The Press and the photographers? — Phase 4</h4><p>I can’t escape the thought that technology, such as what I described above, opens the doors for the “Istokcphoto X.0”.</p><p>The blockchain would allow licensing photographs and videos and providing proof of the license to be much easier than today.</p><p>Imagine reading an article on CNN, this technology would allow you to know that the photos you see or the videos you watch in the article are not fake or AI-generated, and it could be easily verifiable that CNN has the right to use the image.</p><p>Although this last part would be of much more interest to CNN or the professional photographer who took the photo because they would want to know if XYZ portal has the license to use their images.</p><h3>Conclusion</h3><p>Thank you for reading this article. I did not intend to write a full-blown technical specification but rather to spark your imagination and inspire you to think about the problem.</p><p>Although I can not tell you when the Testimonio proof of concept app will be available, please sign up for the mailing list <a href="http://eepurl.com/inqP0A">here</a> if you want to be notified.</p><p>I would like to hear your thoughts on the problem and the solution I described, so feel free to comment or DM me.</p><blockquote><em>New to trading? Try </em><a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a"><em>crypto trading bots</em></a><em> or </em><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c"><em>copy trading</em></a><em> on </em><a href="https://medium.com/coinmonks/crypto-exchange-dd2f9d6f3769"><em>best crypto exchanges</em></a></blockquote><blockquote>Join Coinmonks<a href="https://t.me/coincodecap"> Telegram Channel</a> and<a href="https://www.youtube.com/c/coinmonks/videos"> Youtube Channel</a> get daily <a href="http://coincodecap.com/">Crypto News</a></blockquote><h3>Also, Read</h3><ul><li><a href="https://medium.com/coinmonks/free-crypto-signals-48b25e61a8da">Free Crypto Signals</a> | <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bots</a></li><li>An ultimate guide to <a href="https://medium.com/coinmonks/leveraged-token-3f5257808b22">Leveraged Token</a></li><li><a href="https://medium.com/coinmonks/top-17-folding-electric-bikes-5e296f0918cb">16 Best Folding Electric Bikes</a></li><li><a href="https://medium.com/coinmonks/the-28-best-electric-bikes-review-and-buying-guide-in-2023-7bb3146cb403">28 Best Electric Bikes Review</a></li><li>Top 3 <a href="https://medium.com/coinmonks/top-3-binance-futures-trading-bots-e6031f84b3f9">Binance Futures Trading Bots</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8569bb9a36e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/ai-vs-blockchain-solving-the-deep-fake-problem-using-blockchain-ipfs-and-nfts-e8569bb9a36e">AI vs. Blockchain — Solving the Deep Fake problem using blockchain, IPFS (and NFTs?)</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Asset Tokenization — the industry of the decade, the software you need to do it, and how to get it.]]></title>
            <link>https://medium.com/coinmonks/asset-tokenization-the-industry-of-the-decade-the-software-you-need-to-do-it-and-how-to-get-it-56173e30d07e?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/56173e30d07e</guid>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[asset-tokenisation]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[asset-tokenization]]></category>
            <category><![CDATA[blockchain-startup]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Mon, 13 Feb 2023 16:58:17 GMT</pubDate>
            <atom:updated>2023-02-15T12:34:52.632Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qCNFnK9K8BNJy_rlZEVyGg.jpeg" /><figcaption>Is asset tokenization the industry that will drive entrepreneurial creativity this decade?</figcaption></figure><h3>Asset Tokenization — the industry of the decade, the software you need to do it, and how to get it.</h3><p>Here’s a random quote from the Internet (when you search for “asset tokenization market size” ):</p><blockquote>With a 50-fold increase predicted between 2022 and 2030, from US$310 billion to <strong>US$16.1 trillion</strong>, tokenized assets are expected to make up 10% of global GDP by the end of the decade.</blockquote><p><em>Source: </em><a href="https://www.marketsmedia.com/asset-tokenization-to-grow-into-16-trillion-opportunity-by-2030"><em>https://www.marketsmedia.com/asset-tokenization-to-grow-into-16-trillion-opportunity-by-2030</em></a></p><p>Let that sink in for a moment.</p><h3>Imagine</h3><p>It does not have to mean anything; it’s just a prediction, but imagine it comes true, and imagine jumping on that ship on time.</p><p>Imagine the NFT pfp craze we saw for the last couple of years gets replaced by a tokenization craze — where instead of monkeys, aliens, or lizards, you own a piece of a private jet, a piece of Manhattan real estate, yacht, organic farmland, or a solar-powered EV charging station.</p><p>And imagine these tokenized assets generating actual, sustainable cash flow for you.</p><p>And imagine the regulatory bodies coming to “peace terms” with technology and finding a way to enable creative and savvy entrepreneurs to raise more capital and generate more returns for investors worldwide.</p><p><strong><em>It’s a lot of “imagine” s, but, you know, 120 years ago, the Wright brothers were probably saying “imagine if we could fly” quite often.</em></strong></p><p>We’re sure this got you thinking if you are someone with entrepreneurial inclinations.</p><p>Onwards to the real things.</p><h3>Asset Tokenization Business Model Example</h3><p>Let’s start by giving an example of an asset tokenization business and then tell you and show you what we’ve built. (Yes, we’ve created the software you need and will get to that (and how you can get it) in a moment.)</p><p>So, here’s an example:</p><ul><li>After running a business for a decade in the heart of London, Lisa and Jenny went to Hawaii on vacation; they liked it and decided to stay.</li><li>Both Lisa and Jenny love sailing, so they start a sailing club.</li><li>They bought a nice sailing boat, and they rented it to people. The business is doing good, and they would love to expand.</li><li>Instead of getting a loan from the bank, they decide to tokenize their next boat.</li><li>The new boat costs $1,000,000 US dollars, and it’s projected to earn $200,000 in profits per year for the next ten years. Now, that’s a mind-boggling 20% return and a great investment opportunity.</li><li>After finalizing the regulatory paperwork, they decided to offer 10,000 LJYC (Lisa and Jenny Yachting Club) tokens to investors worldwide at $100 per token.</li><li>Each LJYC token corresponds to 0.01% of the tokenized asset and is entitled to an equal share of the profits.</li><li>Neilsen from Copenhagen likes what he sees and decides to invest $10,000 US dollars in LJYC tokens, so he buys 100 of them. A total of 1% of the supply. And so do many other people. Some bought just a few tokens; some bought 100s. But Lisa and Jenny managed to sell out all their tokens and have the money to buy the boat.</li><li>A year passed, and the new boat indeed made $200k in profits, so Lisa and Jenny distributed the profits to the holders of the LJYC token, and Neilsen of Copenhagen received his fair share of 1%, equal to $2,000.</li><li>The following year, Lisa and Jenny decided to buy two more boats and run another investment round.</li><li>Ten years have passed, and the boat is ready to be sold. Lisa and Jenny liquidate the boat, and the proceeds are distributed to the LJYC token holders through the burning mechanism.</li><li>And they all lived happily ever after.</li></ul><p>You might be saying, “<em>weeeeeellll, it’s just $2,000….</em> “so, please, let us remind you that an average return on a rental property, after property and income taxes, will, in most cases, hardly get you more than 6–7%. Or, to give you a translation, you will pay $300,000 for a rental and make only $18,000 on it. But that’s not the point of this article, nor are Jenny and Lisa real. :)</p><p>So, let’s look at what Jenny and Lisa need from the technology standpoint to get this done.</p><h3>Software components of an asset tokenization business</h3><p>By following the example above, we can make the following conclusions about the software Lisa and Jenny would need:</p><ol><li>They need a website where people can invest their money and mint their LJYC tokens.</li><li>They need a smart contract that issues the tokens.</li><li>They need to be able to do the KYC of their investors.</li><li>They need an “admin panel” to manage things related to their fundraising campaign.</li><li>They need to have a way of distributing profits other than manually sending thousands of transactions.</li><li>They need an “investor panel” where people who invested in their business can see their balance and earnings and manage their investment.</li><li>They need to be able to run multiple investment rounds.</li></ol><p>Besides the software, they would need a lot of legal and technical assistance to make this happen, but that is a topic for another time. This story is, after all, an example, a high-level overview of how things would work. So with that in mind, let’s move on and take a look at what we’ve built.</p><h3>Everyone, please welcome Caishen — an asset tokenization platform</h3><p>We’ve named our software Caishen, after the Chinese god of wealth (all Roman and Greek gods were already taken :D.) Caishen covers all the technical aspects that we mentioned above:</p><ul><li>A smart contract</li><li>An operator/admin panel</li><li>An investor panel</li><li>A website</li></ul><p>Let’s take a deeper look into each of them, what they do, and how.</p><h4>The website</h4><p>Let’s start with the website. The website that comes with the platform is more of a technical demo that has all Caishen features implemented. And while you can use it and build your website by styling this template, you can also build your website the way you want it and use the Caishen demo as a technical guide and an implementation example.</p><h4>So, how does the website work?</h4><p>As with any other web3 website/dApp, your investors must first connect their wallet and sign a message. This signature allows Caishen to verify they own the address they connected with and create their investor account.</p><p>Next, investors choose the quantity of the asset tokens they wish to buy. Finally, the cost is calculated and expressed in USDT.</p><p>Before minting the tokens, the investor must approve the Caishen smart contract to spend their USDT. Once this is done, the investor can commence the mint transaction.</p><p>Here’s what happens in the mint transaction:</p><ul><li>Caishen smart contract will pull the approved amount of USD from the investors’ wallet to itself;</li><li>If successful, the Caishen smart contract will mint the specified amount of asset tokens to the investor;</li><li>Caishen smart contract will transfer the USDT amount it pulled from the investor to the destination address specified by the business entity tokenizing the asset. (Lisa and Jenny from the example above)</li></ul><p>This completes the first segment of the process. At this point, the investor owns the tokens and can access the <strong><em>investor panel</em></strong>, but they are not KYCd yet, meaning they are not eligible for profits distribution.</p><p>The website then takes the investor through the identification process, where the investor can set their details and email address and upload their KYC documents.</p><p>Once this is done, it’s time for the token operators to take action. First, the operators will verify the investor’s identity and complete the KYC procedure. Once the KYC procedure is complete, the operators will prepare the legal documents/contracts and send them to the investor. Upon signing and returning the contracts, the operators will finalize the investor’s account, and their tokens are now eligible to receive earning distributions.</p><p>Enter the <strong><em>Operator Panel.</em></strong></p><h4>Caishen Operator Panel</h4><p>First, why an “operator” and not an “admin” panel — because the smart contract and the investment round can be operated by multiple people/operators. Although there is an “admin” role, its primary function is to create new investment rounds and to assign operator rights to other accounts/operators.</p><p>On the other hand, the most important actions an operator can perform are marking an investor as KYCd and distributing the earnings/profits.</p><p>It is important to note that investors are not “marked as KYCd” on the application level but rather on the smart contract level. This means that the admin or the operator must send a transaction to the smart contract that indicates that the investor’s address is now KYCd and eligible for profit distribution.</p><p>So, once the administrator creates a new operator account, they must also authorize the operator within the smart contract by sending a transaction that will identify the operator’s wallet address as an authorized operator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*47Tvq0pHxpxCw6nEPLxTSw.png" /><figcaption>Caishen Asset Tokenization Platform investor management dashboard.</figcaption></figure><p>Let’s take a look at all features of the operator panel:</p><ul><li>Define investment rounds/series;</li><li>Define platform operators;</li><li>List all investment rounds;</li><li>Look at all investors in a given investment round;</li><li>Manage the investors;</li><li>Mark an investor as KYCd;</li><li>Download investors’ documents for in-house KYC document storage;</li><li>See investors’ balance;</li><li>See the investor’s payouts/earnings history;</li><li>See investors’ email address status;</li><li>Upload the contracts for investors’ signatures;</li><li>Mark investors’ contracts as signed and upload their finalized versions;</li><li>Distribute earnings to all eligible investors;</li><li>See the earnings distribution history for each investment round.</li></ul><p>The admin and the operators connect and log in to the operator panel using their web3 wallets.</p><p>Most of the features mentioned here are “standard stuff,” but the most exciting part is the earnings distribution. So let’s take a look at how earnings distribution works.</p><h4>Earnings distribution</h4><p>Earnings are distributed by the administrator or by any of the authorized operators. The earning distribution process begins by performing a “calculation” where the operator specifies the total amount of earnings to be distributed and the transaction cost per each payment.</p><p>For example, there is $10,000 to be distributed among 250 investors, and each investor will be charged a $10 transaction fee to receive the payment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pXgB_-pirtirTM7zmsGY8g.png" /><figcaption>Caishen Asset Tokenization Platform distributes investor earnings in a single transaction.</figcaption></figure><p>This “calculation” process will show how much each investor will be paid. The amounts are calculated based on the % share of the total supply of asset tokens owned by a single investor. Only KYCd investors that signed the contracts will be paid.</p><p>Once the operator reviews the “calculation,” he can distribute the earnings.</p><p>To distribute the earnings, the operator must have the specified amount of USDT in their wallet — 10,000 USDT in this example. The operator then approves the Chaisen smart contract of the tokenized asset to spend his USDT and then sends an earning distribution transaction.</p><p>The earning distribution transaction is sent to the Chaisen smart contract. The smart contract will then pull the amount to be distributed from the operators’ wallet, and then for each KYCd investor, calculate their share, deduct the transaction fees, and send the USDT to their KYCd address.</p><p>If earnings distribution is made while there are still investors that haven’t completed their KYC or legal procedures, not the entire sum will be distributed.</p><p>However, the operator must “send” the entire sum to the smart contract for transparency reasons. Still, the smart contract will only pay KYCd investors and return the unused funds to the operator. The operator can distribute these earnings to other investors once they complete the KYC process.</p><p>Each earnings distribution is recorded in the Caishen platform and on the blockchain. Earning distributions are visible to the operators in investment round management. Each payment made to each investor is visible on the investors’ profile (within the Caishen Operator Panel) and the Investor Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*psu5lED5NH9ejCpcfveX-w.png" /><figcaption>Caishen Asset Tokenization Platform records all payments made to all investors.</figcaption></figure><h4>Caishen Investor Panel</h4><p>The Investor Panel is only accessible to investors, that is, to people who bought/minted the tokens of the tokenized asset.</p><p>Investors can access this panel as soon as they mint the tokens. Of course, accessing the investors’ panel and minting the tokens requires connecting their wallets.</p><p>The Investor Panel covers the following features:</p><ul><li>Token balance;</li><li>Token status;</li><li>KYC document upload;</li><li>Email verification;</li><li>Contracts;</li><li>Personal information settings;</li><li>And transaction history.</li></ul><p>Since one investor can be a part of multiple investment rounds of the same business, the investor panel displays the relevant information, such as transaction history, contracts, and balances, based on the selected investment round.</p><p>It is important to note that the investors’ panel will distinguish between “pending” and “yield-generating” tokens. The difference is the investor’s KYC status. Once the investors are KYCd and sign the contracts, their tokens become “yield generating.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_eI_TYzDFYihCo85-U7IEA.png" /><figcaption>Caishen Asset Tokenization Platform — Investor Panel</figcaption></figure><h4>Caishen Smart Contract</h4><p>The Caishen smart contract is probably the most important part of the entire Caishen platform as it solves/takes care of several critical tasks:</p><ul><li>Token creation;</li><li>Token sales;</li><li>Revenue distribution;</li><li>Investor KYC;</li><li>Operator management.</li></ul><p>Each smart contract instance represents a single investment round and has its token supply and price. Each smart contract/investment round is visible and manageable through the Caishen Operator Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P4hnISz9LV9eACNCAUx8sA.png" /><figcaption>Caishen Asset Tokenization Platform supports multiple investment rounds.</figcaption></figure><h3>So, how does one get his hands on the Caishen Asset Tokenization Platform?</h3><p>For those of you who don’t know, <a href="https://twitter.com/0xRebels">0xRebels</a> was born out of the <a href="https://twitter.com/WeAreSatoshis">WeAreSatoshis NFT collection</a>, and software like Caishen is one of our ways of giving back to the community that supported us.</p><p>So, if you are one of the OGs of the We Are Satoshis community (minted a Satoshi and still hold it), and you wish to enter the asset tokenization market, all you have to do is let us know. We will get the Caishen platform and the smart contract up and running for you.</p><p>If you are not a We Are Satoshis OG, until Caishen becomes publically available, feel free to DM <a href="https://twitter.com/0xRebels">0xRebels</a> on Twitter to get started :)</p><h3>Conclusion</h3><p>We hope you enjoyed this article and that it sparked your imagination. We also hope that in the near future, tokenizing assets will become accessible, and it will become easier to comply with all laws, rules, and regulations in that field.</p><p>We know there are many questions left unanswered in this article. Asset tokenization is a vast field; many questions are worth asking and worth answering. We hope to cover at least some of them in future articles, but if you are an expert in this or a related field, please, don’t be shy; start a conversation in the comments.</p><p>We are grateful for the time you devoted to reading this article.</p><p>Until the next time,</p><p>0xRebels</p><blockquote>New to trading? Try <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">crypto trading bots</a> or <a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">copy trading</a> on <a href="https://medium.com/coinmonks/crypto-exchange-dd2f9d6f3769">best crypto exchanges</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56173e30d07e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/asset-tokenization-the-industry-of-the-decade-the-software-you-need-to-do-it-and-how-to-get-it-56173e30d07e">Asset Tokenization — the industry of the decade, the software you need to do it, and how to get it.</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free NFTs — good or bad? Plus, a free Smart Contract template for Free-mint NFT collections.]]></title>
            <link>https://medium.com/coinmonks/free-nfts-good-or-bad-plus-a-free-smart-contract-template-for-free-mint-nft-collections-7f7d47edd61c?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f7d47edd61c</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[free-mint]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[nft]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Tue, 16 Aug 2022 16:14:16 GMT</pubDate>
            <atom:updated>2022-08-19T07:02:22.999Z</atom:updated>
            <content:encoded><![CDATA[<h3>Free NFTs — good or bad? Plus, a free Smart Contract template for Free-mint &amp; tier-priced NFT collections.</h3><figure><img alt="Free NFTs — good or bad? Plus, a fee Smart Contract template for Free-mint NFT collections." src="https://cdn-images-1.medium.com/max/1024/1*a72cEXJd7vTK1GIZ0FySZw.jpeg" /></figure><p>Over the past couple of months, with (almost) everybody getting rekt by the bear market, the NFTs found a new way to thrive — the Free Mints.</p><p>So, are free mints good or bad? We’ve heard arguments for both sides, and here is our opinion on them.</p><p>Like any other good idea, we, humans, will find a way to turn it around and make it bad. It’s just how things are in life, and it’s up to you to pick a side.</p><h3>Let’s start with the “bad.”</h3><p>You might think it’s a free mint; what could be bad about it?</p><p>Let us first try to define or classify “bad”:</p><ul><li>It can be bad for the general NFT industry;</li><li>It can be bad for the NFT collectors and investors.</li></ul><p>What opens the doors for bad things to start happening is that at 0 ETH/mint or very, very low prices, for example, 0.00X ETH/mint — the bar (of quality) drops very low. All of a sudden, it is OK to invest ZERO effort into the artwork (people would mint nothing literally), ZERO effort into the community, no Discords, no roadmaps, nothing — and it seems “ok” because of the price you pay to mint — 0 ETH or very close to it.</p><h4>Bad for the industry</h4><p>The first problem this creates is that the market is flooded with terrible, low-effort projects. And this leaves a bad impression on the people that haven’t yet entered the NFT space or/and the mainstream media talking about the NFT industry. It’s just another argument someone can make on why NFTs are bad as a whole.</p><p>Pretty clear, right? Let’s dive a bit deeper now.</p><h4>Cash grabs</h4><p>How can a free mint be a cash grab? Easy… In our opinion, even very low mint prices (less than 0.01 ETH/mint) should be considered “free mints.”</p><p>It is easy to understand how delivering shit NFTs for less than 0.01 ETH per mint is still delivering shit and charging money for it, and when you add a multiple of, for example, 5000 to it — it’s a cash grab.</p><p>On the other hand, some of these projects are pretty hyped. And if the creators are experienced on that front, even at 0 ETH/mint, they can make money through royalties from sales on secondary markets. Some of the projects will succeed, but most won’t — so it still boils down to paying money for nothing.</p><h4>NFT thefts</h4><p>Here is where things get serious — a truly bad actor will hide a malicious smart contract behind a free mint. The bottom line is — the end user thinks they are minting a free NFT while, in fact, their wallet is being drained of everything they own.</p><p>Messed up, we know. But, it’s hard to tell which is worse — the greed and desire to get something for nothing or malice and will to exploit that greed.</p><h3>But it’s not all bad. Let’s look at the bright side of free mints.</h3><p>We think there are a few intertwined positives to the free mint movement: fun, speed, idea validation, and community inception.</p><h4>Fun</h4><p>First, we think free mints can be fun. If the creators behind it do not have any bad intentions, a free mint can be a fun experience for everyone.</p><p>The creators do not have to spend months of hard work and (tens of) thousands of dollars on building a community, and the participants pay just a bit of gas to be a part of an Internet joke or a meme in the making.</p><p>It might turn into something valuable one day, but it most likely won’t, but who cares? We all had a good laugh, and it was fun while it lasted. Plus, those who are new to the space probably learned something.</p><h4>Speed &amp; idea validation</h4><p>A free mint allows creators to move very fast. Those with experience in the start-up world know how valuable this speed can be — knowing if you are right or wrong about a product-market-fit.</p><p>A free mint is like a “free trial,” and it can help founders find out whether or not there is a general interest in their big idea. In other words, it can help them test the “hype-potential” of their vision, and build the foundation for the “main collection”.</p><p>If nobody was interested in your story when it’s free, there is a high probability no one would pay to mint it either — and this will save you an incredible amount of time and money.</p><h4>Community inception</h4><p>On the other hand, if people like your idea and your story, and they start showing up in numbers — you might be onto something.</p><p>If your free mint goes incredibly well, it’s a 100% sign you’re onto something, and you should take the idea further.</p><p>What is good about it — is that at this moment, you’ve already gained some hype and momentum, you have identified and gathered your early adopters, and you can start building your community further.</p><p>The benefits, in this case, are indeed many. To name just a few of them:</p><ul><li>First, your Discord will not start with two members (assuming there are at least two founders to a project) — your Discord will start with a few hundred, if not a few thousand members.</li><li>It will be easier for you to collaborate with already established NFT projects. People will want to work with you.</li><li>You will have secondary sales of your free mint, and the royalties from those secondary sales can help you fund the development of the real thing.</li></ul><p>This introductory free mint is going to be the approach we will take on our next big project. It will allow us to validate our ideas beforehand and tell a better story — we’re all storytellers in the end anyway.</p><p>If there is a takeaway from this article — it is that <strong>it’s up to us to pick a side</strong>, are we going to be a “Jedi” or a “Sith”, and <strong>always RTFC</strong> (read the fucking contract) before you click that Mint button.</p><h3>What about that free free-mint smart contract template you mentioned in the title?</h3><p>About that… :) We want to encourage and help all creators, artists, and people with ideas in general. Assuming you are one of them, we would like to make your life easier — so we made a smart contract template. It’s free, robust, and ready to deploy. All you need to do is adjust basic parameters such as your collection name, token tracker, price, and a few other things.</p><p>Here’s a brief overview of the features included in this contract:</p><ul><li>Merkle tree allowlist/whitelist</li><li>Per wallet and transaction mint limits</li><li>Tiered pricing</li><li>Contract pause state controls</li><li>Supply management</li><li>Token URI management</li><li>Admin/owner mints</li><li>Payment splitter</li></ul><p>Before we share the download link, a word on tiered pricing — the contract allows you to set pricing tiers. For example, you can configure the contract so that the first 1000 mints are free, 1001–2000 are 0.00X ETH/mint, and 2000 and above are 0.00Y ETH per mint. You can have unlimited tiers, or you can set the entire collection to be free.</p><p>Per wallet and per transaction limits allow you to configure the limits on how many NFTs a single wallet can mint and what is the maximum number of NFTs that can be minted in a single transaction.</p><p>The contract also allows the deployer to control the supply after the contract has been deployed.</p><p>The allowlist/whitelist support is done via the Merkle Tree mechanism, and the contract allows you to update the allowlist/whitelist after the contract has been deployed.</p><p>Base URI and file extensions management allow you to control your metadata and do a live or delayed collection reveal.</p><p>It’s a full-blown smart contract with pretty much everything you need.</p><p><a href="https://github.com/0xRebels/free-mint-template"><strong>You can download the contract from our GitHub repository here</strong></a>. For full transparency, the contract does include a 2.5% optional tip for 0xRebels in case you are doing a paid-mint, but as we said — it’s completely optional, and you are free to remove it from the contract.</p><p>We hope you found this article insightful and the smart contract we shared with you helpful. If you are already working on, or planning to start working on your NFT collection — we’d love to hear from you and help you if we can. Feel free to reach out to us on <a href="https://twitter.com/0xRebels">Twitter</a>.</p><p>Stay safe, be mindful of rugs and scams, and follow us on <a href="https://twitter.com/0xRebels">Twitter</a> and Medium for more articles like this.</p><p>May the Force be with you :)</p><blockquote>New to trading? Try <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">crypto trading bots</a> or <a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">copy trading</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f7d47edd61c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/free-nfts-good-or-bad-plus-a-free-smart-contract-template-for-free-mint-nft-collections-7f7d47edd61c">Free NFTs — good or bad? Plus, a free Smart Contract template for Free-mint NFT collections.</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment Strategies for Configurable NFTs]]></title>
            <link>https://medium.com/blockchain-biz/deployment-strategies-for-configurable-nfts-c638ec24a2?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c638ec24a2</guid>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[ipfs]]></category>
            <category><![CDATA[metadata]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 16:23:59 GMT</pubDate>
            <atom:updated>2022-11-05T17:45:03.211Z</atom:updated>
            <content:encoded><![CDATA[<p>A few months ago, we met some brilliant people who plan to make an NFT collection. We loved the ideas and the story, so we decided we would like to be a part of it.</p><p>Everything is still in the planning phase, so we will not talk about that collection here, but we have encountered some interesting questions from the stakeholders. So we think it might be of value to share both the questions and the answers with our readers that might be planning to do a similar collection type in the future.</p><p>In this article, we will cover the following topics:</p><ol><li>What are configurable NFTs</li><li>The anatomy of an NFT token</li><li>Minting process</li><li>IPFS</li><li>Metadata strategy</li></ol><h3>So, what are configurable NFTs?</h3><p>With most NFT collections today, you do not have any say in what traits your NFT will have.</p><p>With configurable NFTs, although the trait rarity is unknown, you are choosing the traits of your NFTs yourself.</p><h3>The anatomy of an NFT token</h3><p>What exactly is the NFT token made of? How does an NFT token look like “from the inside”?</p><p>First, as you already know, each NFT collection is, in fact, a smart contract. <strong>To simplify things, the purpose of this smart contract is to regulate the supply of the NFT tokens within itself via mint and burn mechanisms.</strong></p><p>The mint mechanism creates new tokens and increases the supply, while the burn mechanism destroys tokens and decreases the supply.</p><p>An NFT collection smart contract performs plenty of other functions which is not relevant at the moment.</p><p>What is essential to understand is this — <strong>Each NFT token within a given collection is defined by the Token ID and a Token URI. This mapping of Token ID =&gt; Token URI is what is stored on-chain.</strong></p><p>The Token URI for a token that is about to be minted can be provided to the contract at the time of minting an NFT token. Still, that approach will increase the gas fees and complicate your life later on, so we will not cover that in this article.</p><h4>But where do the token artwork and trait information come from?</h4><p>We are getting to it :) This is where token metadata and Base URI come into play.</p><p>Each NFT token is described with a metadata file. This file is a JSON object that holds all relevant information about a given NFT token. This information includes, but is not limited to:</p><ul><li>Token name</li><li>Token description</li><li>An URL to the token image or artwork</li><li>Token traits</li></ul><p>Here is an example of what a metadata file looks like:</p><figure><img alt="An example of an NFT token Metadata file." src="https://cdn-images-1.medium.com/max/849/1*LHT_1HTdc-nftcwLfjAOjA.png" /><figcaption>NFT Token Metadata Example</figcaption></figure><h4>But where is this metadata file hosted?</h4><p>Short answer — it can be hosted anywhere. Where metadata <strong><em>should</em></strong> be hosted is another matter; we will get to that question later in this article.</p><p>But, what is important to understand now, is that the metadata file is hosted “somewhere,” and it is reachable; in other words, there is an URL to it.</p><p>For the sake of this example, let’s say that the URL of this metadata file is: <a href="https://meta.mycollection.xyz/132.json">https://meta.mycollection.xyz/132.json</a>.</p><p><strong>This URL pointer to the metadata JSON file is the Token URI.</strong></p><p>Remember that each token in an ERC721 collection will have a unique Token URI — hence all tokens in an ERC721 collection can be unique.</p><p>Now that you understand the NFT token metadata and what a Token URI is, you can understand what the smart contract stores on-chain and how does the token mapping look like, although, it’s the Base URI that is stored on-chain, and Token URI is generated when requested by the external user.</p><p>1 =&gt; <a href="https://meta.mycollection.xyz/1.json">https://meta.mycollection.xyz/1.json</a><br>2 =&gt; <a href="https://meta.mycollection.xyz/1.json">https://meta.mycollection.xyz/2.json</a><br>3 =&gt; <a href="https://meta.mycollection.xyz/1.json">https://meta.mycollection.xyz/3.json</a><br>4 =&gt; <a href="https://meta.mycollection.xyz/1.json">https://meta.mycollection.xyz/4.json</a><br>…<br>10000 =&gt; <a href="https://meta.mycollection.xyz/1.json">https://meta.mycollection.xyz/10000.json</a></p><h4>Ok, but what is this BaseURI?</h4><p>When a website or an app wants to display your NFT on a screen, it will send a request to your smart contract and “ask” it to provide a TokenURI for the given Token ID using the tokenURI() method.</p><p>Your smart contract will then look up in its internal storage to check if the requested token exists and, if so, will return the Token URI.</p><p><strong>The TokenURI = BaseURI + TokenID.</strong></p><p>In the example we gave above, the “https://meta.mycollection.xyz/” is the BaseURI.</p><p>The tokenURI() method is customizable, but what we explained here is the standard practice.</p><h4>Why is BaseURI important?</h4><p>In a nutshell, being able to configure and change the BaseURI allows you to move the collection metadata from one place to another. For example, in the first phase of your project, the NFT metadata is (temporarily) hosted on your infrastructure. However, once all tokens are minted, you decide to move the NFT metadata to a permanent IPFS location — this is where being able to modify the BaseURI comes in handy.</p><p>If you did not know how NFTs work before, we hope that what we shared above produced a few “a-ha” moments :) Let’s move on and get closer to the point — how to structure and deploy a configurable NFT collection.</p><h3>Minting process</h3><p>In a standard NFT collection, the metadata of an NFT token is pre-determined. Unknown until the “reveal,” but pre-determined nonetheless.</p><p>Let’s remind ourselves about the main difference between “standard” and “configurable” NFT collections:</p><blockquote>With configurable NFTs, although the trait rarity is unknown, you are choosing the traits of your NFTs yourself.</blockquote><p>So, how does one go about doing this? Here is the path we would take:</p><h4>Step 1: The basics</h4><p>The end-user connects their wallet to your website. Then, based on the collection availability (how many tokens are left to be minted), combined with other optional limits you may impose (max number of NFTs per transaction or wallet, whitelisting, and so on) — the “Mint” section of your website is rendered on the screen.</p><h4>Step 2: Legal</h4><p>This is very important. Being very clear about licensing and other legal matters is often overlooked by NFT collections and collectors. Therefore, before minting the tokens, the user should be informed of and accept any Terms of Service, Licensing Agreements, or other legal documents that clearly define your service and relationship with the collectors.</p><h4>Step 3: Mint</h4><p>This is where the fun begins. Once the user has accepted the legal documents and selected the number of tokens they want to mint, the transaction is prepared, and they are prompted to sign the transaction using their wallet.</p><p>Once signed, the transaction will be sent to the miners, Ethereum will be deducted from the users’ wallet, sent to your smart contract — and in return, your smart contract creates the NFT tokens for the user.</p><p>Remember everything we said about token metadata? At this moment, <strong>since this is a configurable NFT collection</strong>, the metadata is “empty” or rather a placeholder for the final metadata that will be defined at a later stage.</p><p><strong>This “placeholder” metadata will hold the token name, token description, and a promo image of your collection.</strong></p><p>Upon a successful mint, the user will see his “balance” on your website updated, showing the number of NFTs from your collection that they own.</p><h4>Step 4: Configuration</h4><p>The beating heart of your NFT collection — the configurator :) This is where the NFT owners get to choose the traits of their NFTs.</p><p>There are plenty of trait types with even more options for their values, but the rarity distribution of traits is unknown to the end-user. So, to begin with, before initializing the configurator, your website would have to ask your API about what traits are available.</p><p>Based on the API response, the configurator is initialized. The user then chooses the trait values for each trait type, and the configurator renders the artwork in real time.</p><p>The user chooses an NFT they own to configure, and once happy, the user can “finalize” his NFT by clicking a button to save his choices.</p><p>However, you still want to ensure that all NFT tokens within your collection are unique. This is where your API and the database come into play again.</p><p>From the UX perspective, it would be great if that “finalize” button would only be available if the selected configuration is unique and different from all other NFTs in your collection.</p><p>An API endpoint that receives the selected trait values and compares them to all other NFTs is utilized to achieve this. If a given combination of trait values is unique, the user may proceed and finalize his artwork/NFT.</p><p>Once the user clicks the “finalize” button, another API method is used to accept and record the selected traits for an NFT, generate the artwork, upload it to IPFS, and generate the final metadata file for this token.</p><h4>But what if multiple users want to finalize the same combination of trait values simultaneously?</h4><p>This is why the database is handy in this situation. Of course, there are multiple ways to implement this, but the database can ensure that only unique combinations of traits are recorded.</p><p>If more than one user submits the same configuration simultaneously, the API will return a success status code only for the first and fastest request. After that, all other requests would receive an error and have to modify the combination of their traits.</p><p>Once the final artwork and metadata are generated, no further changes are possible. The finalized NFT is removed as an option for the configurator. The user can then reload the metadata on OpenSea or LooksRare to see the finalized NFT.</p><p>The user then repeats this process for each of the NFTs they own.</p><h3>IPFS</h3><p>Wait, wait, wtf is IPFS? What do you mean by “generate the artwork, upload it to IPFS”?</p><h4>The risks of centralization</h4><p>Remember this?-</p><blockquote>But where is this metadata file hosted?</blockquote><blockquote>Short answer — it can be hosted anywhere. Where metadata <strong><em>should</em></strong> be hosted is another matter…</blockquote><p>So, by now, you understand that there are two essential URLs for each NFT token:</p><ul><li>The URL for the artwork</li><li>The URL for the token metadata</li></ul><p>If you think that both metadata and the artwork can be hosted on your website — ask yourself the following question(s):</p><ul><li>What happens to my collection in 25 years?</li><li>Will the owners still be able to see the artwork?</li><li>What happens if someone hacks my website and changes the metadata or artworks of the NFTs from my collection?</li><li>What happens if my website goes down because of the provider outage?</li><li>What happens if I forget to renew my domain name or pay for web hosting services?</li><li>What happens if my provider goes out of business?</li></ul><p>Problems, right? And the root of all these problems is a centralized single point of failure. This is why a decentralized solution is used for storing relevant files when it comes to NFTs, and this is where IPFS comes into play.</p><blockquote><a href="https://docs.ipfs.io/concepts/what-is-ipfs/#decentralization"><strong>IPFS is a distributed system for storing and accessing files, websites, applications, and data.</strong></a></blockquote><p>The IPFS stands for InterPlanetary File System. It’s a peer-to-peer network for storing and sharing data in a distributed file system. Think of it a little bit as a torrent network where one file is accessible from multiple sources. This eliminates the single point of failure risks outlined above.</p><p>However, things are not so simple.</p><blockquote><a href="https://docs.ipfs.io/concepts/what-is-ipfs/#content-addressing"><strong>On the other hand, content can’t be removed from IPFS as long as <em>someone</em> is interested enough to make it available, whether that person is the original author or not.</strong></a></blockquote><p>This means that if you do not want to run into the risk of nobody being interested in making your content (artwork and metadata) available, you either need to run your IPFS nodes or use a 3rd party service such as <a href="https://www.pinata.cloud/">Pinata</a>.</p><p>Neither of these two options is free, so let’s take a look at the costs a little bit.</p><h4>IPFS costs</h4><p>Let’s assume your collection has 10,000 NFTs. This means you need to host 10,000 artworks and 10,000 metadata files — in total, 20,000 files. Then, let’s assume that each artwork is a high-res file of about 5MB. In total, your NFT collection will take about 49 GB of storage.</p><p>Wonder how much is that going to cost you? Here’s the current pricing for the Pinata service we mentioned above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uaa879_aDbqfaxAa9XL6uA.png" /><figcaption>Pinata pricing</figcaption></figure><p>As you can see, to accommodate 20,000 pinned files with a total file size of up to 50GB, you are looking at $20 per month or $240 per year. Therefore, you should know the long-term cost of using a service such as Pinata before committing to an NFT collection.</p><h4>IPFS gateways</h4><p>If you look at the pricelist above, you will notice the item “1 gateway”. In case you’re wondering what that is and why you may need it, here’s some more information you might find helpful.</p><p>The files hosted on IPFS are available via a public gateway. You can access any file by visiting <a href="https://ipfs.io/ipfs/CID">https://ipfs.io/ipfs/CID</a> — replacing the CID with the CID of the file you want to access.</p><p>However, you will notice that this endpoint is relatively slow, sometimes even unreliable. As a result, it may take a while for your artworks to load. Using a dedicated gateway solves this problem. In addition, a dedicated gateway helps your files load faster.</p><h4>Displaying artwork on your website</h4><p>Consider the following scenario: A community member owns several NFTs from your collection. He visits your website and connects his wallet, and there is a section of your website called “My NFTs.” In this section of your website, all NFTs from your collection that this user owns are displayed.</p><p>Sounds nice, right? But…each artwork is about 5MB, and even with the high speed of the Internet connection, loading tens of such files on a single page can bring a poor user experience.</p><p>To overcome this issue, you might want to produce/generate a smaller size copy of your artworks and use a Content Delivery Network (CDN) to host them. This is easily achievable using AWSs’ S3 and CDN services, and at a trivial cost, it would bring a significant UX improvement to your website.</p><h4>One last thing (on IPFS)</h4><p>Since the majority of the industry is using a 3rd party service to host their files on IPFS (Pinata), there’s a little something you should know — once pinned, you can not edit the pinned file using the Pinata API.</p><blockquote><a href="https://docs.ipfs.io/concepts/file-systems/#mutable-file-system-mfs"><strong>Content addressing means that when files change, the content identifier (CID) of those files changes too.</strong></a></blockquote><h3>Metadata strategy</h3><p>Let’s return to the last chapter of our main topic — configurable NFTs — the Metadata.</p><p>The configurable NFTs are not at the risk of metadata sniffing, so we are not going to talk about that, but let’s take a deeper look into the lifecycle of the configurable NFT collection’s metadata.</p><p>You ultimately want your metadata and the artwork to be hosted on IPFS. However, it will not start that way.</p><h4>Stage 1: Unrevealed (not-configured)</h4><p>This stage represents a token that has been minted, but the user hasn’t defined the traits yet. This is similar to how some collections choose not to reveal the tokens (metadata) until the minting phase is completed.</p><p>At this stage, the metadata of your tokens will hold the token name (and number), token description, and a promo artwork that will be the same for all unconfigured tokens.</p><p>Let’s assume that at this moment, the Base URI of your smart contract is configured to “https://meta.mycollection.xyz/” and that your collection size is 10,000.</p><p>We can go ahead and generate 10,000 JSON files sequentially named from 1 to 10,000: 1, 2, 3, and so on. Each of these files will hold the temporary metadata mentioned above. This means the metadata will be available as soon as the token is minted and will show the unconfigured state.</p><h4>Stage 2: Configured metadata</h4><p>Once the user configures the traits of their NFT and the unique combination is saved to your database, the final metadata file is generated. The initial “placeholder” metadata file is replaced with the final metadata file under the same name.</p><p>This final metadata file is still available and used via the BaseURI (as explained above), but now we can upload the metadata to the IPFS and record its CID to the database, along with the CID of the artwork, although we will not be uploading the metadata yet.</p><h4>Stage 3: Freezing the metadata</h4><p>This is the final stage in the lifecycle of the metadata. This stage happens once all NFTs from the collection have been configured, and no further changes to the metadata will be made.</p><p>Once all metadata is final, the entire “folder” containing metadata files for all NFTs is uploaded to the IPFS. This will give you the CID for the whole folder, and the metadata will be accessible on IPFS using _CID_/1.json, etc.</p><p>Next and last, the Base URI of your smart contract is updated from “https://meta.mycollection.xyz/” to “ipfs://_CID_/.”</p><p>Now, both the artworks and the metadata of the NFTs from your collection are securely stored in a decentralized way, and all you have to worry about is paying your bills on time :)</p><h3>Conclusion</h3><p>We hope you enjoyed this overview of strategies for deploying configurable NFT collections, and we hope you learned something along the way :)</p><p>If there is one thing we wish and hope you do not forget after reading this article — it is thinking about what happens to your collection, and above all else, your community, 15 or 20 years from now. Making an NFT collection is hard work and will test your character in ways you do not expect.</p><p>We wish you luck, and If you ever need help building or launching your NFT collection, feel free to reach out to us on Twitter <a href="https://twitter.com/0xRebels">0xRebels</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c638ec24a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blockchain-biz/deployment-strategies-for-configurable-nfts-c638ec24a2">Deployment Strategies for Configurable NFTs</a> was originally published in <a href="https://medium.com/blockchain-biz">Blockchain Biz</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2FA secured Announcements for NFT Discord Servers]]></title>
            <link>https://medium.com/@0xRebels/2fa-secured-announcements-for-nft-discord-servers-36c1ec73f747?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/36c1ec73f747</guid>
            <category><![CDATA[discord]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[0xrebels]]></category>
            <category><![CDATA[nft]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Thu, 09 Jun 2022 21:59:13 GMT</pubDate>
            <atom:updated>2022-06-09T21:59:13.839Z</atom:updated>
            <content:encoded><![CDATA[<p>In our <a href="https://medium.com/@0xRebels/enhancing-security-of-nft-discord-servers-using-advanced-discord-bots-11c463666a5e">previous article</a>, we entertained the idea of introducing a Discord Bot that adds an extra layer of security for the community by requesting 2FA from the mods when posting announcements.</p><p>Over the past few days, we developed such a bot, and we would like to show you how it works. This bot is part of a larger set of bots we are working on that includes whitelisting, rarity rankings, owner verification, and a few more cool features — but more on that in a future article :)</p><p>For now, let’s focus on the 2FA Announcements. This article will mostly be in the form of a how-to tutorial, and we will address some questions at the end of the article. We will also assume your Discord server is brand-new, so we will cover a few basic setup steps.</p><h3>Inviting the bot and initial configuration of the channel and user permissions</h3><h4>Step 1: Invite the bot</h4><p>You can invite the bot by clicking <a href="https://discord.com/api/oauth2/authorize?client_id=957680857718607912&amp;permissions=1497064668272&amp;scope=bot">here</a>. Please keep in mind that the bot is still under development, and at this moment, you can use it for testing purposes. You can expect interruptions in service and bugs, as we are still working to improve it :). We will officially announce when the bot is ready for public use. If you decide to test the bot, let us know what you think and alert us about any issues — if you find them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*sD9AOE0M7Z1j-vHf8x8voQ.png" /><figcaption>Adding the 0xRebels’ GM Bot to your NFT Discord Server</figcaption></figure><h4>Step 2: Initialize the bot</h4><p>Before you do anything, you need to initialize the GM Bot. You do this by typing !gm init in your #general channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSB_dS2nSRJ6b2OuT8sy3g.png" /><figcaption>Initializing the GM Bot on your server</figcaption></figure><h4>Step 3: Configure roles</h4><p>In a second, you will see the bot join your server. The next step in the process is to configure channels, roles, and permissions properly.</p><p>As we said in the previous article, the problem we are working to fix/prevent is a situation in which a moderator account is compromised.</p><p>For this reason, the GM bot role must be above the moderator’s role. Otherwise, a compromised moderator account could remove the bot from the server or otherwise disable it, thus defeating the purpose of the GM Bot.</p><p>Head on to the Server Settings section of your Discord server and then navigate to the Roles section.</p><p>If you do not already have a Moderator role, create one and place it below the GM Bot role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*teUqPGjLrj5DuGVz759zhg.png" /><figcaption>Configuring GM Bot and Moderator roles</figcaption></figure><h4>Step 4: Configure channels and permissions</h4><p>Next, create two channels:</p><ol><li>#announcements — this is a public channel where your authorized announcements will be published.</li><li>#announcement-proposals — this is a private channel where 2FA will be happening.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*zV08LYasuNMPBrN4Zo2VOA.png" /><figcaption>Creating a private announcement proposals channel for the GM Bot</figcaption></figure><p>When creating the #announcement-proposals channel, make sure to select only the GM Bot and Moderator roles. This is to ensure that announcement proposals do not make it to the public before they are authorized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*iUNobPU_P1RaKLsLZHqjIg.png" /><figcaption>Configuring permissions for the #announcement-proposals channel</figcaption></figure><p>Only Moderators and the GM bot can access the #announcement-proposals channel.</p><p>But this is not the end. Next, you need to set up proper permissions on the #announcements channel, and this means that everybody, including moderators, can only view the message history and react to the messages. Only admins and the GM bot are allowed to post to this channel. You need to configure this for each of these roles explicitly.</p><p>When the GM bot is production-ready, we will create a video to show you exactly how roles need to be configured.</p><h3>Configuring the GM Bot</h3><p>Once you are done with configuring channels, roles, and permissions, it is time to configure the GM Bot :)</p><p>Before you can start using the bot, the bot needs to know the following:</p><ol><li>What is your public announcement channel?</li><li>What is your announcement proposals channel?</li><li>Who are the moderators that can post announcements?</li><li>Are you going to use both SMS and Email in the 2FA process, or only email?</li></ol><p>This is all relatively easy to configure. Here’s how to do it.</p><h4>Step 1: Setting up your primary/public announcements channel</h4><p>Navigate to the #announcements channel you created a few minutes ago and type the following command:</p><blockquote>!gm set-ac</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SXzd5kRalv18Vo8BfKdBVQ.png" /><figcaption>Configuring the public announcements channel</figcaption></figure><h4>Step 2: Setting up your announcement-proposals channel</h4><p>Navigate to the #announcement-proposals channel you created a few minutes ago and type the following command:</p><blockquote>!gm set-apc</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EflEywO4LYSUBHIKOjFeA.png" /><figcaption>Configuring the GM Bot announcement proposals channel</figcaption></figure><h4>Step 3: Setting up announcement moderators</h4><p>This is where the fun begins :) We need a few more people on our test server to adequately demonstrate this part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*Vn3Ircnz6Yf1EehkyitryQ.png" /></figure><p>We now have one moderator and two regular users, one of whom is the admin of the server.</p><p>Based on our permissions and channels configuration, these users see different channels.</p><p>The moderators can see #general, #announcements, and #announcement-proposals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*3QRTp6iIB2mdWyNmtbCsGw.png" /></figure><p>A regular user can see only #general and #announcements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*GW2wQJSxoIH7on-2_z464A.png" /></figure><p>Now, the essence of this step — adding an announcements moderator. To get this done, the admin of the server should run the add-mod command, specifying the moderator, his email, and his phone number. The email and phone number are required, as the moderator will receive 2FA codes to authorize the announcement.</p><p>This is one of the most critical steps. If the admin does not do this, the moderator will not be able to send the announcements. Here is an example of what happens when a non-authorized moderator tries to send an announcement proposal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvyJAQjRaGJ26-kzkKzaVw.png" /></figure><p>As you can see, the bot responded with an error, saying that the user is not authorized to post new announcement proposals.</p><p>The server admin then runs:</p><blockquote>!gm add-mod @0xRebelsMod moderatorsemail@someemail.com +123456789</blockquote><p>This instructs the GM bot that user @0xRebelsMod is authorized to send announcements, to send an email auth code to moderatorsemail@someemail.com, and to send an SMS auth code to +123456789.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l2TFSnwI4Pi6ei_rsoeBFQ.png" /></figure><p>If everything goes well, the bot responds with an appropriate message.</p><p>You can always remove a moderator by running the !gm remove-mod and tagging the moderator you wish to remove.</p><p>For example:</p><blockquote>!gm remove-mod @0xRebelsMod</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xBxf-sPdCrqRF-IEvNcXxQ.png" /><figcaption>GM Bot — Removing a moderator from the list of authorized personnel who can post announcements</figcaption></figure><h4>Step 4: Configuring the SMS API</h4><p>Using both email and SMS auth codes is preferred and recommended, but you can disable the SMS code by simply not configuring the SMS API. If you do not configure the SMS API, the SMS auth code will always be 0.</p><p>The GM Bot contains both free and premium features. <strong>We intend to keep the 2FA announcements as a free feature as it directly benefits the safety of community members.</strong></p><p>However, sending SMS messages costs money, and to keep the 2FA announcements free, we have decided to allow NFT Discord Server owners to configure their own API keys. This means that the bot remains free, but you can pay for your own SMS credits.</p><p>The GM Bot 2FA uses <a href="http://clicksend.com/">clicksend.com</a> as its SMS provider, and if you wish to enable SMS 2FA, you will need to create an account at clicksend.com and get your own API keys. <strong>We are not affiliated with clicksend.com, and we do not get any money out of you using their service. You can learn how to obtain the API keys on </strong><a href="https://help.clicksend.com/article/3pp05c4fcs-how-to-get-started-with-clicksend#6_create_your_api_key_optional"><strong>this link</strong></a><strong>.</strong></p><p>The SMS API keys consist of an email address and the API key. Once you obtain them, use the set-sms-api command to configure the GM bot.</p><p>An example of the command is:</p><blockquote>!gm set-sms-api user@emailserver.com 1234–567–9989–000</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DP4Nh8N6bu6jhUEgt3C1uw.png" /><figcaption>GM Bot — SMS API Configuration</figcaption></figure><p>If everything goes well, you will see a message like the one above.</p><p>That’s it. You’re all set. You can start making announcements with an extra layer of security for your community :)</p><h3>GM Bot’s 2FA Announcements In Action</h3><p>Are you ready? Good :) Here is how sending a secure announcement works:</p><ol><li>The authorized moderator post an announcement in the #announcements-proposal channel.</li><li>The GM Bot sends the moderator an email and an SMS auth code.</li><li>The moderator confirms the codes.</li><li>The GM Bot publishes the proposed announcement in the #announcements channel.</li></ol><p>Here is an example:</p><h4>Steps 1 &amp; 2: Posting an announcement proposal by the authorized moderator</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rYUpAioHMCBAW1icz3DWbg.png" /></figure><p>In the screenshot above, you can see the announcement proposal sent by the moderator. The bot responded with a message, asking the moderator to initiate the 2FA security check.</p><p>The moderator then clicks the button that will send the 2FA codes and initiate a form to enter the codes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*w50rRqB2QW9m_duoki0Sww.png" /></figure><p>If your SMS API configuration is incorrect due to wrong API keys, you will see an error message that looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FUgF_8i6of9Chk3kgO-slA.png" /><figcaption>Incorrect SMS API Keys or SMS API Service outage</figcaption></figure><h4>Steps 3 &amp; 4: Confirming 2FA codes and publishing the announcement</h4><p>Once the moderator gets the codes, he enters them into the form and clicks submit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*GI-slcsY19g1csdrzE4ILQ.png" /><figcaption>GM Bot — 2FA Announcements</figcaption></figure><p>If the codes are valid, the bot will take the announcement the moderator posted and publish it to the #announcements channel for everyone to see :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4mnjt1iye1rXEPf8trm6jw.png" /><figcaption>Gm Bot — Successful Announcement</figcaption></figure><p>If the 2FA codes are invalid, the bot will respond with an error message — as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oO66_7gTRF5_lx7r8zUPZw.png" /><figcaption>GM Bot — Incorrect 2FA Codes</figcaption></figure><h3>Conclusion</h3><p>This summarizes all features and the current state of the 0xRebels’ GM 2FA Announcements Bot. As we mentioned at the beginning of the article, the bot is not production-ready yet, but:</p><ol><li>You can invite it to a test server and try it out;</li><li>We expect to ship the first version of the GM Bot over the next couple of weeks, if not sooner.</li></ol><p>If you decide to test the GM Bot and you need some help, feel free to reach out to us on Twitter at 0xRebels-we’d be happy to help.</p><p>By joining us in building this bot, you are helping to make the NFT space safer for everyone. You are helping to create a brighter future for the NFT industry and everyone in it. And if together, we manage to protect at least a few people from losing their BAYCs, Lands, NFT Worlds, We Are Satoshis, Invisible Friends, or any other NFTs and protect them from the feeling of being violated and robbed, we did a great thing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36c1ec73f747" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Security of NFT Discord Servers using advanced Discord Bots]]></title>
            <link>https://medium.com/@0xRebels/enhancing-security-of-nft-discord-servers-using-advanced-discord-bots-11c463666a5e?source=rss-6641ccae4b5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/11c463666a5e</guid>
            <category><![CDATA[discord-bot]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[otherside]]></category>
            <dc:creator><![CDATA[0xRebels]]></dc:creator>
            <pubDate>Sat, 04 Jun 2022 19:50:43 GMT</pubDate>
            <atom:updated>2022-06-12T08:10:52.798Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the biggest NFT collections ever — Yuga Labs’ <a href="https://twitter.com/othersidemeta">Otherside</a> Discord server got hacked earlier today.</p><h3>What happened?</h3><p>The Discord account of one of the moderators got hacked, and the attacker gained security privileges granting him the right to post in the #announcement channel of the Discord server.</p><figure><img alt="Announcement made by the attacker on the Otherside Discord Server" src="https://cdn-images-1.medium.com/max/1024/1*AYRCbUBeGqj54UzJdMxe1w.jpeg" /></figure><p>The attacker announced an exclusive giveaway for BAYC, MAYC, and Otherside holders — instructing them to go to an unofficial website link to claim/mint the rewards.</p><p>As you can guess, people who went in and “claimed” the reward ended up with their NFTs stolen. Several Otherside Deeds, BAYCs, MAYCs, Bokis, Invisible Friends, etc., were stolen.</p><p>You can look at the activity of the attacker’s wallet here: <a href="https://opensea.io/0x1079061D37f7F3FD3295E4aAd02EcE4a3f20DE2d?tab=activity">https://opensea.io/0x1079061D37f7F3FD3295E4aAd02EcE4a3f20DE2d?tab=activity</a></p><h3>Consequences</h3><p>It is extremely saddening to witness events like these. It’s not just the people who lost their NFTs that lost today — it’s the entire NFT space/industry that’s at a loss. Events like these fuel the fire and hatred towards the whole industry and prevent us from growing and expanding.</p><p>Although there is no official response from Yuga Labs yet, the question is what we, as members of the NFT industry and many communities, can do about it?</p><p><strong>Besides stating the obvious and making efforts to educate market participants on how to recognize and protect against scams like these, it’s up to the builders to come up with and create tech solutions that will help protect other community members and market participants.</strong></p><h3>How can a Discord Bot prevent this?</h3><p>We at 0xRebels are both holders and big fans of The Otherside, and we were present when the attack happened. This unfortunate event sparked an internal conversation about what kind of a Discord bot could have prevented this or at least reduced the possibility of this kind of attack occurring.</p><p>The main problem is that the attacker compromised an account of one of the moderators and thus was able to post an announcement on the official channel.</p><p>After some brainstorming, we came up with a solution proposal where a 2FA authorization would be required before posting to an official #announcements channel.</p><h3>How would a 2FA Discord Announcements Bot Work?</h3><p>Imagine there is a 0xRebels 2FA Announcement Bot.</p><p>Here is how would the bot would work in action:</p><h4>Step 1: Configuring Discord channels</h4><p>To begin with, an announcement channel would be set up in such a way that only admins and the 0xRebels 2FA Announcement Bot can post to it. Nobody else, including moderators, can post to the announcement channel.</p><p>Next, set up an additional channel called #announcement-proposals. This channel would only be visible to admins, moderators, and the 0xRebels 2FA Announcement Bot.</p><h4>Step 2: Configuring access rights</h4><p>The next step in the process is to configure the access rights.</p><p>First off, make sure that the 0xRebels 2FA Announcement Bot role is above the moderator role. Also, make sure the 0xRebels 2FA Announcement Bot role can tag @everyone.</p><p>The steps described above are to make sure that if any moderator accounts are hacked, the attacker can not remove the bot and make sure that the announcements made by the bot can reach everyone on your server.</p><p>Next, configure the 0xRebels 2FA Announcement Bot to monitor the #announcement-proposals channels for any new announcements and post approved announcements to the #announcements channel.</p><p>Next, configure the 0xRebels 2FA Announcement Bot for moderator accounts. This would require moderator user ID, moderator email, and/or moderator phone number.</p><p>For example: !2fa 123456789012345 moderator.john@mynftcollection.com +17241234566</p><p>This will instruct the 0xRebels 2FA Announcement Bot to only consider the announcements made by one of the specified Discord User IDs.</p><h4>The 0xRebels 2FA Announcement Bot in action</h4><p>So, after the configuration steps have been completed, here is how the actual process of posting an announcement would work:</p><ol><li>First, the moderator would post the announcement to #announcement-proposals.</li><li>If the announcement is coming from one of the configured moderator accounts, the 0xRebels 2FA Announcement Bot will send a verification code to the moderator’s email and a text message verification code to the moderator’s phone number.</li><li>The 0xRebels 2FA Announcement Bot would prompt the moderator in the #announcement-proposals channel to enter both email and phone verification codes.</li><li>The moderator enters both codes.</li><li>If the codes match, the 0xRebels 2FA Announcement Bot will take the announcement message posted by the moderator in the #announcement-proposals and send it to the #announcements channel.</li></ol><h3>What’s the benefit of doing this?</h3><ol><li>Even if the moderator’s Discord account is hacked, the attacker can not make any official announcements unless the attacker is in possession of both the email and phone of the moderator.</li><li>This is removing the Social Engineering/Human Factor as a threat.</li><li>This is introducing an extra layer of protection for all community members.</li><li>This bot could be built so that only official links can be included in the announcement messages.</li></ol><h3>Next steps</h3><p>At 0xRebels, we decided to explore the concept of the 2fa announcement bot further, and we started building one. If you are working on an NFT collection and would like to be among the first to get a chance to try it, please reach out to us on Twitter.</p><p>If you have ideas on how to improve the security of the NFT Discord servers or the 0xRebels 2FA Announcement Bot — we would love to hear from you, leave a comment or a tweet.</p><h4>Edit:</h4><p>We developed the bot, it’s currently in beta. You can read about and see how it works in our next article — <a href="https://medium.com/@0xRebels/2fa-secured-announcements-for-nft-discord-servers-36c1ec73f747">https://medium.com/@0xRebels/2fa-secured-announcements-for-nft-discord-servers-36c1ec73f747</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11c463666a5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>