fleekxyz/non-fungible-apps
Serverless: Load ABI file from the deployments folder of the contracts directory
Open
#275 opened on Jun 7, 2023
backendenhancementgood first issuehelp wantedquality-of-liferefactor
Repository metrics
- Stars
- (145 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
We might want to load the ABI from our contracts directory with the latest deployments. The serverless side currently has its own copy of the ABI. In the end, it is always going to need that copy because it's packed into the libs layer and uploaded to AWS. Also considering the fact that we do deployments to goerli, main-net, and Mumbai, it's going to be tricky to decide which one to use.
If we can figure out a way to avoid copying the FleekERC721.json ABI file from non-fungible-apps/contracts/deployments, we can make sure serverless always uses the latest deployed ABI.