CASPER API : a blockchain P2P platform with a decentralized and independent data storage unit network

What is CASPER API?

Casper API Casper is a file system utility for decentralized applications based on Ethereum, and other blockchain platforms supporting smart contracts. The blockchain platform is based on a P2P network, participants of which provide resources to perform transactions and calculation. Casper complements the P2P blockchain platform with a storage unit network, which provides HDD file storage service to users, while storage units ensure the network is functioning properly. The storage unit network may be connected to several blockchain platforms (now we use Ethereum platform only). A storage unit may be connected to the network by any person with proper equipment at their home, or a regional data center, which is interested in putting its idle facilities in operation. Each network participant will receive payments for rendering storage services. Casper’s provider verification and rating system is tailored to motivate its participants to act in their own interests, independently from each other, thus maintaining the stability of the P2P network. All participants form a decentralized and independent data storage network, which cannot be controlled by any single person or company. User of a P2P storage unit may upload a file, download the file uploaded, edit or delete the file, grant access rights to other users using various rules. In our case, the target user is DApp, but anyone may also address Casper, if so required. Files are kept encoded in network storage units and replicated to several computers of various storage service providers. In the case a computer of one provider becomes unavailable, another provider is selected immediately to maintain storage of duplicates of those files, which were stored on the disconnected computer. The new provider then downloads file duplicates from other providers that have the exact copies stored

Blockchain Platform Selection 
The blockchain technology is currently developed enough to allow creation on its basis of a technology service, competitive with classic services. Compared to the classics, such service offered by one provider will be considerably more resistant to malfunctions and less exposed to attacks by third parties, because it would be impossible to control the significant numbers of distributed service participants. In our case blockchain will allow to connect various independent providers for DApps data storage

For a blockchain platform to enable creation of a mass service, it shall comply with the following requirements: 
1. Availability of smart contracts Smart contracts enable programming complex work of Casper service on a block chain.

2. Quick execution of transactions Transaction execution time is determined by time period necessary to generate block containing the transaction, as well as by peer synchronization algorithms.

3. Execution of substantial amount of transactions per second To compete with classic services the blockchain should be able to comparable number of transactions, that is millions transactions per second and more. Many popular blockchain platforms allow dozens of transactions per second to be executed only.

4. Reliability of implementation Blockchain implementation should pass an audit and be multiply checked for absence of vulnerabilities. 

5. Public credibility Blockchain users should be sure in stability of blockchain miner community – number of community members and community independence. We have chosen blockchain platforms that are sufficiently well known and trusted by users and listed them in the table below. 

Ethereum Blockchain Selection 
On the strength of all characteristics, Ethereum platform has been selected to create Casper service prototype. At present, Ethereum platform does not completely meet requirements for a blockchain for Casper. Graphene platform fully meets requirements for Casper creation. If the Ethereum is not be developed on sufficient level to fit by all parameters by the time of prototype readiness the user version will be written for Graphene.

Platform Compliance Criteria 
1. Availability of smart contracts The Ethereum platform supports smart contracts in Turing-complete language. The Graphene platform supports smart contracts, however, not-Turing-complete language of smart contracts requires more detailed work during programming. Turing-complete language of Ethereum smart contracts simplify development.

2. Quick execution of transactions Both Graphene and Ethereum execute transactions within fractions of seconds which is satisfactory for Casper service.

3. Execution of substantial amount of transactions per second Today, the Ethereum platform does not match by platform performance but Ethereum team develops transition from PoW algorithm to PoS algorithm, and seriousness of team approach to development and testing allows us to trust implementation being prepared. The PoW algorithm used to compose digital signature of blockchain log is such that it makes hard to rewrite the log. Barrier for rewriting consists in time-consuming calculations on computer which consume processor time. Due to more complex cryptography the PoS algorithm protects a log against rewriting without time-consuming calculations. Transition to PoS must increase Ethereum performance to suitable level. 

4. Reliability of implementation Graphene and Ethereum have multiply proven implementations. 

5. Public credibility Both Graphene and Ethereum have stable and independent miner community.  

