关于区块链和以太坊的问题
Questions abous blockchain and ethereum
我正在阅读有关区块链的信息并开始开发我的第一个智能合约,我在开发 IT 解决方案方面有很多经验,但区块链中的一切看起来都与我习惯的非常不同,我无法想象一些方法和可能我在阅读中丢失了一些东西,如果有人可以帮助我解决以下这些问题...
:)
所以我们走吧
假设我在以太坊中有一个区块链解决方案 运行。这是一个投票系统,这个系统是由一个地区开发的,目的是与您的公民进行研究,所以
如果其中一位公民投票,这是以太坊中的交易,必须使用 gas 支付。为此,您需要以太币,当您创建账户时,以太币为零。公民将如何投票?他们是否需要在交易所(或挖矿?)中购买以太币?
如果网络中的每个人都可以将数据发送到我的智能合约,我如何才能阻止选区外的投票?
在区块链中使用传统系统存储其他数据(地址、电话、SSI)并仅使用特定交易(如投票)是否很常见?我如何整合它们?
我已经在 myetherwallet 中创建了一个钱包。这个钱包与使用 geth 的新帐户命令相同吗?是否可以从 geth 连接到我在 myetherwallet 中创建的钱包?
我在哪里可以找到这些主题的大神 material?
请从我这边找到以下回复。请记住,我们对这些问题的回答越多,它就会变得越多样化,因为基于许多因素,一个人与另一个人的想法不同。无论如何,我们开始...
- 如果其中一位公民投票,这是以太坊中的交易,必须使用 gas 支付。为此,您需要以太币,当您创建账户时,以太币为零。公民将如何投票?他们需要在交易所(或挖矿)购买以太币吗?
Yes, for starters they have to pay the gas. Although, there's an ERC827 out there not to pay fee, and also some discussions around delegating the payment to a specific account, such that instead of individual users the owner of the smart contract can pay. In this case maybe the government can bear the amount.
- 如果网络中的每个人都可以将数据发送到我的智能合约,我如何才能阻止选区外的选票?
You can run consortium chain like quorum to limit the participants to a specific group. So that the transactions aren’t visible to everyone. Because on the Blockchain main chain of Ethereum it’s visible to everyone.
- 在区块链中使用传统系统存储其他数据(地址、电话、SSI)并仅使用特定交易(如投票)是否很常见?我如何整合它们?
Yup, you don't want to take the Personal Information (PI) onto Blockchain as its visible for everyone to view. Instead you can have them store in a database and use an Oracle service to be able to talk to outside Blockchain.
- 我已经在myetherwallet 中创建了一个钱包。这个钱包与使用 geth 的新帐户命令相同吗?是否可以从 geth 连接到我在 myetherwallet 中创建的钱包?
Yes, pretty much possible. You can use your password (or) mnemonic to connect to that account from your geth node.
- 我在哪里可以找到这些主题的大神 material?
Get this book on amazon or if you are eager to read it before you get the paperback book read it on github here. A better way to read this as a book on github is install an extension called Octotree
希望,我已经回答了你的问题,除了一个:)
我正在阅读有关区块链的信息并开始开发我的第一个智能合约,我在开发 IT 解决方案方面有很多经验,但区块链中的一切看起来都与我习惯的非常不同,我无法想象一些方法和可能我在阅读中丢失了一些东西,如果有人可以帮助我解决以下这些问题...
:)
所以我们走吧
假设我在以太坊中有一个区块链解决方案 运行。这是一个投票系统,这个系统是由一个地区开发的,目的是与您的公民进行研究,所以
如果其中一位公民投票,这是以太坊中的交易,必须使用 gas 支付。为此,您需要以太币,当您创建账户时,以太币为零。公民将如何投票?他们是否需要在交易所(或挖矿?)中购买以太币?
如果网络中的每个人都可以将数据发送到我的智能合约,我如何才能阻止选区外的投票?
在区块链中使用传统系统存储其他数据(地址、电话、SSI)并仅使用特定交易(如投票)是否很常见?我如何整合它们?
我已经在 myetherwallet 中创建了一个钱包。这个钱包与使用 geth 的新帐户命令相同吗?是否可以从 geth 连接到我在 myetherwallet 中创建的钱包?
我在哪里可以找到这些主题的大神 material?
请从我这边找到以下回复。请记住,我们对这些问题的回答越多,它就会变得越多样化,因为基于许多因素,一个人与另一个人的想法不同。无论如何,我们开始...
- 如果其中一位公民投票,这是以太坊中的交易,必须使用 gas 支付。为此,您需要以太币,当您创建账户时,以太币为零。公民将如何投票?他们需要在交易所(或挖矿)购买以太币吗?
Yes, for starters they have to pay the gas. Although, there's an ERC827 out there not to pay fee, and also some discussions around delegating the payment to a specific account, such that instead of individual users the owner of the smart contract can pay. In this case maybe the government can bear the amount.
- 如果网络中的每个人都可以将数据发送到我的智能合约,我如何才能阻止选区外的选票?
You can run consortium chain like quorum to limit the participants to a specific group. So that the transactions aren’t visible to everyone. Because on the Blockchain main chain of Ethereum it’s visible to everyone.
- 在区块链中使用传统系统存储其他数据(地址、电话、SSI)并仅使用特定交易(如投票)是否很常见?我如何整合它们?
Yup, you don't want to take the Personal Information (PI) onto Blockchain as its visible for everyone to view. Instead you can have them store in a database and use an Oracle service to be able to talk to outside Blockchain.
- 我已经在myetherwallet 中创建了一个钱包。这个钱包与使用 geth 的新帐户命令相同吗?是否可以从 geth 连接到我在 myetherwallet 中创建的钱包?
Yes, pretty much possible. You can use your password (or) mnemonic to connect to that account from your geth node.
- 我在哪里可以找到这些主题的大神 material?
Get this book on amazon or if you are eager to read it before you get the paperback book read it on github here. A better way to read this as a book on github is install an extension called Octotree
希望,我已经回答了你的问题,除了一个:)