Multi-Image Selene Network Sample

This one is called the ‘Simple Cards Project.’

This is a simple multi-image type smart contract that is fully Selene Network compatible. The idea behind the smart contract is that the creator can deploy one smart contract to the blockchain and then later issue items that are individually mintable.

Even though the project was modeled after cards, the point is that the contract uses two parameters for grouping the items: series number and spot number. There can only be one item registered with each series and spot combination. The code also groups the series items together for minting. The order of the display is set by the order of the objects in the project JSON file.

As with other Selene Network compatible projects, there is different functionality displayed to the website visitor based on their involvement with the project. Project owners are shown unregistered cards and the register functionality. Also owners are show the ability to enable or disable minting of that card.

Customers are generally just show the mintable options. Once a card has been minted, it will show up in the holder area and in the wallet view. In the wallet view, there will be a ‘cards’ overlay that can be clicked back to the project home.

Key functionality

This contract makes it really easy to add more unique items to the contract over time.

Examples

Let’s say you’re a photographer looking to sell high quality images. Each card might represent a new image with it’s own mint price. The image displayed is a low quality image that when purchased unlocks a high quality download.

Maybe you’re a digital artist that creates one of a kind type images. Again, the NFT image could be a low quality image and when purchased, the customer can download the high quality image by just signing a transaction.

Or maybe, a website allows users to have their own avatar based on a mintable token. The website could author a bunch of images that are acceptable and then users mint their own which are incorporated into the website.

Options are pretty open-ended

If you want to give this a try, you can visit my cards implementation here:

https://amorstyle.com/nfts/cardsv1/cardsv1.php

If you want to copy what I’ve done, here is the zip file:

https://amorstyle.com/nfts/cardsv1/cardsv1.zip

Documentation is included within the zip file which helps outline the things you need to do and why you’ll be doing them.

Summary

As with all these projects, would love to see one working for you. Let me know if you would like help customizing this base contract or just getting this one to work for you.



Tokengating Audio Files with a DAT

In this project, I wanted to show the end-to-end implementation of using the Selene Network software and a compatible smart contract to tokengate audio files from my server. This sample is fully documented in the zip file download which is, like all other Selene Network examples, free.

Download drmaudiov1.zip from https://amorstyle.com/download.

Interact with the demo: https://amorstyle.com/dsn/?contract=0x44a8e5648334a6685c8425676d7c074e19c9a37f

If you choose to use this software to generate a similar user experience, you’ll need a couple things.

Hosting

All Selene Network projects require that you host the project on your own server. It’s not a WordPress install, but actual file hosting through your hosting service.

Metamask

You and the clients using this code will need Metamask in order to launch the smart contract to the blockchain and to interact with it once it’s there.

Content that you own

You’ll also need something that is valuable enough to make someone want to buy it from you.

The Basic Idea

The idea is, if the visitor buys the DAT, it can be used to unlock the content.

The way this demo does that is the creator places the valuable files on their server in a folder that only they can read. They then create an ‘nfts’ directory where they place the project folder. At this point, you edit the project JSON files (just text) and come up with your own image and then upload it to your server. You use a Selene Network install to validate that it sees your project file correctly.

Then, you launch the already built smart contract to the blockchain using ThetaScan.io. In the process of doing that, you configure it to point to your server and your project.

At this point, you’ll have your own smart contract on chain that you can reference like the link above “?contract=Your_contract_address”.

Now, because this demo contract references my demo content, you’ll need to make sure that you edit the JSON file that describes the content so that it downloads the appropriate files from the correct location on your server. And, the details of all this is contained within the documentation that is included in the ZIP file.

Summary

As with any Selene Network compatible smart contract, you can incentivize sales agents and other installs to feature your product. If they make a sale, their commission is automatically credited to them within the smart contract.

More Info

Even though I’ve made this code – simple – for a developer, most people still see it as if I’m writing Martian or something else completely foreign. Thus, tag me on social media and ask if I can help you get this done.

This project is similar to my custom NFT project, which is linked to here:

https://amorstyle.com/dsn/?contract=0x15433398Fd20b5c88D1A15a24675891c96174155

I’m also giving away some of these projects in my “Where’s the Cheese?” raffle. Pick up a raffle ticket and support this work.

https://amorstyle.com/dsn/?contract=0x9aff5efe24084fb7788472193afe734be775e4e4

Launching a Compatible Membership Smart Contract

Hit another Selene Network milestone today. I’ve published a Selene Network compatible membership smart contract sample with documentation that anyone can use on the Theta blockchain.

As with the Simple Sample (documented in a previous article), the idea is, you download a ZIP file which is a working example of a simple membership project and put it to work for you. The Selene Network core code supports this membership functionality directly.

If you want to modify the contract to fit your special needs, there is included documentation explaining how you can test it before deploying.

Ultimately, this sample makes things simple.

The documentation explaining how to do this is included in the ZIP file itself.

I’ve launched a version of this contract and it can be viewed using the Selene Network software with the following URL:

https://amorstyle.com/dsn/?contract=0x98039a0bc1125c93542a6f6572287a23a2e38b49

If you want to download this example, that can be done by clicking on ‘sc_simpv2m.zip’ on the download page:

https://amorstyle.com/download

As with all downloads, please verify the code is unaltered using the SHA1 hash.

The Wallet Educational Series

Wallet Education Module

I’ve built another project using Selene Network functionality. This time, it’s a tokengated video series to teach people how to use crypto wallets in a secure fashion. It’s effectively a collection of videos that are uploaded to the Theta EdgeCloud which uses Theta DRM to unlock access.

I would encourage anyone (and everyone) to get one of these Digital Access Tokens (DAT) to not only learn about how wallets work, but more importantly, learn how the Selene Network works. Click the home icon and visit the project’s mint page.

To go with this DAT project, I modified the core Selene Network code to introduce the idea of a video reel. The project creator authors a JSON file that describes the videos (kinda modeled after other video service providers) so that there are clickable thumbnails to the videos. Here is a link that unravels this projects reel, link.

The information about the reel is referenced in the core Metadata that describes the project. Thus, a visitor to the project can see that there is a video reel associated with the project and they can view it.

It’s another demo!

Yet you will most likely learn something about wallets and crypto if you get this DAT and watch the series.

Behind the scenes

This project demonstrates a simple PayWith type Selene Network project. This is effectively the type of project that you could develop if you purchased the “Simple Paywtih NFT Project” package. The key difference between this package and the “Simple NF Project” is the ability to pay using ETH, POL, BNB or Tfuel.

Another thing that is unique to this project is that the JSON data that describes the video reel is editable by the project creator. This means that a project like this could be used to tokengate regularly generated content. The creator would simply upload the video to the Theta EdgeCloud and then edit the JSON data that is used by the project. Once changed, the project will show the new video and use the same smart contract to DRM the content.

Keep in mind that I’m raffling off projects all year through the “Where’s the Cheese?” project. If you get a raffle ticket, you might just win one of these projects.

One last thing

With regards to the video reel functionality, the Selene Network code allows for linking to either YouTube or Theta EdgeCloud videos. The idea here is that the video that is linked in to YouTube is the video that introduces the viewer to the product that is tokengated. This allows the project creator the ability to explain what the product is – in video form – for the customer.

How the Selene Network uses the Participant NFT

If you’ve visited the Selene Network install on this website (hint) this link:

https://amorstyle.com/dsn

The first thing you’ll notice is that you’ve got to connect Metamask for the code to actually work. The core code uses the functionality of Metamask to let the user interact with blockchains. Specifically, the Theta Mainnet, so hook up that blockchain network.

So, once you connect, the next thing you’ll see is a prompt to buy a Participant NFT. The UI looks kinda cheesy, but it’s the text in the blue section that you’ll want to understand. Because this is new technology, I’ve built in a little guidance to help stir you in the right direction.

Yet, what’s being presented to you is that you have to buy a Participant NFT in order to unlock the Selene Network core code.

The logical response would be, do I have to buy something before I can see it in action? In other words, was this written by Nancy Palosi? … Thank God, no.

The code in action

Just below the blue information section you’ll get to see the code in action. The section, which looks like the image here, is a demonstration of the code. It’s already interfaced with the Participant NFT on the blockchain and shown you information about it.

The top section (title trough total NFTs), which contains the NFT image is the project description section. Every Selene Network compatible NFT provides this basic info. This is the key part that allow the core code to interface with the smart contract.

Just below that is the minting section. The core code fetches the current price of tfuel so that it can show you 50 cents worth of tfuel. That’s the cost of unlocking this project for the visitor. When you click the mint button, the code launches Metamask to request payment.

