# admire **Repository Path**: fjyu_admin/admire ## Basic Information - **Project Name**: admire - **Description**: hyperledger fabric+Merkle Mountain Range(MMR) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2023-05-21 - **Last Updated**: 2023-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Description 基于fabric v2.2.5,在`fabric`目录下使用`patch`命令打上补丁`fabric.patch`即可整合默克尔山脉树(MMR)。 testnetwork下`config`包含一些必要的配置文件,如configtx、crypto-config、orderer;`ccpubque`包含提交和查询交易的链码;`genchkprf`有求取默克尔山脉树的验证路径和生成根值的完整实现;`appjspub`与`appjsque` 分别包含提交和查询交易的示例代码;data包含可信基准值文件。 Based on Hyperledger Fabricv2.2.5, patch `fabric. patch`with the `patch` command in the `fabric` directory to integrate the Merkel Mountain Range(MMR). `config` contains some necessary configuration files, such as configtx, crypto config, and orderer.` ccpubque ` contains the chain code for submitting and querying transactions.` genchkprf ` has a complete implementation of obtaining the proof path and generating root value of MMR. ` appjspub`and ` appjsque `contain sample codes for submitting and querying transactions respectively.`data` contains test data. ## Use 按序运行`testnetwork/run`目录下`01.sh~ 09.sh`的bash文件,三个`runorg`需要分别打开命令行窗口运行。上述执行完毕后,进入`testnetwork/org1/appjspub`执行p.sh提交交易。p.sh可设置并发交易的数量,这需要该目录下数字序号目录的支持,如目录`1`,更多的目录可以复制目录`1`并按序编号。提交完交易后,进入`testnetwork/org1/appjsque`运行r.sh执行查询操作。 Run the bash files 01.sh~09.sh in the testnetwork/run directory sequentially. Three runorg processes need to be opened in separate command prompt windows. After the above steps are completed, navigate to testnetwork/org1/appjspub and execute p.sh to submit transactions. p.sh allows you to set the number of concurrent transactions, which requires support from the numbered directories in that directory, such as directory 1. Additional directories can be created by copying directory 1 and numbering them sequentially. After submitting the transactions, go to testnetwork/org1/appjsque and execute r.sh to perform query operations.