Created
January 18, 2020 16:41
-
-
Save gre/840d3d15a7b10fa34d7a943ecc8e01ee to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
cd $(dirname $0) | |
./genOne.sh sync_Vertcoin Vertcoin | |
./genOne.sh sync_Dash Dash | |
./genOne.sh sync_Stakenet Stakenet | |
./genOne.sh sync_Viacoin Viacoin | |
./genOne.sh sync_PivX PivX | |
./genOne.sh sync_Komodo Komodo | |
./genOne.sh sync_Stratis Stratis | |
./genOne.sh sync_Digibyte Digibyte | |
./genOne.sh sync_BitcoinCash Bitcoin_Cash | |
./genOne.sh sync_ZCash ZCash | |
./genOne.sh sync_XRP_js XRP | |
./genOne.sh sync_BitcoinGold Bitcoin_Gold | |
./genOne.sh sync_BitcoinTestnet Bitcoin_Testnet | |
./genOne.sh sync_Horizen Horizen | |
./genOne.sh sync_Bitcoin Bitcoin | |
./genOne.sh sync_Litecoin Litecoin | |
./genOne.sh sync_Ethereum Ethereum | |
./genOne.sh sync_Peercoin Peercoin | |
./genOne.sh sync_Dogecoin Dogecoin | |
./genOne.sh Sync_Decred Decred | |
./genOne.sh sync_EthereumClassic Ethereum_Classic | |
./genOne.sh sync_Stealth Stealth | |
./genOne.sh sync_Qtum Qtum |
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
#!/bin/bash | |
name=$1 | |
coin=$2 | |
out=../../../test_gen_out/$coin.js | |
set -e | |
cd $(dirname $0)/../tests/$name | |
# cleanup | |
curl -XPOST http://localhost:8435/end 2> /dev/null || true | |
rm -rf dbdata | |
# proxy | |
ledger-live proxy --auto-skip -f apdu.snapshot.log & | |
PID=$! | |
# generator | |
export DISABLE_TRANSACTION_BROADCAST=1 | |
export DEVICE_PROXY_URL=ws://localhost:8435 | |
ledger-live generateTestScanAccounts -c $coin > $out | |
kill -9 $PID | |
wait | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment