To deploy to a local network, run:
bunx settlemint scs hardhat deploy local -m ignition/modules/FullDeployment.tsTo deploy to the platform, run:
bunx settlemint scs hardhat deploy remote -m ignition/modules/FullDeployment.tsTo index your smart contract events, use The Graph middleware.
First, edit subgraph/subgraph.config.json to set the addresses of your smart contracts. You can find them in the deployment folder created under ignition. Then, run:
bunx settlemint loginThis logs you in to the platform. This command only needs to be run once, so you can skip it if you've already logged in.
Then, run:
bunx settlemint scs subgraph deployTo get info about the tasks, run:
bunx settlemint scs hardhat --help
bunx settlemint scs subgraph --help