-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tools): fix the wallet config of fabcar chaincode on tools/docker…
…/fabric ledger Signed-off-by: Takuma TAKEUCHI <takeuchi.takuma@fujitsu.com>
- Loading branch information
Showing
8 changed files
with
18 additions
and
29 deletions.
There are no files selected for viewing
22 changes: 18 additions & 4 deletions
22
tools/docker/fabric14-fabcar-testnet/script-start-docker.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
# Copyright 2020-2021 Hyperledger Cactus Contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
echo "[process] start docker environment for Fabric testnet" | ||
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 1.4.12 1.4.9 0.4.22 | ||
cp -a wallet fabric-samples/fabcar/javascript | ||
cp -a wallet ../../../examples/cartrade/script-test-getFunctions/fabric | ||
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 1.4.1 1.4.1 0.4.22 | ||
|
||
if [ -d fabric-samples/fabcar/javascript/wallet ]; then | ||
rm -r fabric-samples/fabcar/javascript/wallet | ||
fi | ||
if [ -d ../../../packages/cactus-plugin-ledger-connector-fabric-socketio/wallet ]; then | ||
rm -r ../../../packages/cactus-plugin-ledger-connector-fabric-socketio/wallet | ||
fi | ||
if [ -d ../../../examples/cartrade/script-test-getFunctions/fabric/wallet ]; then | ||
rm -r ../../../examples/cartrade/script-test-getFunctions/fabric/wallet | ||
fi | ||
#cp -a wallet fabric-samples/fabcar/javascript | ||
#cp -a wallet ../../../examples/cartrade/script-test-getFunctions/fabric | ||
cd fabric-samples/fabcar | ||
./startFabric.sh | ||
cd javascript | ||
npm install | ||
node enrollAdmin.js | ||
node registerUser.js | ||
node registerUser.js | ||
cp -a wallet ../../../../../../packages/cactus-plugin-ledger-connector-fabric-socketio | ||
cp -a wallet ../../../../../../examples/cartrade/script-test-getFunctions/fabric/wallet |
5 changes: 0 additions & 5 deletions
5
...estnet/wallet/admin/86ed77857b77523010fa77e3ae2ba34711c73899d182951ec634fcc918855738-priv
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...estnet/wallet/admin/fde5542b37efe547102f4fe8d0f8e1df521c6ba8b78e43a2eedc7fe152c3d407-priv
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...testnet/wallet/admin/fde5542b37efe547102f4fe8d0f8e1df521c6ba8b78e43a2eedc7fe152c3d407-pub
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...estnet/wallet/user1/86ed77857b77523010fa77e3ae2ba34711c73899d182951ec634fcc918855738-priv
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...testnet/wallet/user1/86ed77857b77523010fa77e3ae2ba34711c73899d182951ec634fcc918855738-pub
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.