Stand Up 3/29
Date
Mar 29, 2022
Note Taker
Property 1
Action Items
Aim to test and deploy a week before demo or launch, try to deploy to a staging or sandbox as early as possible (all) - not action item
make the testing environment as close possible to USM store (we are 80% there)
estimate for custom code for shipping issue
Agenda + notes
- Updates:
- Prad: -1 week
- last week
- button for redeem with NFT, connects to user wallet and connects to moralis
- minor demo in the dev guild
- polygon grants discussion with Grendel, revisit topic three weeks or so
- Next week:
- call with roseja to figure issue with docker - today
- NFT redemption feature (complete functionality and add token to DB)
- admin panel >> which products they can redeem (add contract address, meta data in the product)
- prad tasks for NFT redemption
- docker issue with PBear
- order tagging
- 1st task of NFT Redemption
- Challenge:
- docker issue
- concerns about minting, who will be minting, we can store an order number to counteract that is unique
- not transferring ownership of contract to USM
- Questions:
- dm from groggy about typo (deleted r)
- roseja: -1 week
- getting familiar
- get set up
- meta data: the code is programmatically created the meta field fields, checked with manual creation.
- Next week:
- start with creating metafields manually (quick screen recording)
- create table in the db for redeemed token
- allowing store admin to add NFT data to a product
- screen recording of adding NFT data addition to admin store
- Challenge: Handoff:
- Questions:
- db is being cleared out everytime when instance is closed , test if the SQL db is tracking for testing
Last week:
Results of meeting with PBear + Prad
- setting up a new customer on heroku: successfully deployed and installed on USM and bankless test store
- we would like a demo on the published site (after order tagging is done - 25th demo on published site ) we can also install on preview theme (any order will show up on the real store)
Cost of shipping:
- variable shipping costs, not covered with NFT Sale —> v high average, NFT sale covers shipping costs
- Use cases other than the FC Red gloves: custom code to estimate shipping based on country and zip code that can calculate price of shipping (ask user information before discount code is applied) shopify theme handles object, shopify API uses a checkout object to send users, we would have to create a custom code to do this - priority lower than nft redemption and nft receipt
- setting - payments tab >> add free shipping options / custom functionality
NFT Redemption:
- UI Button - connected wallet > connect with wallet and grab address
- check again with moralis (tried with moralis, documentation shows it is an API, tested with DAO Punks contract)
- get data from the backend what is redeemable and what address
- if all the verification have passed, add the token to the db
- if not error
Last meeting notes
NFT Receipt
will run on only remix, code doesn’t compile on its own, it would be better if they deployed and send the address on which it is living. This code, is an NFT contract, it is not ready for USM or bankless checkout right now. 1 hr. allow only USM address to create the receipts, not any other nft receipt, so only USM can mint
spec sheet >> wallet to fund the minting, absorbing minting costs
NFT Redemption - 2/3 weeks
check to see if token used to redeem
use cases:
- list of tokens/NFTs
- complexity on shopify admin settings >> embed meta data on the product level (this token they can redeem shirt), use that to check if wallet has the token and store token they have redeemed
- same product >> check if you have token >> check if you claimed >> in their order/custom attributes the token that the customer holds (on the shopify side, adding the token number to order custom attributes)
- Admin interface UI to allow the store to add custom attributes about the contract, search box>> select product to enable token redemption and then once that feature flack is turned on, then you go to the product setting and in the rules for how someone redeem (contract address, # how many they can redeem)
- prad would have to do some frontend logic to check
Map out the receipt and the redemption next stand up!
Info if they hold the NFT:
1- Moralis: all the NFTs that user holds
2- get that array and check if user holds token
3- if so, return 200 status
Product info:
1- contract address for tshirt
2- deployment address, retrieve token addresses in a dynamic fashion
contract factory address >> but each token will be different, so we want to look into this with moralis not with ether scan
PBear>> admin dashboard >> add contract address (1- settings input contract address per product , 2- db table, 3- API)
Client