Stand Up 3/22
Date
Mar 22, 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
- docker issue
- demo on published site on Friday on track
- 3-4 pm demo on published site with fi_bo
- phase I demo: 5 pm tuesday
- friday 25 6:30 pm est
- couldn’t work on code, because working on auto-tagging, will be resolved through session with pbear
- worked on NFT Receipt (started working on the actual of smart contract, only a sketch) - add workflow to miro (ipfs node, and push metadata to contract, call , storage (image + jon data), 1 gb is enough)
- moralis testing - holders which nft tokens can hold (FC Genesis golden glove example to be verified)
- Next week:
- prad tasks for NFT redemption
- docker issue with PBear
- order tagging
- 1st task of NFT Redemption
- Challenge:
- 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:
- polygon dev: grant
- bear: -1 week
- no coding work, added tasks to the notion task board
- Next week:
- allowing store admin to add NFT data to a product
- screen recording of adding NFT data addition to admin store
- Challenge: Handoff:
- Questions:
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