Type: Part Time
Deliverable: typescript class to deliver files to user from the Decent blockchain. The class is already started and just needs to be finished with working public methods and mocha tests. Freelancer should be adept at typescript and mocha. Familiarity with blockchain and specifically Decent/ DCoreSDK is helpful also. Check out Decent.ch. In the included project you will find the entire project in node is. The class content.mjs is the class you will be finishing. Refer to accounting.mjs, which I am working on myself, for the style of functions I would like. All functions should use basic types as parameters and not the complicated types in DCore. The class, Content.mjs should be capable of purchasing content in the currency DCT or any other currency on the platform. It should also download encrypted and unencrypted files that were purchased. Streaming video and music would also be a plus. The class should also upload files to the platform with any combination of authors, owners, and holders. It should also update those combinations and exipration dates. The class should upload content both encrypted or not encrypted using a Boolean for the determiner. The class should also remove content. The class should also allow user to donate to content/ authors using the Patronize Content function.