You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apps/web/app/api/shopify/loyalty-card/[contractAddress]/route.ts
Do Unit tests
Create CRON (every 5 min), processLoyaltyCardsMint on library features-loyalty-card-cron
Get LoyaltyCardNft with status 'CONFIRMED' or 'ERROR' libs/nft/loyalty-card/src/lib/index.ts and order them by contractAddress
Retrieve the minterTemporaryWallet for each and process with multiClaim. libs/nft/thirdweb-organizer-loyalty-card/src/lib/index.ts
When done update loyaltyCardNft status & handle edge cases.
Do Unit tests + integration tests.
Create Webhook handler for loyalty card activity (libs/features/back-office/loyalty-card-api/src/lib/createWebhooksForLoyaltyCard.ts) defined here libs/indexer/alchemy/webhooks. Rename nftActivity for eventPassActivity. Make sure to organise code so it can reuse commons functions.
Watch for the assignation from the contract do the ownerAddress and mark the loyaltyCardNft as Completed when done.
Do Unit test
The text was updated successfully, but these errors were encountered:
hasLoyaltyCard
:Do Unit tests
processLoyaltyCardsMint
on libraryfeatures-loyalty-card-cron
libs/nft/loyalty-card/src/lib/index.ts
and order them by contractAddressminterTemporaryWallet
for each and process withmultiClaim
.libs/nft/thirdweb-organizer-loyalty-card/src/lib/index.ts
loyaltyCardNft
status & handle edge cases.Do Unit tests + integration tests.
libs/indexer/alchemy/webhooks
. RenamenftActivity
foreventPassActivity
. Make sure to organise code so it can reuse commons functions.Completed
when done.Do Unit test
The text was updated successfully, but these errors were encountered: