zkapp-cli
zkapp-cli copied to clipboard
Allow SmartContracts that exist deeper than the top-level src directory
trafficstars
Describe the problem
If you have multiple smart contracts in your project, you may not want all of them to appear at the top of your src folder. However, currently this isn't supported
Notably, you can see from the usage of findSmartContractToDeploy that the zkapp-cli is able to find contracts in sub folders, but then throws away this information by calling path.basename(file)
Describe the proposed solution
Update the findSmartContractToDeploy function so that instead of returning just a filename, it returns the whole path below the src directory needed to find the contract
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
Thanks. We'll look into this.