If you choose to put a Participant NFT in the account that you linked to this website (might want to call it your Selene Network account), every time you visit any Selene Network compatible server, it will detect that you already own this NFT and unlock the code.

You can say that the Selene Network is tokengated on a Participant NFT.

Why is it designed this way?

Not only does the high-level code perform a Participant NFT check, but all Selene Network compatible smart contract NFT projects do too. Key functionality within the project NFTs check to make sure that you are from the Selene Network. If you don’t hold this NFT in the wallet that is interacting with the Selene Network compatible project, it will reject the key function requests.

The second reason is that this is one of the ways that the Selene Network designer gets paid. It’s not a lot, but if enough people use the network, it will add up.

Is there anything else the Participant NFT is used for?

Yes. Another key aspect in the design of the Selene Network is that in order to incentivize sales people to get involved, there needs to be some limits on how many agents can sign up. The network wants the right sales people, not just anyone.

So, inside the minting of the Agent NFTs, which are used to sign up sales agents, the minting code has a check that makes the mint relative to the number of Participants using the network. As the number of Participants grow, the numbers will allow for new Agent NFTs to be minted.

Summary

So, when you’re presented with the prompt to buy a Participant NFT, I’m saying thank you right now for that purchase. The code you’re using to mint that NFT is the Selene Network core code and it will deliver the key that allows you to be a participant in the Selene Network – which is software that anyone can run on this server.

Announcing – Where’s the Cheese?

Where's the Cheese?

This is your opportunity to support project growth on the Theta Blockchain!

I am offering up NFTs to the community that can be redeemed for my time helping you launch NFT projects using the Selene Network.

Because it takes time to build and grow, the raffle will span the calendar year of 2025.

Key points

  • NFTs are about $10 worth of coin.
  • After the first raffle, tickets will be sold in ETH, BNB and POL.
  • This NFT pays Agents 65% commission for sales and 15% for IT support.
  • The prizes are outlined in the whitepaper, maybe $15k worth.
  • It’s all about growing the Selene Network.

There is time to get involved, for growing the network means getting Partner Agents registered so they can capture the commissions and installing the core software so multiple website can participate.

The prizes will be distributed throughout the year, thus buying in early gives you more chances to win (1 raffle, multiple draws, etc).

More importantly, it gives Partner Agents time to find the network and get signed up. And, as prizes are claimed and get dropped onchain, the Agents will have more to talk about.

Support this Project

This is a new way to sell NFTs using blockchain for settlement while empowering content creators to be able to manage how they compensate their fanbase or loyal influencers.

Install Metamask, connect to this website (or any partner website) and see the process in action.

Also note that the Selene Network core code is tokengated on holding a soul bound Participant NFT. The code will help you acquire that NFT.

Where is this NFT mintable?

Anywhere there is a server running the Selene Network software. Right now, there are two locations (I’ll edit this page as more installs request it).

Where you mint matters!

If you mint from me, my Partner Agent and website will collect the commissions. If you mint from an affiliated site, they get the IT commission and present their Partner Agent Id in order to collect commissions. If you mint presenting a Partner Agent id on the URL, that Partner Agent will receive the commissions.

Here are some examples

To mint from me using Tfuel:

https://AmorStyle.com/dsn/?contract=0x9aff5efe24084fb7788472193afe734be775e4e4

To mint from an affiliate using Tfuel:

https://ThetaPollinator.org/dsn/?contract=0x9aff5efe24084fb7788472193afe734be775e4e4

To use your own agent id, you have to build the URL:

https://Affiliate.website]/dsn/?contract=0x9aff5efe24084fb7788472193afe734be775e4e4&agent=The_Agent_Id

To mint using ETH, BNB or POL:

Click the home button in this advertisement block at the top of the page.

If you want to mint from an affiliate site (like Theta Pollinator), follow the link above.

Projects in Raffle

The following three projects are what is being offered for the raffle.

Note that the home icon takes you to the location where the project can be minted, the “WP” icon links to the project whitepaper and the copy icon captures the home URL for switching browsers (if you’re on mobile, you need to use the mobile Metamask browser).

Simple NFT Project
Custom NFT Project
Simple Paywith NFT Project

Disclaimer

