Launching a Compatible Smart Contract

Hit another Selene Network milestone today. I’ve published documentation sample code and the built-in documentation that allows anyone to launch their own Selene Network compatible smart contract.

The idea is, you download a ZIP file which is a working example of a simple project and then you modify it to fit your needs.

If you have no coding experience, you don’t need to modify anything but you just use the ABI and bytecode that is already provided.

It’s really that 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=0x52b4532d8415b1d60aebad738b0a63c67a1cdcb7

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

https://amorstyle.com/download

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

Video Documenting the Selene Network

After building the ‘reel’ functionality into the Selene Network, I decided to leverage that infrastructure to build in references to videos that talk about different elements of the software.

Basically, by describing the pieces, I’m hoping to be able to convey the overall idea.

A link to the playlist can be found within the Selene Network code itself. Visit a Selene Network install and click the ‘cap’ in the upper right hand corner.

If there are elements of the Selene Network that still don’t make sense to you, please let me know.

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.

The Concept of the Selene Network

To get a better idea of what the Selene Network is, it is worth understanding what it was modeled after, so you can draw comparisons to things you already understand.

The model

The Selene Network is modeled after a modern-day department store. Think of it as a store with multiple entrances, a bunch of specialty departments and products. Those departments have sales representatives and managers. On the shelf are the products of all different types.

When buying a product, you can take it to any register in the store. If a sales agent served you, the casher will usually ask who that was so they can be credited for the sale.

The products are created outside the store by the product creators. Each product has it’s own reason for existing and appeals to different types of customers. Some products are hard to sell, others easy – thus different profit margins.

Yet all of this comes together to form a store.

The logical components

The Selene Network simulates this functionality in a virtual way so anyone can shop for any product that is listed and shop on websites that specialize in particular content.

Think of the Selene Network core code (which is a free download which is installed on websites) as the place where you enter the store. The store looks like and functions the way you’re expecting across multiple websites.

Also think of the different websites as being specialty areas in the store. They will display the items that they are most interested in. The website chooses what to show you, or better yet, what they are selling. These websites also act like salesmen in that they show/teach you about the products.

In the store, any product can be purchased at any register(website) and the sales representative is credited for the sale. This functionality is partly hidden in that you modify the URL to contain the agent id and/or add the contract that you’re interested in. But, the money is handled at the blockchain level, thus any website interacts on the till in the same way – following the same rules.

The Players

You don’t need a store unless you have a product.

The product is a Selene Network compatible NFT smart contract. This can be a Theta Video API token gated NFT, a DRM Anything NFT, a custom designed NFT or whatever. Anyone can create content and launch it to the blockchain. When they do, the high-level code will be able to interface with it. Effectively, the NFT is the product for the virtual store and the act of launching it on-chain makes it available in the store.

The person that creates a product is the content creator. The wallet associated with the content creator is considered the owner of the project and the one that holds the property rights to the creation. It is the titled person. It is the person that brings value to market.

Because every product is different, the content creator defines what they offer, chooses a price and assigns the appropriate sales commissions.

It’s hard to sell a product if there are no sales people.

The registered agents in the network act as the sales people. For digital products like this, it makes sense that they are people that have a voice and/or following. It would be expected that they would have social media followings on different platforms – or a sales technique that get them in front of customers.

Because the act of minting requires an agent id, the code is designed to support sales agents with URLs that include the link. The idea is, the agent might be a YouTube social media influencer that has agent id 4242. If they talk about an item, they would simply add “agent=4242” to the link that they build to the product. When the customer mints, the agent is credited with the sale.

The managers of the sales agents

It makes sense to have people that are good at organizing sales teams as the owner of an Agent NFT. Partner agents (sales people) get registered to the Agent NFT.

With this being said, the Agent NFT holder (Founding Agent) is the one responsible for building out their sales team. Because they get a cut of the sales through their registered agents, it makes sense for the Agent NFT holder to register the best salesmen that they can. The goal would be to optimize the cashflow through their registered agents.

Being an Agent NFT holder is like being the manager of a sales team. It’s up to you to help your team shine.

The end result

