简体   繁体   English

将Web App转换为Dapp以实现区块链

[英]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.

相关问题 如何设计DAPP区块链EVM应用程序? - How to architect the DAPP blockchain EVM app? 每个DAPP都有自己的区块链吗? - Does each DAPP has its own blockchain? 如果我想自己开发DApp,哪个是最好的区块链框架? - Which is the best blockchain framework if I want to develop the DApp for myself? 是否有最佳实践解决方案将草稿数据存储在 dapp 中的区块链之外? - Is there best practice solution to store draft data out of blockchain in dapp? 区块链dApp:最终用户如何在不使用以太坊账户的情况下使用dApp - Blockchain dApp: How end user use dApp without care of Ethereum Account 用于实施区块链的笔记本电脑规范 - Laptop specifications for implementation of blockchain Java Web应用程序是否可以与使用HyperLedger Composer构建的区块链进行交互? - Is it possible for a java web app to interact with a blockchain built with HyperLedger Composer? 在区块链平台上实施智能合约 - Implementation of smart contracts on blockchain platform 使用 Flutter 和 web3 开发 Dapp 的问题 - Problems with Dapp Development with Flutter and web3 我应该使用 Pallet_membership 来处理 dapp 用户成员资格吗? (智能合约和区块链运行时的区别) - Should I use the pallet_membership to handle dapp user membership? (Differences between smart contracts and blockchain runtime)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM