diff --git a/starknet/katana/declare.sh b/starknet/katana/declare.sh index 890600c..1a81974 100755 --- a/starknet/katana/declare.sh +++ b/starknet/katana/declare.sh @@ -8,7 +8,7 @@ declare_contract() { echo "Declaring Cairo 1 class for $contract_name..." # Run the command and capture the output - output=$(starkli declare "$contract_file" -w --compiler-version 2.6.2) + output=$(starkli declare "$contract_file" -w --compiler-version 2.6.2) echo "$contract_name: $output" >> katana/declared-classes.txt echo "Class hash for $contract_name saved to declared-classes.txt" diff --git a/starknet/katana/deploy.sh b/starknet/katana/deploy.sh index f412561..ee8f3eb 100755 --- a/starknet/katana/deploy.sh +++ b/starknet/katana/deploy.sh @@ -8,7 +8,7 @@ deploy_contract() { echo "Deploying contract for $contract_name with class hash $class_hash..." # Run the deployment command and capture the output - output=$(starkli deploy "$class_hash" -w) + output=$(starkli deploy "$class_hash" --salt 0x1 -w) echo "$contract_name: $output" >> katana/deployed-contracts.txt echo "Deployment address for $contract_name saved to deployed-contracts.txt"