starknet-foundry
starknet-foundry copied to clipboard
Deploy contract by name
Which components does the task require to be changed? (think hard pls)
sncast
Description
Sometimes a user wants to deploy from cast without previous declaration. We should detect if the contract was declared (and declare it if it's not done already), and then deploy it when --contract-name
is passed to deploy
instead of --class-hash
.
Recompilation and recalculating hash every time it's executed, will be necessary to make it work (we have to check if it's actually the same).
This should probably include some verbosity about transactions that are actually made during the process.