DRM Audio Project V1

This downloadable open source code demonstrates how a musician can token-gate the download of content from their own server using a Digital Access Token and blockchain validation.

Because it’s built as a Selene Network compatible smart contract, the artist can incentivize the selling of their music (or other offerings which are downloaded to the customer). When sales are made, commissions are settled at the time of purchase and access is granted after the token is minted.

The code used mirrors the standard layout that is used by any Selene Network compatible smart contract. This contract installs on the artist’s server and that location is registered to the smart contract as the home location that serves the downloadable content. After the visitor purchases the token, the sample code provides a path for them to download the token-gated content.

More Details

This demo is a smart contract project that can be installed on any server. If you have web hosting where you can create a few folders to hold content, you can host this project there.

All Selene Network projects are a combination of a smart contract that is launched to the blockchain and data that is tied to it from your hosting server. When you deploy the smart contract, you configure it to point to your server which holds the content you which to provide to the world.

Once the smart contract is configured to reference your server, any Selene Network install will allow you to interact with the smart contract. When they do, the smart contract will allow the visitor to find the home location where the content can be unlocked.

Download

The project file used as the demo can be downloaded from the home location of this project. The file name is drmaudiov1.zip.

It can also be downloaded from https://amorstyle.com/download using the same name. That location will hold a SHA1 hash which will allow you to validate that the sample code is unaltered from what was intended by Amor.

Documentation

As with most every Selene Network sample, the documentation for how to host a project and how to deploy a contract is contained within the project ZIP file.

More Info

As with any Selene Network project, the source code it provided to you as is so that if there is an issue, you can fix it, or find someone that can fix it for you. When you replicate this project, please use the tools functionality provide through a Selene Network install in order to validate the JSON files that describe your project are what you intend. Most importantly, have fun and make money.