Simplicity of development under Ethereum and planned transition to PoS determined the selection of this platform for Casper prototype development. 722 projects already emerged within the last 2 years allow us to make conclusion that their rapid development will continue in future, and demand for them in API for decentralized data storage will only grow further. In case of Ethereum transition to PoS confirmation, the prototype will be developed to fully-functional version. Otherwise, after prototype creation, user version will be written for Graphene or other suitable blockchain. But the charm of Casper API consists in that you can use it for any DApp, on any existent or being developed platform. All you need is connection of smart contract of your DApp with Casper API smart contract

Ethereum Platform Description

Ethereum was the first platform ever to introduce smart contracts. It is written by a talented team, which rapidly develops its platform and the blockchain community in general. The Ethereum currency is ETH. The platform is widely used for writing DApps based on smart contracts. The DApp code is executed in an Ethereum virtual machine, the smart contract programming language is called Solidity. Robustness of the coding language and use of virtual machines provides a Turing-complete computational environment. The cryptographic command execution protocol of the virtual machine ensures protection against possible tampering with smart contract code executed on a miner’s machine. Execution of a single command of the virtual machine yields a payment of Gwei = 10^-9 ETH. The total payment for implementing a typical smart contract is low 

Peer-to-peer 
There are many peer-to-peer technologies and data transfer protocols. Support of some thereof is embedded into current browsers. 

Peer-to-peer technologies: 
● BitTorrent 
● IPFS

Data transmission technologies 
● WebRTC - embedded into current browsers 
● SIP Open libraries exist to operate with technologies from the list above: 
● js-ipfs-api; 
● webtorrent.io 
● p2p 
● peerjs; 
● SimpleWebRTC. 
Existing libraries will enable reducing the time for developing client’s JavaScript for Casper’s peer-to-peer network. 

Issue of Casper Tokens (CST) 
Casper issues its own monetary unit – Casper token or CST, which is used for payment settlements within the service on all blockchain platforms and to purchase franchise by service providers. After being issued at ICO the tokens will be freely traded at exchange.

Storage Volume Registration – Franchise Analogue 
CST owner who has decided to render provider services purchases a quote for memory volume which quote can be registered by him in smart contract for storing. The quote is granted at the rate of 25,6 GB for 1 CST. To purchase quote future provider calls register (tokenCount) Casper smart contract method and specifies in the argument desired number of tokens for getting quote. Specified number of tokens is blocked and can’t be used by owner for other purposes: sale, lease and other purposes described in the document. Token owner can at any time change the number of blocked tokens and quote, respectively by calling register(tokenCount) method and specifying new number of tokens, including 0. When user places order for storage calling getPeers(sizeToStore) method of Casper smart contract the selection of providers is made taking in consideration free space that they

TOKEN SALE
Screenshot_3.png.47c136a6cab64c01fc1d18467011e66f.png
 Pra-ICO
Performing the Pre-ICO phase is planned to sell tokens at a discount. 1CST = $ 0.8. Total funding: $ 1 040 000. Sales will be implemented through the Ethereum smart contract according to the USD / ETH update rate at the time of Pre-ICO launch.
 ICO Do
The amounts planned to be raised through token sales are: $ 31 800,000. The minimum fundraising limit is: $ 4 800,000. Token sales will be implemented through the Ethereum smart contract at an updated USD / ETH rate when Pre-ICO is launched.
Screenshot_5.png.f022f69efffa131b3810e995a1cadae8.png

1_QtP1lYK4JWYesO_3DUIkrg.png.146ba8da05f258d18ae2e93a3c6a5c6a.png
FYI → Casper API is a project that on December 19, 2017 successfully completed PRE-ICO, generating 1239 ETH (about $ 1 040 000) in just 60 minutes!

TIM
Screenshot_6.png.d93699fc76d114c3f85487f449fe8690.png
Screenshot_7.png.3c31c4008b935584604f0f46e8671325.png

for more information visit the link below :

website : http://www.casperproject.io/
whitepaper :  http://www.casperproject.io/docs /Casper_whitepaper_eng.pdf
bounty : https://bitcointalk.org/index.php?topic=2869607.0
facebook : https://www.facebook.com/CasperAPI/ 
twiter : https://twitter.com/CasperAPI 
telegram : https://t.me/CasperProjectENG
ann thread : https://bitcointalk.org/index.php?topic=2869690.msg29471516#msg29471516

profil : https://bitcointalk.org/index.php?action=profile;u=1853850;sa=summary

MY ETH : 0x9ed6130784a6c7C1032afF4a061a98Fa2F7cAcb4

Comments