How to organize the structure of an app with multiple crosscall contracts?

Hi all, could you please tell me how to organize the structure of an app with 3 contracts (1 of them calls the other 2), which use structures in the abi and the frontend

I have such a structure now, but it is not convenient because in order to change 1 field in the structure I have to go to another directory, it would be convenient if the Abi as a separate package that can be imported was kept next to the contract code

abi/
     contract1_abi
     contract2_abi
     contract3_abi
contracts/
     contract1
     contract2
     contract3
frontend/...
3 Likes

I believe the best practice for organizing projects is what is done in the Sway applications repo, particularly using workspaces and such. Please take a look at examples there!

Will study it, thanks!

Thank you! ver informative

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.