Merge pull request #893 from LeoHChen/foundational_node_leo

Foundational node for leo
pull/872/head
Leo Chen 6 years ago committed by GitHub
commit b87c7a19e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      internal/utils/contract/constants.go
  2. 9
      scripts/node.sh

@ -144,7 +144,7 @@ var GenesisAccounts = [...]DeployAccount{
{Address: "0x379c7e2c06932A064D25dd2B938974a31AFFAe4D", Private: "", Public: "0x379c7e2c06932A064D25dd2B938974a31AFFAe4D"},
{Address: "0x39248D6c63c76BC3C8dD4f8C910C9cb1098A0019", Private: "", Public: "0x39248D6c63c76BC3C8dD4f8C910C9cb1098A0019"},
{Address: "0x39d1F7820013fE09056b2187359Ad03891C7DB78", Private: "", Public: "0x39d1F7820013fE09056b2187359Ad03891C7DB78"},
{Address: "0x3D053cDBf1B9A8D5AeDDB2F5fA1E414E2E1b3996", Private: "", Public: "0x3D053cDBf1B9A8D5AeDDB2F5fA1E414E2E1b3996"},
{Address: "0x43bcBa1c3c3Bf76790d04cad7357229ECD71BDAD", Private: "", Public: "0x43bcBa1c3c3Bf76790d04cad7357229ECD71BDAD"},
{Address: "0x3FebCCaB09ECe4ef6f6a2bEA73A898B324976E74", Private: "", Public: "0x3FebCCaB09ECe4ef6f6a2bEA73A898B324976E74"},
// 90-99

@ -87,8 +87,9 @@ fi
if [ -z "$1" ]; then
echo "Usage: $0 account_index_number"
echo
echo "Please provide account index. Valid ranges are 44-49, 94-99, 144-149, 194-199."
echo "Please contact us in #nodes channel of discord if not sure which one to use."
echo "Please provide account index."
echo "For foundational nodes, please follow the instructions in discord #foundational-nodes channel"
echo "to get your account index number."
echo
exit 1
fi
@ -103,11 +104,11 @@ OS=$(uname -s)
REL=drum
if [ "$OS" == "Darwin" ]; then
FOLDER=release/$REL/darwin-x86_64/
FOLDER=release/darwin-x86_64/$REL/
BIN=( harmony 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/
FOLDER=release/linux-x86_64/$REL/
BIN=( harmony libbls384.so libcrypto.so.10 libgmp.so.10 libgmpxx.so.4 libmcl.so )
fi

Loading…
Cancel
Save