Ad

Friday, January 28, 2022

Easy to remember math functions and their graphs

 reposting from the internet



OpenSea NFT basics for developers

Here's what you need to know about OpenSea NFTs as a developers. Before we start, be sure to read our disclaimer and warnings. Remember these contents are for informational purpose only. 

The Rise of OpenSea

Why should you care? Recently OpenSea has had stellar performance, gained steam and attracted amazing investments.

https://cryptobriefing.com/opensea-saw-a-646x-increase-in-trading-volume-in-2021/

https://ca.finance.yahoo.com/news/nft-kingpin-opensea-lands-monster-024228291.html

NFTs can have traits

This is an example of Blocky Doge, doge themed NFT by supposedly dogecoin creator. These traits are stored permanently as a part of the metadata of the token on chain. 



Testnet NFT, Rinkeby NFT

Wallets that OpenSea supports
OpenSea supports more than just metamask, for example OpenSea supports Kaikas for Klay WKLAY, aka Klatyn. 



Wednesday, January 26, 2022

Shopify Partner Developer Essentials



example shopify api endpoints

GET/admin/orders.json

GET/admin/orders.json?updated_at_min=2018-05-08

POST/admin/products/#{product_id}/variants.json

PUT/admin/price_rules/#{price_rule_id}.json

DELETE/admin/products/#{product_id}

Shopify partner perks https://www.shopify.com/partners/all-perks



Monday, January 24, 2022

Firebase Stripe Extension for payment debugging


 If your stripe webhook contains errors, Stripe will email you and inform you that requests to this end point has failed. In this case, we got a "Webhook Error: Invalid Secret". 



To fix this bug you will need to navigate back to the stripe extension configuration page in firebase console. 

To get this value you will need to grab it from stripe dashboard, webhook secret, it usually begins with 

Navigate to Stripe dashboard > select Developer from top nav > select webhook from left nav, then select the webhook you created, and select reveal secret in the webhook's menu. 

Signing secret begins with whsec. 

You will need to add this secret to firebase for firebase to successfully communicate with your stripe webhook. 

Sunday, January 23, 2022

Algorithms bias

Examples of algorithms gone bad, gone wrong, unethical. Lessons to learn and what NOT to do when designing an algorithm. 

Apple's "sexist" credit card. https://www.bbc.com/news/business-50365609

Stanford researchers' horrid gaydar paper https://www.nytimes.com/2017/10/09/science/stanford-sexual-orientation-study.html

Saturday, January 22, 2022

Stock, Crypto Technical Analysis

Crypto investment. 

Warning Please be sure to read our Disclaimer before reading this post or any post on our blog, youtube, proprietary website. https://www.siliconvanity.com/2021/11/blockchain-crypto-stock-personal.html


  • Bollinger Bands 
  • Breakout: Any breakout patterns?
  • Fees can really affect your takehome profit in crypto. Check out coinbase's fee schedule here
  • https://help.coinbase.com/en/pro/trading-and-funding/trading-rules-and-fees/fees
  • Momentum
  • Note the fee is different for makers and takers. 
  • Relative strength index RSI
  • Short interest
    • Roblox example https://m.benzinga.com/article/25137770
  • Other non technical, qualitative components: Crypto.com new listing, coinbase new listing
  • 50 day moving average. e.g. a lot of cryptos are correlated with bitcoin 50 day moving average. 50 day moving average below 100 day moving average, some may consider it a bearish sign.
  • WhaleStats: show movements of big ETH whales. What kind of tokens they are buying and trading.

Friday, January 21, 2022

Polygon blockchain developers resources

 Developer advocate of Polygon Xiangan He talks about Polygon development.

The ecosystem of polygon is huge. 


Polygon value propositions and offerings (official website retrieved Jan 2022)


Polygon offerings (official website)


Easy for developers to change ethereum apps to use polygon.



[NEWS] Farming game causes rise in demand of Polygon network, increases fees.

"The rising demand is impacting the usability of the Polygon network. Gas fees have increased dramatically this week, with PolygonScan showing an average gas fee of nearly 764 Gwei on January 5. That's a dramatic increase over the average rate, which fell between 72 and 115 Gwei daily during the last week of December. In U.S. dollars, it means that a Polygon transaction fee has jumped from what's often a penny or less to as much as $0.50, depending on the complexity of the transaction. That's still a fraction of the price of an Ethereum mainnet transaction, but for games and other applications that utilize a lot of transactions, the fees can start to pile up for users. " - decrypt.co

Polygon architecture layers






As developers you will need to own a bit of $MATIC polygon token for bridge, transaction fees etc, example to deploy smart contract to the mainnet.

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid