CREATE g1sms WALLET
This commit is contained in:
parent
b0de34e30c
commit
12ffbf5d97
|
@ -56,10 +56,10 @@ for hashfile in /tmp/loveland_entrance/*; do
|
||||||
sms_SEND "$PHONE" "COUCOU"
|
sms_SEND "$PHONE" "COUCOU"
|
||||||
# CHECK for Associated PARRAIN. GET PubKey?
|
# CHECK for Associated PARRAIN. GET PubKey?
|
||||||
PARRAIN=$(echo "$PARRAIN" | grep -E "([A-Za-z0-9\-\_]+$)")
|
PARRAIN=$(echo "$PARRAIN" | grep -E "([A-Za-z0-9\-\_]+$)")
|
||||||
# [[ $PARRAIN ]] && MEMRIB=$(sms_uid2key "$PARRAIN" "$PHONE" "$PIN") && echo "RIB PARRAIN: $MEMRIB"
|
#[[ $PARRAIN ]] && MEMRIB=$(sms_uid2key "$PARRAIN" "$PHONE" "$PIN") && echo "RIB PARRAIN: $MEMRIB"
|
||||||
|
|
||||||
# CREATE G1 WALLET
|
# CREATE G1 WALLET
|
||||||
# $MY_PATH/sms_NEW.sh "$PHONE" "$PARRAIN"
|
$MY_PATH/sms_NEW.sh "$PHONE" "$PARRAIN"
|
||||||
|
|
||||||
else
|
else
|
||||||
# ACCOUNT ALREADY EXISTING
|
# ACCOUNT ALREADY EXISTING
|
||||||
|
@ -70,7 +70,7 @@ for hashfile in /tmp/loveland_entrance/*; do
|
||||||
AMOUNTLOVE=$(bc -l <<< "scale=0; $AMOUNTG1 * 100 / $DUFACTOR")
|
AMOUNTLOVE=$(bc -l <<< "scale=0; $AMOUNTG1 * 100 / $DUFACTOR")
|
||||||
|
|
||||||
|
|
||||||
mess="Bonjour! YOU HAVE $AMOUNTLOVE LOVE"
|
mess="$AMOUNTLOVE LOVE"
|
||||||
|
|
||||||
# Send response SMS
|
# Send response SMS
|
||||||
sms_SEND "$PHONE" "$mess"
|
sms_SEND "$PHONE" "$mess"
|
||||||
|
|
Loading…
Reference in New Issue