简体   繁体   English

区块链dApp:最终用户如何在不使用以太坊账户的情况下使用dApp

[英]Blockchain dApp: How end user use dApp without care of Ethereum Account

I want to develop a dApp (Smart Contract) on Ethereum and have a mobile application on top of it. 我想在以太坊上开发一个dApp(智能合约),并在其之上有一个移动应用程序。 My concern is: every time we interact with Smart Contract to inquiry or change data, we need a account as well as a certain number of ETH used as Gas. 我担心的是:每次我们与Smart Contract进行交互以查询或更改数据时,我们都需要一个帐户以及一定数量的ETH作为Gas。 It looks no problem on the development environment, but getting into trouble in real life, I mean about user experience (UX). 在开发环境上看起来没有问题,但是在现实生活中遇到麻烦,我的意思是关于用户体验(UX)。


- Whenever a user download and install the app, we will create for them an Ethereum account. -每当用户下载并安装该应用程序时,我们都会为他们创建一个以太坊帐户。 BUT where they can get ETH to interact with Smart Contract? 但是他们可以从哪里获得以太坊与智能合约的互动? And absolutely, they don't care and don't want to be bothered with exchange ETH. 绝对地,他们不在乎,也不想被交易所ETH打扰。


I have an alternative solution: we have only 1 Ethereum account with some ETH in their and act as the Proxy to the Smart Contract. 我有一个替代解决方案:我们只有1个以太坊账户,其中包含一些ETH,并充当智能合约的代理。 Whenever user's request come, we delegate the request to Smart Contract and return to user. 每当用户请求到达时,我们都会将请求委派给智能合约并返回给用户。 BUT it seems we will lost the main characteristic of Blockhain: Decentralized :) Who know we might arbitrarily change the Smart Contract without user attention. 但是似乎我们将失去Blockhain的主要特征:去中心化:)谁知道我们可能会在不引起用户注意的情况下随意更改智能合约。


Any suggestion is appreciated. 任何建议表示赞赏。 Thank you! 谢谢!

您可以向每个新用户发送一些以太币,以至于可以调用您的合同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我应该使用以太坊区块链还是为我的 Dapp 创建自己的网络更好? - Should i use the Ethereum Blockchain or is it better to create my own network for my Dapp? 如何设计DAPP区块链EVM应用程序? - How to architect the DAPP blockchain EVM app? 如何创建一个没有元掩码的 DAPP - How to Create a DAPP without metamask 我应该使用 Pallet_membership 来处理 dapp 用户成员资格吗? (智能合约和区块链运行时的区别) - Should I use the pallet_membership to handle dapp user membership? (Differences between smart contracts and blockchain runtime) 将Web App转换为Dapp以实现区块链 - Convert Web App to Dapp for Blockchain Implementation 每个DAPP都有自己的区块链吗? - Does each DAPP has its own blockchain? 服务器可以“冒充”以太坊区块链上的用户帐户吗? - Can a server "impersonate" an user account on Ethereum blockchain? 如何从Superblocks发布dapp? - How to publish a dapp from Superblocks? 如果我想自己开发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?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM