mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
* Java erc20 chaincode implementation Signed-off-by: renjithpta <renjithkn@gmail.com> Signed-off-by: renjithpta <renjithkn@gmail.com> * Java erc20 chaincode implementation Signed-off-by: renjithpta <renjithkn@gmail.com> Signed-off-by: renjithpta <renjithkn@gmail.com> * Java erc20 chaincode implementation Signed-off-by: renjithpta <renjithkn@gmail.com> Signed-off-by: renjithpta <renjithkn@gmail.com> * Java erc20 token standard chaincode implementation Signed-off-by: renjithpta <renjithkn@gmail.com> Signed-off-by: renjithpta <renjithkn@gmail.com>
16 lines
411 B
Bash
Executable file
16 lines
411 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
set -euo pipefail
|
|
: ${CORE_PEER_TLS_ENABLED:="false"}
|
|
: ${DEBUG:="false"}
|
|
|
|
if [ "${DEBUG,,}" = "true" ]; then
|
|
exec java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8000 -jar /chaincode.jar
|
|
elif [ "${CORE_PEER_TLS_ENABLED,,}" = "true" ]; then
|
|
exec java -jar /chaincode.jar # todo
|
|
else
|
|
exec java -jar /chaincode.jar
|
|
fi
|
|
|