From 9b6d4cd033760dd8a3e7152ed3d1981c74252133 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 18 Apr 2019 00:04:43 +0000 Subject: [PATCH] [wallet] add a wallet wrapper script Signed-off-by: Leo Chen --- scripts/wallet.sh | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100755 scripts/wallet.sh diff --git a/scripts/wallet.sh b/scripts/wallet.sh new file mode 100755 index 000000000..6cc65bda0 --- /dev/null +++ b/scripts/wallet.sh @@ -0,0 +1,88 @@ +#!/bin/bash + +BUCKET=pub.harmony.one +OS=$(uname -s) +REL=cello + +if [ "$OS" == "Darwin" ]; then + FOLDER=release/$REL/darwin-x86_64/ + BIN=( wallet wallet.ini libbls384.dylib libcrypto.1.0.0.dylib libgmp.10.dylib libgmpxx.4.dylib libmcl.dylib ) +fi +if [ "$OS" == "Linux" ]; then + FOLDER=release/$REL/linux-x86_64/ + BIN=( wallet wallet.ini libbls384.so libcrypto.so.10 libgmp.so.10 libgmpxx.so.4 libmcl.so ) +fi + +function usage +{ + cat<