-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstylusTutorial.sh
More file actions
executable file
·22 lines (16 loc) · 956 Bytes
/
stylusTutorial.sh
File metadata and controls
executable file
·22 lines (16 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set -e # Stop on any error
chmod +x stylusTutorial.sh
# Prompt the user to update their .env file
echo "Please copy over two PRIVATE_KEYs from Sepolia wallets (they can be new and empty) and add it to the .env file under the 'PRIVATE_KEY_1' and 'PRIVATE_KEY_2' variables."
read -p "Press Enter after updating the .env file..."
# Deploy the decryption contracts
echo "Deploying decryption contracts..."
./deploy_decryption_contracts_verbose.sh
# Prompt the user to add the DECRYPTER address to the .env file
echo "Please copy the DECRYPTER address from the output and add it to the .env file under the 'DEPLOYED_DECRYPTER_ADDRESS' variable."
read -p "Press Enter after updating the .env file..."
# Navigate to the test-simple-auction-solidity directory and run the test
echo "Navigating to the 'test-simple-auction-solidity' directory and running the test..."
cd test-simple-auction-solidity
./test.sh
echo "Integration tests completed successfully!"