Introduction

This smart contract dapp is in BETA and can only be used on kovan and ropsten networks!

This website is used to get access to the functions of a blockchain dapp(decentralized application), which is used to provide product licensing on the ethereum network.
The dapp provides a contract between content providers and customers. Customers can choose between limited licenses (only usable for a limited amount of time) and unlimited license (unlimited access). After the payment for a license is made the customer gains access to the payed content and the content provider can check on his website (or any other tool that supports javascript) if the customer has a valid license for his content.
The transaction details and the license validity are saved on the ethereum blockchain and can’t be changed by the customer or the license provider.

Customer information

If you want to buy some licenses for products, you can do it on this website. Usually you wouldn’t have to visit this page as a product customer since the product provider should implement the customer features on his website. Make sure to buy the correct license for the correct product if you buy it on this website!

Provider information

With this tool, you can create a digital product and sell it to your customers. If you want to sell a new product, use the product overview page to create one. Make sure to set the productID so that validation works on your HTML page.

Smart contract

The smart contract can be examined on etherscan:
Verified smart contract (simpleLicense) on kovan network
Verified smart contract (simpleLicense) on ropsten network
If you have questions regarding the smart contract, please contact our support


JavaScript implementation

To implement validation on your website, you can use the provided javascript code from the following two files.
The first one is the ABI for the smart contract, it specifies the functions which can be used in javascript. You have to implement the ABI to use the simpleLicensing.js file.
ABI download

The second one is a javascript code which is needed for the product validation to work. It enables licenses of users to be automatically validated and provides you with a few buying functions which you can use on your product website. You can download it here:
simpleLicensing.js
To make the code work on your page you need to insert your productID from the product owner page, your custom html error pages and the target page of the product into the simpleLicensing file. After that you can use the following code to validate the users:
<script src="js/dltABI.js"></script>
<script src="js/simpleLicensing.js"></script>
<script>loadSmartContract()</script>

After the function “loadSmartContract()” was executed, you can use the buy fuctions (buyProductUnlimited() and buyProductLimited()) with your html buttons.

If you want to see an example of the implemented features, you can go to the testproduct page and analyse the html code.


Get your custom smart contract

If you want your own smart contract with special features, please contact support