DoxyChain – 多链区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,DoxyChain – 多链区块链毕设代写 是一篇很好的国外资料

DoxyChain

This repository provides a system that solves the task that is a part of DoxyChain recruitment process.

DoxyChain system is capable of:

  • securing documents integrity;
  • allows user to sign an existing document;
  • keeping track of parties that must sign the document;
  • keeping track of parties that have already signed the document;
  • provides document’s existence proof at given point in time.

Prerequisites

Before you continue, ensure you have met the following requirements:

  • You have installed the latest version of Node.js (which comes with npm), Truffle and Ganache.
  • You have installed Solidity compiler solc in version 0.7.0.
  • You have placed a collection of libraries which includes: web3, crypto, fs and yargs.

How To Use

Firstly you have to run Ganache or Ganache CLI application. In doxychain.js server port number is set to 7545 by default.

# Run the app $ truffle migrate $ node doxychain  # Create document $ node doxychain create --path test.pdf --signer 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA --signer 0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36 Created document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  # Sign document $ node doxychain.js sign --path test.pdf --signer 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA Successfully signed a document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  $ node doxychain.js sign --hash 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 --signer 0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36 Successfully signed a document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  # Document's existence proof $ node doxychain proof --path test.pdf Document hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document created at block: 5 Awaiting signatures: Signed by: 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA,0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36  $ node doxychain proof --hash 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document created at block: 5 Awaiting signatures: Signed by: 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA,0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36  # Run help $ node doxychain --help

DoxyChain

这个存储库提供了一个系统来解决作为DoxyChain招聘过程一部分的任务。

DoxyChain系统能够:

  • 确保文档的完整性;
  • 允许用户签署现有文档;
  • 跟踪必须签署文档的各方;
  • 跟踪已签署文档的各方;
  • 提供文档的存在性在给定的时间点证明。

先决条件

在继续之前,请确保您满足以下要求:

  • 您已安装的最新版本节点.js(含npm)、松露和甘纳什。
  • 您已经在0.7.0版中安装了Solidity编译器solc。
  • 您已经放置了一系列库,其中包括:web3、crypto、fs和yargs。在

如何使用

首先,您必须运行Ganache或Ganache CLI应用程序。在多西链.js服务器端口号默认设置为7545。

# Run the app $ truffle migrate $ node doxychain  # Create document $ node doxychain create --path test.pdf --signer 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA --signer 0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36 Created document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  # Sign document $ node doxychain.js sign --path test.pdf --signer 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA Successfully signed a document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  $ node doxychain.js sign --hash 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 --signer 0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36 Successfully signed a document with hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  # Document's existence proof $ node doxychain proof --path test.pdf Document hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document created at block: 5 Awaiting signatures: Signed by: 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA,0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36  $ node doxychain proof --hash 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document hash: 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 Document created at block: 5 Awaiting signatures: Signed by: 0xaaF1e2785d0E86E4922de5F03eB4465686eC8dEA,0xA9deB6225E1A74F5B3c28B422a16d6dEDE29AB36  # Run help $ node doxychain --help

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/16869.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » DoxyChain – 多链区块链毕设代写

提供最优质的资源集合

立即查看 了解详情