As with launching any new project, there may be issues that need to be fixed. Hopefully, all the issues will be relatively small, thus fixable. If there is a critical issue, I have the ability to terminate the minting so that a reasonable solution can be found a presented in order to complete the process of enabling growth.

Why are my NFT projects demos?

Today, Google’s AI is a little smarter than normal.

“A “demo project” in software development is a small, functional version of a software application designed to showcase its key features and functionality to potential users or stakeholders, essentially acting as a “preview” to demonstrate the concept and potential of the full product before significant development investment is made.”

Each demo on my website proves out a little functionality that an NFT could have while allowing me to build out the protocols and framework, which all need to work together in order to show something useful that is worthy of developing further – and, of course, using.

During this time, I’ve also built out tools to help make developing for this project more efficient. As I move into the next phase of this project (empower the propagation of NFT projects) I’m sure I will continue to add features to these tools and make parts free for download.

What do the demos show?

It is possible to have common high-level code that can live on multiple servers which can all work together as a unified sales network to empower commission-based NFT sales and these NFT can be custom designed by creators – all at a very low cost.

The decentralized design displayed in these demos, combined together with the ability to claim commissions in a leap forward for the NFT industry. Having decentralized access to a blockchain removes a significant point of failure for centralized NFT marketplaces. Being able to use the blockchain to distribute sales commission also means that you’re empowering the ‘right’ sales people to drive sales for the appropriate project.

Removing some centralized points of failure makes the system more robust and removes locations where ‘someone else’ could lock you away from claiming your property. These demos show that agents can get to their funds in any project without having to ask for permission. If one server is shut down, just install the code on another.

How do you use a demo?

All my demos are built using the same framework. The demos are an NFT project hosted on a server that gets launched in the blockchain. Because they are Selene Network compatible, the high-level code can extract useful information about the project out of the NFT which is reflected to the human that wants to interact with the NFT.

Most all my code is a zip file download. If the file is not already on my server, you just need to ask for it. The code is PHP and JavaScript and I try to make it easy with regards to showing where the changes need to happen – if you want to customize it.

You need help?

If you need help, message me on twitter(x) or connect with me in discord.

Download the Selene Network

https://amorstyle.com/dsn/dsn_latest.zip

Marketplace Solutions for the NFT Creator

The old-school brick-&-mortar approach of forcing a creator to ‘fit the mold’ with regards to content creation and distribution is quickly becoming a thing of the past. As technology advances, more creators are going to find that there are alternative paths for content distribution that don’t involve large, centralized organizations.

Ultimately, I’d love to see more creators leverage the power of blockchain to incentivize perfectly good strangers to sell their project for them. This is why I put together the Selene Network (DSN). The network protocols allow creators to own and manage their content while also incentivizing others in a trustless manner.

The latest addition to my Selene Network collection of demos is the ‘NFT with Marketplace demo Version 1’ (see the display section on this page). This NFT has a built-in secondary marketplace.

Imagine being a creator and offering a NFT collection that represents 100 pieces of something unique. Say, every day the creator posts something new to the collection. If this demo code is used (and slightly modified), not only would the creator be able to incentivize sales, but they would have a built-in marketplace where the unique items could trade.

No need for a third party centralized website. Instead, the functionality can be served right off the creator’s own website where there is a high level of trust in the content (and means to the content).

Take a look

MarketPlace Demo V1

So, install MetaMask and instruct it to connect to the Theta Network. Once you have, connect it to this website (AmorStyle.com) and visit the links in the display block above.

If you would like to see other examples built on the Selene Network core code, visit the Gallery.

Contacts

Feel free to tag me on Twitter @AmorStyleYoga. Every sample that I create is available for download and review. See the project JSON file for details.

The DRM Anything NewFunctionaliTee

DRM Anything NFT

A while ago, I was asked to create the framework that would allow someone to hide a document on a server and then only allow access to someone that proved they owned a particular NFT. Likewise, provide functionality that downloads a file to the user machine after it passes the signature and if it holds an NFT of the given project.

Well, I have a demo and it is called the DRM Anything NFT.

I’ve updated this code again, so now not only does it present a link and download a file, but it also allows the ‘unlocking’ of a unlisted video on YouTube.

And yes, we both know that the content that is being delivered can be copied and shared. Most content online can be. What this demonstrates is that the server will only share this content with website visitors that demonstrate that they own an NFT in the project and that they are the owners of the wallet that holds the NFT.

