[英]Convert Web App to Dapp for Blockchain Implementation
I have my web-application which is in Angular2(Front end) and Rails(back end- API), now I want to implement Blckchain to this application, so needs to make it Dapp. 我有Angular2(前端)和Rails(后端API)中的Web应用程序,现在我想对该应用程序实现Blckchain,因此需要将其制作为Dapp。
Here while making the Dapp, do I need to remove the Rails Back-end and convert the business login into the smart-contracts(Ethereum)? 在制作Dapp时,我是否需要删除Rails后端并将业务登录信息转换为智能合约(以太坊)?
Do I need to require to choose the cloud storage platform like Storj, Decent for storing the data? 我是否需要选择Storj,Decent等云存储平台来存储数据?
Please share any online material/blogs which can help me into this. 请分享任何可以帮助我解决此问题的在线材料/博客。
EDIT 编辑
This application is having more than 50 API's, so should I have to write the 50+ smart contract for each API? 该应用程序具有50多个API,因此我是否必须为每个API编写50多个智能合约? that means I need to remove the all Rails API code. 这意味着我需要删除所有的Rails API代码。
Ethereum Smart contracts don't have logins… 以太坊智能合约没有登录…
Here is one of the best resources I can give you: what you want to do first is to understand how the smart contracts work from here: 这是我可以为您提供的最佳资源之一:首先要做的是从此处了解智能合约的工作方式:
https://medium.com/coinmonks/ethereum-smart-contract-development-with-a-web-app-part-1-develop-the-smart-contract-ee2a7c735936 https://medium.com/coinmonks/ethereum-smart-contract-development-with-a-web-app-part-1-develop-the-smart-contract-ee2a7c735936
then you need to understand how to store data on the Ethereum blockchain: 那么您需要了解如何在以太坊区块链上存储数据:
https://medium.com/@ConsenSys/an-introduction-to-ipfs-9bba4860abd0 https://medium.com/@ConsenSys/an-introduction-to-ipfs-9bba4860abd0
Then last you can learn more about the DApps: 最后,您可以了解有关DApp的更多信息:
https://github.com/ethereum/wiki/wiki/Decentralized-apps-(dapps) https://github.com/ethereum/wiki/wiki/Decentralized-apps-(dapps)
https://www.udemy.com/ethereum-dapp/ https://www.udemy.com/ethereum-dapp/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.