Stand Up 4/12

Date
Apr 12, 2022
Note Taker
Property 1
Action Items
 
Agenda + notes
 
  1. Updates:
    1. Prad: -1 week
      1. last week
        1. debugging and getting the redeem function working
        2. working on cors issue, cors is still an issue
        3. database persistence
        4. figuring out metafields >> can fetch metafields from product if it is redeemable, then what contract
      2. Next week:
        1. try to figure out cors issue, it is only not working on chrome
        2. redeem function >> cors
        3. redeem db (server integration)
        4. data verification between product and nft by end of the day
        5. token check against db <challenging>
        6. default gas > after april 8th demo day
        7. add help instructions >> before demo
        8. connect to discord on the modal >> “Need Help? Join our discord and go to customer service channel.” >> after april 8
      3. Challenge:
        1. parsing the data correctly
        2. discount url <can’t write anything>
        3. postgres issue with the shopify
      4. Questions:
        1. can we host db in the cloud or somewhere public <not the safest>
    2. roseja: -1 week
      1. Last week:
      2. current site<configure host not provided>, new branch config error is no longer there, there is something off with graphql, needs debugging, once this is working it should solve a few other issues
      3. database persistence + changes: (not a priority for Friday, this will be a long term issue), added new redeem db token, but have to manually update the code, need long term solution
      4. api endpoints some issues, information not loading properly
        1. discount generation > some questions have cleared up, admin page cannot be changed, we could create a new (orders and settings) another admin there to add to show it was added by NFT) — forget about admin dashboard, for now, add redeemed with NFT with orders
        2. screen record
      5. Next week:
        1. hide payment: need potential solutions (no shopify plus), maybe there is a way to modify the cart before it gets to checkout > research that, or maybe webhook (webhook for only redeemable for nft, force redirect)
        2. if graphql works >> might help with some of the errors resulting from outdated js libraries
          1. data persistence > challenge
          2. NFT Discount generation
          3. add serverside endpoint to add token id
          4. add serverside endpoint to check if token id exists
      6. Challenge:
        1. getting the correct db URL with docker, locally it works <solved> with add to orders rather than admin
      7. Questions:
        1.  
 
 
 
 
 
 
 
 
Results of meeting with PBear + Prad
  1. setting up a new customer on heroku: successfully deployed and installed on USM and bankless test store
  1. 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:
  1. variable shipping costs, not covered with NFT Sale —> v high average, NFT sale covers shipping costs
  1. 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
  1. setting - payments tab >> add free shipping options / custom functionality
 
NFT Redemption:
  1. UI Button - connected wallet > connect with wallet and grab address
  1. check again with moralis (tried with moralis, documentation shows it is an API, tested with DAO Punks contract)
  1. get data from the backend what is redeemable and what address
  1. if all the verification have passed, add the token to the db
  1. 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:
  1. list of tokens/NFTs
  1. 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
  1. 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)
  1. 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)
  1. 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

Stand Up 4/12

Date
Apr 12, 2022
Note Taker
Property 1
Action Items
 
Agenda + notes
 
  1. Updates:
    1. Prad: -1 week
      1. last week
        1. debugging and getting the redeem function working
        2. working on cors issue, cors is still an issue
        3. database persistence
        4. figuring out metafields >> can fetch metafields from product if it is redeemable, then what contract
      2. Next week:
        1. try to figure out cors issue, it is only not working on chrome
        2. redeem function >> cors
        3. redeem db (server integration)
        4. data verification between product and nft by end of the day
        5. token check against db <challenging>
        6. default gas > after april 8th demo day
        7. add help instructions >> before demo
        8. connect to discord on the modal >> “Need Help? Join our discord and go to customer service channel.” >> after april 8
      3. Challenge:
        1. parsing the data correctly
        2. discount url <can’t write anything>
        3. postgres issue with the shopify
      4. Questions:
        1. can we host db in the cloud or somewhere public <not the safest>
    2. roseja: -1 week
      1. Last week:
      2. current site<configure host not provided>, new branch config error is no longer there, there is something off with graphql, needs debugging, once this is working it should solve a few other issues
      3. database persistence + changes: (not a priority for Friday, this will be a long term issue), added new redeem db token, but have to manually update the code, need long term solution
      4. api endpoints some issues, information not loading properly
        1. discount generation > some questions have cleared up, admin page cannot be changed, we could create a new (orders and settings) another admin there to add to show it was added by NFT) — forget about admin dashboard, for now, add redeemed with NFT with orders
        2. screen record
      5. Next week:
        1. hide payment: need potential solutions (no shopify plus), maybe there is a way to modify the cart before it gets to checkout > research that, or maybe webhook (webhook for only redeemable for nft, force redirect)
        2. if graphql works >> might help with some of the errors resulting from outdated js libraries
          1. data persistence > challenge
          2. NFT Discount generation
          3. add serverside endpoint to add token id
          4. add serverside endpoint to check if token id exists
      6. Challenge:
        1. getting the correct db URL with docker, locally it works <solved> with add to orders rather than admin
      7. Questions:
        1.  
 
 
 
 
 
 
 
 
Results of meeting with PBear + Prad
  1. setting up a new customer on heroku: successfully deployed and installed on USM and bankless test store
  1. 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:
  1. variable shipping costs, not covered with NFT Sale —> v high average, NFT sale covers shipping costs
  1. 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
  1. setting - payments tab >> add free shipping options / custom functionality
 
NFT Redemption:
  1. UI Button - connected wallet > connect with wallet and grab address
  1. check again with moralis (tried with moralis, documentation shows it is an API, tested with DAO Punks contract)
  1. get data from the backend what is redeemable and what address
  1. if all the verification have passed, add the token to the db
  1. 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:
  1. list of tokens/NFTs
  1. 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
  1. 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)
  1. 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)
  1. 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