More Info

Not only does this NFT support the basic Selene distributed sales Network (dsn) functionality (which offers sales commissions to sales agents and allows for common minting) but it uses the new infrastructure that I added which can be used to validate signatures.

The new functionality is the Instant Access button. If the visitor does not own the project NFT, the Instant Access button will be disabled. Once minted, the button is enabled. When it’s clicked, MetaMask is launched so as to sign a message that can be decoded on the server. The message is the timestamp and smart contract address.

When MetaMask returns the signature, the client browser sends that information to the server so it can be decoded and validated. When the info is found to be valid, the server validates that the signing address actually holds a non-zero balance in the project.

After all this checks out, the server returns the hidden information and it’s displayed to the visitor next to the Instant Access button.

What are the dependencies?

The good news is that the code that performs this work is all in the dsn core files. This means that the entire system (dsn) can be easily installed on just about any server.

The bad news is that there is no built-in database functionality with this NFT. This means that the file that provides the secret will need to be edited to change the prize.

What’s next?

Well, I’d kinda like to see this code evolve so that it could be modified using WordPress on the backend. Ultimately, the artist should be able to make simple modifications to their database and the signing process unlocks a database searchable list of secrets.

The classic example would be to sell an NFT that works as a membership ticket. The NFT has a lifespan and the owner uses it to unlock private content.

Let me know what you think.

A Theta Hackathon project – Selene Network

Hack it 2024

Today, I officially entered the blockchain based distributed sales network(dsn) in the Theta Hackathon as the Selene Network project. I’m going to call is SelNet for short.

Here is a link: https://devpost.com/software/amorstyle-distributed-sales-network-selnet

If you missed my previous blog post, this dsn is flexible opt-in sales system that empowers creators to incentivize sales through influencers bypassing standard centralized marketing approaches.

In this system, creators determine the sales commission and influencers determine if it is worth talking about. Settlement happens at the time of minting and as long as the sales goals are met, there is no restriction on capturing the rewards.  

In really simple terms, if you are an influencer and you like talking about cool NFT projects, this is a way to get paid if people mint based on your endorsement as long as the NFT project build to this protocol.

Support my work!

In order to show off how it works, I created a time limited mintable NFT that can be minted throughout the Hackathon (last mintable block number: 26243000 ). This NFT pays 50% of the mint Tfuel to any Agent that makes the sale. It also pays 5% to any website that offers access to the network.

To qualify for this commission, you have to get registered as an Agent or a website. If you want to build a sales force, you mint an Agent NFT. If you just want to endorse projects and capture the commission, you need to find someone that is willing to register your MetaMask compatible Theta Network address into the Agent system.

If you want to learn more about the Selene Network, follow the link.

I want to support you!

The other part about this project is that it needs people to build and deploy projects that are SelNet compatible. For most people, this can be technically challenging or, even worse, daunting. I’m here to help simplify this. The infrastructure that I’ve created takes a lot of the complexity out of the process.

If you already know that creating a simple NFT is something that you need, pitch me your idea and I can help you realize the benefits of this decentralized sales network infrastructure.

If you are an influencer, getting setup as an Agent is another option. Nothing better than getting paid to talk about things that you already love.

Minimum requirements

It should be obvious, but the smart contracts and NFTs are all built on the Theta blockchain and require that anyone interacting with the network use MetaMask. It’s pretty easy to setup, search for the official MetaMask website and download the browser extension that works for you.

Once you install, you’ll need to make your MetaMask wallet Theta blockchain aware. After doing that, you’ll need to acquire some Tfuel, most likely through a decentralized exchange.

Unfortunately, when it comes to using the technology, the customer has to show this basic level of technical understanding. This is one of the reasons why the network checks for the Participant NFT in the connecting wallet. The thinking is, if the customer can’t get this far, they will not be able to use the NFT as designed by the creator.

The good news is that MetaMask currently have over a million customers and they are working to solve that onboarding issue. As they solve that issue, more customers will be available to use the network.

What’s Next?

If participating in a network like this appeals to you, feel free to contact me. Best way is via my twitter handle: @AmorStyleYoga.

If you’re an influencer and you love the Theta blockchain or NFT projects on the Theta blockchain, let the creators know that this network is available so they can drive sales through the people that teach people about the projects. It’s an Opt-In system!