Creating baskets of digital assets

Incorporated in the toolbar for the seleneNet core code is a basket icon which leads to the new ‘basket’ NFT contract. This contract can be used by anyone and it allows for collecting multiple NFTs into a single collection.

The idea is that you might have two NFTs that go well together that you want to offer for sale as a collection. When you think about buying tickets, this type of functionality makes sense. You sell paired tickets or collections so everyone in the party could go to the event.

The way this contract works is that you give the contract your resource and it returns to you the token id that holds it and makes you the owner of that token. At that point, you can add more NFTs to the token. If you don’t like your collection, you can remove and add something different. As long as you’re the owner of the basket, you can add and remove resources.

The key benefit is that once you’ve built the collection, you can place it in the marketplace and when it’s sold, the new owner has access to all the token resources.

Visit https://amorstyle.com/dsn/ to see it in action.

Collateral Backed NFTs – Bonded NFTs

I put this project together to demonstrate that you can assign collateral to an NFT. I’m calling it a Bonded NFT. The collateral is added during the mint and released during the burn. Because the collateral is assigned to the NFT, whomever holds the NFT has rights to the collateral.

There are two types of collateral used by this project: a tnt-721 NFT and some tnt-20 tokens.

With this implementation, there are currently three tnt-20 tokens supported: WTheta, GROVE and Ruby. This could grow if requested.

Link to project: https://selenenet.org/nfts/tntcolv1/

Grove: https://selenenet.org/nfts/tntcolv1/?p=grove

WTheta: https://selenenet.org/nfts/tntcolv1/?p=wtheta

Ruby: https://selenenet.org/nfts/tntcolv1/?p=ruby

The way it works

Whomever launches the Collateral Backed Smart Contract has the ability to create different Bonded ‘cards’ that can be minted (see the cardsv1 demo). The contract owner specifies what the collateral is for both the tnt-721 and tnt-20.

Then, during the mint process, the contract will require both the specified deposit NFT and Token in order to mint the new NFT.

That new NFT’s metadata will indicate what is held on behalf of the NFT holder. It will show what is Bonded to it.

Because the smart contract associates the collateral with the Token id, that token can be transferred to anyone with a simple send of the new Bonded NFT.

The Minting Process

Because the collateral contract gathers collateral from the person minting, Metamask will be used to get permission for each resource and to mint. Thus, if a tnt-721 NFT is required, Metamask will first ask for permission to acquire that resource. Next, if a tnt-20 token is required, Metamask will be used a second time to ask permission to acquire the Tokens. Finally, Metamask will be used a third time to kick off the mint of the Bonded NFT.

Recovering your Collateral

The Bonded NFT is meant to be transitory. It is designed to help you move a resource between accounts (or people). The mint process locks up the collateral, the burn process frees it back up. Whomever burns the Bonded NFT will receive the collateral. It’s the reverse of the minting process.

Take your Collateral to Market!

Because the collateral is locked to the existence of the Bonded nft, you can take it to market with confidence that the resource will exist through the trade.
This is made easy by the Selene Network wallet viewing code. Just click the ‘List’ button when viewing your resource.

Multi-Image Selene Network Sample

This one is called the ‘Cards Contract.’

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://selenenet.org/nfts/cardsv1/

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

https://selenenet.org/download

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/nfts/drmaudiov1/

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://selenenet.org/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://selenenet.org/download

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

The Wallet Educational Series

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

Something 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://selenenet.org/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?

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 use your own agent id, you have to build the URL:

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

Projects in Raffle

Turns out that the time period for the raffle has passed. This article is left as a reference to what has happened.

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://selenenet.org/download

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 ‘Marketplace’ (see the shopping bag icon or follow a ‘list’ button when visiting a seleneNet install. This NFT is a built-in secondary marketplace for exchanging both standard tnt-721 and seleneNet compatible tokens.

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

So, install MetaMask and instruct it to connect to the Theta Network. Once you have, connect it to this website (AmorStyle.com (or selenenet.org)) 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.