Commit Graph

3 Commits

Author SHA1 Message Date
Shredder 86907836ae
feat: dev environment backend setup (#278)
* feat: add anvil (qanet) to hardhat config networks.

* chore: deploy contract to anvil testnet.

* chore: sepolia deployment.

* merge: authentication sls.

* feat: separate the issignaturevalid function from handlers.

* feat: update subgraph config to match the qa network.

* feat: add app specific prisma schema to deploy script copy command.

* fix: merge conflict

* feat: remove unnecessary conditions.

---------

Co-authored-by: Nima Rasooli <nimarasooli1@gmail.com>
2023-06-26 18:13:08 +03:30
Shredder bbe73f4d73
feat: smart contract setTokenVerified calls through ethers (#272)
* feat: add scripts to create lambda layers

* chore: deploy the new version of the contract to mumbai.

* feat: update environment variables used in the serverless config.

* feat: add JSON_RPC env var.

* feat: add deploy:dev command.

* feat: functional deployment script, configuration changes.

* feat: update config and the deploy script.

* docs: add the serverless stack diagram

* feat: move the ABI to the lib dir, update the build handler + some minor changes on the config files.

* feat: add ethers to the library, send transactions through the contract instance.

* fix: make the ethers transaction signing work, update handlers accordingly, customize prisma logs, update the config files to match the changes.

* feat: remove logs, log specific errors for environment variables, update hardhat config.

* feat: add support for the --stage flag in the deploy script.

---------

Co-authored-by: root <root@LAPTOP-UJU1VIVI>
Co-authored-by: Nima Rasooli <nimarasooli1@gmail.com>
2023-06-09 22:23:10 +03:30
Shredder 3f78a1af43
feat: AWS Lambda deployment script and fixes (#266)
* feat: add scripts to create lambda layers

* chore: deploy the new version of the contract to mumbai.

* feat: update environment variables used in the serverless config.

* feat: add JSON_RPC env var.

* feat: add deploy:dev command.

* feat: functional deployment script, configuration changes.

* feat: update config and the deploy script.

* docs: add the serverless stack diagram

* feat: move the ABI to the lib dir, update the build handler + some minor changes on the config files.

---------

Co-authored-by: root <root@LAPTOP-UJU1VIVI>
2023-06-09 22:13:03 +03:30