The process of using the Selene Network more closely resembles shopping in a store than trading in a marketplace. Once you really focus on how a store operates, you’ll see similarities in the design.

The key difference is that the money trades between the customer and the product creator and in the process, the sales people are rewarded. There is no central repository for holding money nor is there anyone that can block you from interacting with the product NFT.

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) and give them the commissions, follow

Projects in Raffle

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

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

Installing the Selene Network

The Selene Network core code is a software download that just about anyone can install. The basic idea is to download it, modify the configuration file and then upload the code to your server. If you follow the instructions outlined within the zip file download, you will become a node in the Selene Network distributed sales system.

Where’s the code?

The zip file is located on this server. Clicking the following link will download the file:

https://amorstyle.com/download

Every official released version of the code will be displayed there along with it’s SHA1 hash that can be used for verification (that you downloaded my official code).

If you download on Windows, you can validate the zip file by running the certification tool like “certutil -hashfile dsn_v1.0.zip SHA1” and you should get the same SHA1 hash as listed on the download page.

After Validating the download

Inside the zip file, there is a Selene_Network_Install_and_Setup.pdf file. Reading that document (carefully) and copying files to your server shouldn’t take more than a few minutes.

Setting up your own Gallery

There is another document in the zip file that instructs you how to launch your own gallery smart contract using https://ThetaScan.io. That document is Selene_Network_Gallery_Creation.pdf.

Empowering people to use the core code

Another document within the zip file is Selene_Network_User_Manual.pdf. This file explains a little bit about some of the configuration options that a website visitor can use in order to get different effects out of the core display.

Kickin’ the tires

What you see on https://AmorStyle.com/dsn is what you get. If you want to see what the download provides, just visit my site. Play with it a little. If you don’t believe, visit another site that has downloaded the software and see how it compares. 

Details and upgrades

When I develop new functionality in the core code, it will first be implemented on my server showing the new version number in the footer of the page. During this ‘jell’ period, anyone with projects that currently exist on the platform will be encouraged to test that the projects still functions as intended as seen my the new code on my server.

Once the test period is over, the new version of the code will be uploaded as a zip file for download and the dsn_*.zip file will be updated to contain the newly tested code.

Upgrades

People running the code should take note of the current version they are running so that if they encounter a blocking issue, they can simply reinstall the last working version – and report a bug fix request (get ahold of me, or fix it in the code and give me the fix.).

Prerequisites

It is expected that the person that downloads and installs this code has a working understanding of how to install files on a typical website. You will need to create a few subdirectories that will be referenced by your domain name and upload (and maybe edit) files there.

To build your own gallery, you will need to have some understanding with regards to how to launch a smart contract using the https://ThetaScan.io smart contract HQ code.

Summary

If the install process is too complicated, give me feedback. If you like the code and want new functionality, let me know and maybe I’ll add it. If you want to make significant changes to the core, talk to me and I’ll help guide you. Party on!

The Pay with crypto demo v1

In this latest Selene Network NFT project, I’m demonstrating how a project can accept one currency and then mint an NFT on the Theta blockchain.

The basic idea is built around the following fictitious scenario.

Scenarios

A musician wants to tokengate his discord channel so that only paying fans are allowed in. The musician downloads this demo code and launches his own version of the contract on the Theta blockchain. Because it provides all the interfaces needed for the Selene Network code, it displays perfectly fine for his fans. He knows that a few of his fans are Agents in the network so he pays 15% commissions on a $250 NFT. Knowing that a bulk of the people what support his music are also huge Ethereum fans, he chooses to accept ETH for minting (along with the standard Tfuel). He then funds the Theta blockchain account that performs the minting and the buttons are enabled in the webpage. At this point, the musician announces to the world that his fan-club NFTs can be minted using Metamask.

Details

At this point, the demonstration of this end-to-end solution is in action. Please go mint all the different versions of the NFT.

The complication is that the minting is done by an off-chain oracle that runs on a 15-minute heartbeat. The environment needed to run this local server is unique to developing web-based projects, thus my system is the only one currently setup to perform this background processing which results in the mint.

It wouldn’t take much to develop that backend solution, but that work won’t be done unless people like the direction of this project. You know, if there is a need, there is a solution.

So, if you like where this project is going, but the NFT and tell a friend. If enough people like this functionality, I might be motivated to develop the backend into something anyone could run and use.

Take a look at the Project

Pay with Crypto Demo V1

One last thing

I’ve designed this demo so that when you mint the NFT, you get a different image based upon the currency that you use to pay. And, if I add new payment methods, I can add new payment images to reflect that additional functionality. Thus, collect them all!

The Penny Oracle on Theta

The Penny Oracle for Tfuel is now auto-updated. When the price changes more then 3% over 4 hours, the blockchain gets updated.

Been wanting to write this update for a long time. The Penny Oracle that I launched on the Theta blockchain is now auto-updated. In other words, I no longer have to manually update the price for minting any of my NFTs in any of my projects. This automation is a huge psychological win for me. Kinda makes me feel like the code is actually doing something useful.

Note that all the projects that use the Selene Network (distributed sales network) NFT functionality use a Penny Oracle. And, in order for a creator to stay in charge of their project pricing, they would either launch their own, or use a trusted Penny Oracle. If they use my official one, the price is kept current (automagically).

What is a Penny Oracle?

The Penny Oracle provides the amount of Wei that represents a penny’s worth of Tfuel.

Why is it useful?

People that visit my projects think in dollar terms. The Penny Oracle is used by the smart contracts so that they have a current ‘close enough’ representation of the amount of tfuel that it takes to buy their NFT.

By having a relatively accurate price for my NFTs, the value exchange that I’m looking for can be stated in dollar terms rather than Tfuel Wei.

How does this magic work?

The first step comes from a little program that makes API calls to a number of different exchanges that allow for the trading of different Tfuel pairs. From that, the software determines the average price at that current moment. If the code determines that the price has change enough, (three percent from the previous recorded price,) it signs a transaction and posts it to the block chain.

How can you view this?

Well, here is the contract address for the Penny Oracle Version 1:

0x945c5b985a0d4ba6c42a88c1330bded9cd442389

If you look at it’s transactions, you can see that the automation has just recently started. Each time the smart contract is updated, the price averaging code sends the current dollar price of Tfuel and the Wei that represents a penny’s worth of Tfuel.

If you want to view the values that are reported by the smart contract, you can do so by visiting the Interact with a Smart Contract page on ThetaScan.io and use the following ABI to go with the contract address above.

ABI:

[{“inputs”: [],”name”: “pennyPriceTfuel”,”outputs”: [{“internalType”: “uint256″,”name”: “_pennyTfuelWei”,”type”: “uint256”},{“internalType”: “string”,”name”: “_priceOfTfuel”,”type”: “string”}],”stateMutability”: “view”,”type”: “function”}]

When you read this function (pennyPriceTfuel) you’ll see that it returns two items: _pennyTfuelWei and _priceOfTfuel.

How can you help?

The wallet that broadcasts the updates for the Penny Oracle is projected to burn through 125 Tfuel per year. Because this is publicly accessible for any smart contract on chain, if you find it valuable, please support the project.

The Wallet that performs the broadcast updates would be gracious for you Tfuel love:

0x5673DdA6820E986F6fC77087504873B116A4D52c

If I can raise more than one thousand Tfuel, I’ll see about modifying this code to update other crypto currencies too.

How robust is this?

Would like to say that it’s failsafe, but nothing is.

In order for the Penny Oracle to get updated, the software on my machine has to run. With means, if the power grid goes down for me, the Penny Oracle will still report the older update.

The current design limits the number of updates to no more than 1 time every four hours and only if the price has moved more than 3% from the last recorded time. Simulation testing has shown that on average, the price will get updated about every 14 hours.

It shouldn’t take long before there will be enough transactions on chain to confirm this average update period.

The best news is that I’m motivated to make sure that this Penny Oracle stays current for the price it reports is what all my projects use.

What’s next?

Now that this automation is running, it’s time to refocus on smart contract functionality. It’s time to have a little fun with things.