简体   繁体   English

dapp是否需要使用metamask?

[英]Does metamask is necessary for dapp?

Does metamask is necessary for communicating with DApps in ethereum network? 在以太坊网络中与DApp通信时,是否需要使用元掩码? if no then what is the another way to interact with the Smart Contract ? 如果没有,那么与智能合约进行交互的另一种方式是什么?

It is not required but very handful to start working with Ethereum network and smart contracts using MetaMask. 不需要,但是使用MetaMask开始使用以太坊网络和智能合约非常困难。

If you want to start working with Ethereum directly you can use web3.js project. 如果您想直接开始使用以太坊 ,可以使用web3.js项目。 This library is very powerful and allows you work with blockchains. 该库非常强大,可让您使用区块链。 For java apps you can use web3j project. 对于Java应用程序,您可以使用web3j项目。 Checkout theirs GitHub page. 查看他们的GitHub页面。

Metamask is an easy way for you to connect to localnet, testnet or even mainnet. Metamask是您连接到localnet,testnet甚至mainnet的一种简便方法。 Though its not the only solution for your to operate your dapp. 虽然它不是您操作dapp的唯一解决方案。

  1. For development purposes you can use Truffle with ganache 出于开发目的,您可以将松露与ganache一起使用
  2. You can use Infura directly 您可以直接使用Infura
  3. Use geth or parity. 使用geth或奇偶校验。
  4. I found this one interesting, but use with caution as its only in alpha currently ie, Mascara 我发现这很有趣,但请谨慎使用,因为目前仅在Alpha中使用,即睫毛膏

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM