Author
Moritz Armingeon, [email protected]
Luzon is a TaaL (Token-as-a-License) implementation. This prototype is a floating license system as a decentralised application. I built Luzon within my Master Thesis Project. The report is available upon request.
Taal is the name of a volcano on the Philippine island Luzon.
Node.js Link
Truffle (npm install truffle -g) Link
Ganache Link
Browser with Metamask Link
Install dependencies
npm install
Compile contracts
truffle compile
Migrate contracts
truffle migrate
Run tests
truffle test
Start Node Server
npm run dev
Step 1 - Open ProviderView
Details
User: AssetProvider
Result: No Providers deployed yet.
Step 2 - Create a new Provider (SoftCompany1, Symbol SC1)
Details
User: AssetProvider
Result: Confirm-Transactiondialog appears.
Step 3 - Show deployed Providers
Details
User: AssetProvider
Result: Newly created SoftCompany1 appears.
Step 4 - Add a software asset (Taskmaster Studio Pro, 10 SC1)
Details
User: AssetProvider
Result: Confirm-Transaction dialog appears.
Step 5 - Show ProviderView, List Assets
Details
User: AssetProvider
Result: Newly created Taskmaster Studio Pro appears.
Details
User: AssetProvider -> AssetConsumer
Result: AssetConsumer takes over.
Step 7 - Show Consumer View, Create new Company (CarCompany)
Details
User: AssetConsumer
Result: Confirm-Transaction dialog appears.
Step 8 - Show Consumer View
Details
User: AssetConsumer
Result: Newly created CarCompany appears.
Step 9 - Switch to ProviderView
Details
User: AssetConsumer
Result: ProviderView appears.
Step 10 - Buy Tokens from SoftCompany1. Target address is the contract address of CarCompany
Details
User: AssetConsumer
Result: Confirm Transaction dialog appears.
Step 11 - Switch to ConsumerView. Add EndUser to the trusted Users
Details
User: AssetConsumer
Result: Confirm Transaction dialog appears.
Step 12 - Show ConsumerView
Details
User: AssetConsumer
Result: Newly added EndUser is part of the users.
Step 13 - Switch User to EndUser, Open UserView
Details
User: AssetConsumer -> EndUser
Result: EndUser takes over.
Step 14 - Select CarCompany and Softcompany (Taskmaster Studio Pro), click checkout
Details
User: EndUser
Result: Confirm Transaction dialog appears, TestApp (Taskmaster Studio Pro) opens.
Step 15 - Use Taskmaster Studio Pro, click Return
Details
User: EndUser
Result: Confirm Transaction dialog appears, TestApp (Taskmaster Studio Pro) opens.
Step 16 - Test checkout with invalid user
Details
User: Invalid User
Result: Checkout is not possible.