Deploying multiple contracts

I’m trying to find any examples for deployment scripts, like in hardhat. So for example I want to deploy a “token” contract, so asset contract with 1 sub_id, with mint, burn standards etc. Then I want separate contract where I will use this asset in the logic.

All example have forc deploy --testnet. Is this going to simply deploy all the contracts in the project.

I don’t really understand how exactly the deployment is done tbh.

We have a couple of sway examples that you can look at and that might be helpful to you. Lmk if you want something else :slight_smile:

1 Like