This is an example how to deploy the Fractal Engine using CDK.
The cdk.json file tells the CDK Toolkit how to execute your app.
In bin/deploy.ts can are able to override environment variables. CHAIN can be testnet or mainnet.
const environment_overrides = {
CHAIN: "testnet",
};npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpx cdk deploydeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation template