From ecc2c333de16bb052784bd67066e7feb3bed1c2f Mon Sep 17 00:00:00 2001 From: "M.R.Nasrabadi" Date: Tue, 15 Apr 2025 18:50:10 +0330 Subject: [PATCH] enable CGO on installation of tokensdk Signed-off-by: M.R.Nasrabadi --- token-sdk/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/token-sdk/README.md b/token-sdk/README.md index fe5b12fa..2c7a7c79 100644 --- a/token-sdk/README.md +++ b/token-sdk/README.md @@ -82,6 +82,7 @@ Prerequisites: - bash - golang 1.20+ +- build-essential - git - docker - docker-compose @@ -115,7 +116,7 @@ Validate that the CA is at 1.5.7 by executing `fabric-ca-client version`. Install tokengen. Tokengen is a tool to create the configuration file for the token chaincode (once, when deploying the chaincode). It generates the public parameters that the network participants will use to generate their proofs, and it specifies the public identities of the issuer, auditor and CA for signature validation. ```bash -go install github.com/hyperledger-labs/fabric-token-sdk/cmd/tokengen@v0.3.0 +CGO_ENABLED=1 go install github.com/hyperledger-labs/fabric-token-sdk/cmd/tokengen@v0.3.0 ``` ### Quick start