Casper API — decentralized system for developers DApps

Right now the world writes a decentralized operating system on the blockchain. The first platform for decentralized computing was organized by the Ethereum. Thanks to the smart contract developers write apps, and don’t use the platform only for the transfer of funds. Practically, this means that Ethereum has become decentralized computer, and smart contracts — a way to write programs on this computer. However, in Ethereum because of the growth of its popularity at the moment, there are serious problems with scaling the blockchain.

A distributed program (DApp) consists of one or more software modules of smart contracts. We can say that DApp is the network service: it can be caused by any user, and stores user data in a shared cloud «blockchain». New DApp can refer to the already written smart contracts. Thanks to the author of the DApp can only write new functionality without having to repeat already done. So developers contributes to the creation of a decentralized operating system.

Alternatives Ethereum

As in the PC world with Windows and OS X in the world of the blockchain from Ethereum, there are alternatives. The blockchain is the platform of Graphene is not so convenient for programmers to create DApp, but scales better. Actively there are new competitors. For example, Waves Platform — the existing system with the ability to issue tokens, is preparing its own version of smart contracts. We plan to launch other announced and unannounced projects of the block chain smart contracts.

The problem of blockchain

The basic problem of the blockchain — the high cost of data storage within the system and the lack of privacy in the stored data. At the moment, no platform has offered a full-fledged solution. In Ethereum is developing a pilot peer-to-peer storage Swarm, compatible with smart contracts. This is a simple prototype that is not intended to be a complete solution for both problems. Have Swarm is a great redundancy of data: when any, even insignificant change of the file creates a separate copy which is stored next to the old version. This affects the economic efficiency of storage. The solution Swarm reduces the cost of data storage compared to Baccano, but still is not efficient enough to store the data cheaply. Another shortcoming is that the files at the request cannot be deleted. In this case, if the user takes no special action for the conservation of the file in the Swarm, it will be removed automatically for the occasional use. The files are not encrypted, the user must take care in advance. There is no privacy settings, all files are publicly available. Such features Swarm follow from the fact that the authors of the store took an existing library for the IPFS, and applied it without making significant changes.

Another problem is the ecosystem of blockchain for DApp — primitive interface for user DApp: the developer console or the meager possibilities of the standard client or the web services for Ethereum, for example Myetherwallet. To solve this problem, developers DApp creates the web interface and store files on the classic server. Thus, they effectively deprive their services decentralization, because the functionality that is encapsulated in the web interface, begins to depend on the working conditions of the server.

For this reason, the Ethereum still has not appeared such DApp, the analogues of which in the form of apps in any modern operating system for PC — email client and the app to view photos. In the case of the DApp-mail client must be from the mail service that stores emails in the cloud blockchain app for viewing photos has to be the album in a cloud of blockchain. However, the openness of the blockchain means that the letters in the cloud can be read by anyone. Photos in the cloud will be public, and in addition store them in the blockchain will be too costly for users.

Whether the market a proposal, solve these questions?

Casper API

Casper API offers low-cost decentralized peer-to-peer storage for the blockchain, which ensures the privacy of data stored and also gives the opportunity to create a fully decentralized DApp with a nice custom UI.

Stas Kapulkin, technical Director of the developer platform DApp – Casper API, shares his perspective on the decentralization of the near future. The ideas team in the project has already attracted $ 1 000 000 (1 239 ETH) at the stage of Pre-ICO, which ended recently.

How it works

Casper API is able to play a full, productive and inexpensive hard disk for a DApp on Ethereum and other blockchain platforms. Store Casper API will have encryption, privacy settings and the standard features of the load/change/delete files. The server part of the Casper API connects participants in peer-to-peer network with smart contract Casper API, which is responsible for the payment system of the store. DApp receives the ability to request storage of the file and pay the Deposit. For downloading files in peer-to-peer network capabilities smart Casper API contract is insufficient due to the limitation of the Ethereum platform.

DApp was able to download files, requires code additional to the smart contract who can work with peer-to-peer network in one of usual programming languages. This code can be part of the client application DApp. Using a client application DApp gets the opportunity to work with decentralized hard drive, to complement the decentralized computer Ethereum.

Work with Casper API requires client applications. Casper API offers developers DApp to rise to a new level of design by creating a full client application with the backend on a decentralized Ethereum computer in combination with the hard drive from the Casper API. While Casper API can connect parties to peer-to-peer network with smart contracts and other blockchain platforms, and at the same time with Ethereum.

For anyone

Casper API makes possible the creation of DApp with a convenient user interface. You can create analogues of the classical cloud-based applications and to compete with them or to create entirely new services. Classic services mail and store photos are available in the version of the blockchain service. You can create more complex services, such as a blog platform or services the sale of copyright music on the blockchain. You can transfer the blockchain and more severe programs.

The gaming community will be interested to move on the blockchain network shooters or MMORPG. It is already doing. Company Cappacity and Piligrim XXI suggested content platform for augmented reality and introduced a transparent calculation mechanism based on tokens, Ethereum. Similar content the idea came from Reality Clash — the team that is going to run on-line shooter in augmented reality with the individual models of weapons and other gear. While the authors created a 3D model to be stored on regular server. This creates the risk that the economy of 3D models, it would seem a decentralized, independent companies or individuals, can fail, if the company-the authors of the ICO will decide to disable the server or change its operation or to move the server to another domain. Content platforms are not fully decentralized.

The transfer of content into the ecosystem Casper API will allow to make them more transparent to the user community, and reduces the risk of the depreciation of the purchased tokens.

Conclusion

The potential of distributed systems based on blockchain clear to everyone. Expect a classic services such as e-mail, social networks, services, public services and banks, will change the analogs on the blockchain that will operate transparent to the users way and will be independent of the will of individuals, companies or States.

However, the level of existing DApp far from those projected services. Casper API raises the DApp to a new level and makes possible what until now was the forecasts of futurologists.

You can learn more about the project Casper API on the site or Telegram chat.

Добавить комментарий