【文件属性】:
文件名称:etherchat:以太坊网络上的去中心化消息传递应用程序
文件大小:68KB
文件格式:ZIP
更新时间:2021-05-30 07:29:36
JavaScript
以太聊天
EtherChat 是一个在以太坊平台上运行的去中心化应用程序,允许您通过智能合约发送加密消息。 只有您和消息的收件人才能解密它。 每个人都可以看到所有加密的消息,因为它在以太坊区块链上,但是,只有发送方和接收方可以解密他们之间的消息,其他人可以拦截它。
EtherChat 仅依赖于以太坊网络,无需任何中心化服务器即可工作。
关于媒体的文章
怎么跑
您需要先通过执行以下命令来编译智能合约:
"node ./ethereum/compile.js"
然后,您可以使用以下命令运行该应用程序:
"npm run dev"
Web 应用程序将连接到我已经部署的智能合约。 如果您想在以太坊网络上拥有自己的智能合约,则需要自行部署。 部署合约的命令:
"node ./ethereum/deploy.js"
官方网络应用
以前,它托管在 。 但是,我现在不再维护它。
作者
Min
【文件预览】:
etherchat-master
----.gitignore(938B)
----core()
--------AccountManager.js(3KB)
--------TransactionManager.js(5KB)
--------AppManager.js(2KB)
--------EventHandler.js(6KB)
--------AppDispatcher.js(226B)
--------ContractManager.js(8KB)
--------LocalStorageManager.js(9KB)
----package.json(709B)
----ethereum()
--------web3.js(323B)
--------deploy.js(1018B)
--------compile.js(651B)
--------EtherChat.sol(4KB)
----support()
--------Config.js(3KB)
--------Constant.js(1KB)
--------Utils.js(2KB)
----LICENSE(1KB)
----static()
--------images()
----views()
--------Chat.js(7KB)
--------HeaderMenu.js(9KB)
--------Footer.js(918B)
--------modals()
--------ContactList.js(8KB)
----README.md(1KB)
----.gitattributes(66B)
----pages()
--------terms.js(6KB)
--------index.js(3KB)
--------about.js(1KB)
----test()
--------EtherChatContract.test.js(14KB)
--------testAccounts.js(668B)