Blockchain 使用indy cli创建池时出错

Blockchain 使用indy cli创建池时出错,blockchain,hyperledger,hyperledger-indy,decentralized-identity,indy-node,Blockchain,Hyperledger,Hyperledger Indy,Decentralized Identity,Indy Node,我已经运行了indy_pool网络,并使用以下命令启动:docker run-itd-p 9701-9708:9701-9708 indy_pool 现在,我已经在我的系统中安装了indy cli 现在,当我尝试使用命令创建池时: pool create local\u pool gen\u text\u file=//indy sdk/cli/docker\u pool\u transactions\u genesis 它给了我一个错误: 存在未知的“gen_text_file”参数 有人能解

我已经运行了indy_pool网络,并使用以下命令启动:docker run-itd-p 9701-9708:9701-9708 indy_pool

现在,我已经在我的系统中安装了indy cli

现在,当我尝试使用命令创建池时: pool create local\u pool gen\u text\u file=//indy sdk/cli/docker\u pool\u transactions\u genesis

它给了我一个错误: 存在未知的“gen_text_file”参数


有人能解释一下为什么会出现这个问题,以及可以做些什么来解决这个问题吗?

您必须在“/”变量中给出正确的路径,以便它可以针对“”文件

要了解indy sdk的路径,请转到您给出“docker run-itd-p 9701-9708:9701-9708 indy_pool”命令并运行“echo$PWD”命令的文件夹


假设我将indy sdk克隆到我的Ubuntu主页中,那么我的gen_text_文件路径是“/home/indy sdk/cli/docker\u pool\u transactions\u genesis”

在1.14.1及更高版本的indy cli中,您需要的参数实际上是gen_txn_文件=

以下是“帮助”的副本:

>池创建帮助
命令:
池创建-使用指定名称创建新池分类账配置
用法:
池创建gen_txn_文件=
参数包括:
名称-新池分类账配置的名称
gen_txn_文件-包含genesis事务的文件路径
示例:
池创建池1 gen\u txn\u文件=/home/pool\u genesis\u事务
> pool create help 
Command:
    pool create - Create new pool ledger config with specified name

Usage:
    pool create <name-value> gen_txn_file=<gen_txn_file-value>

Parameters are:
    name - The name of new pool ledger config
    gen_txn_file - Path to file with genesis transactions

Examples:
    pool create pool1 gen_txn_file=/home/pool_genesis_transactions