VV Mint Ingestor - #65
Conversation
9c5a138 to
6c05827
Compare
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨Explore these optional code suggestions:
|
| const settings = { | ||
| apiKey: ALCHEMY_API_KEY, | ||
| network: Network.BASE_MAINNET, // Replace with the correct network | ||
| network: Network.ETH_MAINNET, // Replace with the correct network |
There was a problem hiding this comment.
Ah, this is not safe
I prepared this update to handle this scenario:
#48
I'm rebasing it against main now to see if it will merge cleanly & then you should be able to use it
There was a problem hiding this comment.
(This change was global to all ingestors & broke all the other Base ingestors 🤣 )
There was a problem hiding this comment.
I will take a closer look and update the codebase, since opening this PR they implemented a couple of new features.
It looks like the contract's renderer has a JS script that decodes the nft's assets.
User description
Mint Ingestor: VV Mint
Ingestor for VV Mint based on the Mint open-source protocol.
Supports ingestion by contract for other deployments e.g. networked.art and more.
Functionality Supported
Before you submit
src/ingestorsmyMintingPlatformGetContractDetailsresourcesobjectPR Type
Enhancement, Tests
Description
VvIngestorto handle minting operations for VV contracts, supporting both URL and contract address ingestion.VvIngestorclass, ensuring correct functionality for URL and contract support, as well as mint template creation.Changes walkthrough 📝
index.ts
Add VvIngestor to available mint ingestorssrc/ingestors/index.ts
VvIngestorto the list of available mint ingestors.ALL_MINT_INGESTORSmap to includevv.abi.ts
Define ABI for VV mint contractsrc/ingestors/vv/abi.ts
index.ts
Implement VvIngestor class for minting operationssrc/ingestors/vv/index.ts
VvIngestorclass with URL and contract support.instructions.
onchain-metadata.ts
Add on-chain metadata functions for VV contractsrc/ingestors/vv/onchain-metadata.ts
collection metadata.
resources.ts
Update network setting to ETH_MAINNETsrc/lib/resources.ts
vv.test.ts
Add tests for VvIngestor functionalitytest/ingestors/vv.test.ts
VvIngestorfunctionality.creation.