You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`subgraphs`**: Contains the indexing logic for your subgraphs, specific to your smart contract.
24
22
25
-
## Deploy with Task Manager
23
+
The smart contract sets include all the commands you need to compile and deploy your contracts. They are available as tasks in the Task Manager. Follow these steps to access the Task Manager:
You need to compile your contracts before you can deploy them. SettleMint's smart contract sets include both Hardhat and Foundry. You can compile using your preferred framework.
36
+
37
+
### Hardhat
38
+
39
+
To compile your contracts using Hardhat, you can run the `Hardhat - Build` task
You can deploy your contracts to a network in the same application as the smart contract set by running the `Hardhat - Deploy to platform network` task
52
+
53
+
:::note
54
+
55
+
Ensure you have the following:
56
+
57
+
- A running node in the network
58
+
- A private key activated on the node
59
+
60
+
:::
61
+
62
+
### Hardhat
63
+
64
+
**Step 1**: Log in to the platform by running the `SettleMint - Login` task
**Step 2**: Then, run the `Hardhat - Deploy to local network` task. Ensure you don't stop the previous task, because the hardhat network needs to be running for the contract to be deployed on it.
49
93
50
-
2. Run the command `forge build` or `Hardhat compile` to compile the smart contracts.

52
95
53
-
3. Then run `npx hardhat ignition deploy IGNITION_MODULE_PATH` or forge create --rpc-url YOUR_RPC_URL --private-key YOUR_PRIVATE_KEY --constructor-args ARG1 ARG2` to deploy to your connected network.
0 commit comments