A simple example with some tweaks:
- We use serverless.ts typescript configuration
- We import the contracts using npm instead of git submodules
Right now we are not publishing our core package so the full repo is included as a dependency:
"contracts": "git+https://github.com/thesandboxgame/sandbox-smart-contracts.git this will be fixed later.
copy env.example file to .env, fill the variables
yarn sls:dev:print adminChangeMonitor.tsyarn sls:dev adminChangeMonitor.tsyarn sls:dev:clean adminChangeMonitor.ts
adminChangeMonitor.ts can be any usable serverless config file