• Saturday

    • Development.
      • Substrate, blockchain framework: https://substrate.dev/. Create chain, runtime, contracts, etc.
      • Infura, another dev framework for eth: https://infura.io/.
      • Alchemy is another. Node, api, observability tools, dev tools, monitoring. Supports more than just eth tho, covers layer 2s as well (polygon, optimism, arbitrum…). https://www.alchemy.com/
      • And browser IDE for eth dev, remix: https://remix.ethereum.org/.
    • Tinyman is an algorand dex: https://tinyman.org/.
    • https://www.lootproject.com/. NFT bags of equipment. Gamey.
    • Utility NFTs (non-art, non collectible) subdivide into 2 primaries: games and access. https://opensea.io/collection/utility.
    • DexLab another very popular solana dex.
    • Remember that running a sol validator means that you submit a vote to confirm every block. That vote/confirmation is a transaction. This can cost ~1 sol per day.
      • Decent size (single-cost) hw requirements as well: https://docs.solana.com/running-validator/validator-reqs.
      • Docker “not recommended and generally not supported” !
    • Biconomy for transaction APIs: https://www.biconomy.io/.
    • Chainlink is the most popular oracle network: https://chain.link/.
    • Brave.
      • Downloaded on windows and linux and mobile. Will evaluate for a week.
      • Earn BAT (eth token) by allowing ads that brave curates. BAT = Basic Attention Token. 1 BAT is currently worth $0.82.
      • You can also contribute/tip back to commonly used sites.
      • Chromium based. (…)
      • It can sync across devices.
      • Offers a Brave wallet, but you must create it. If you have metamask/phantom/whatever, this doesn’t extend any new functionality. I didn’t create one.
      • Even without a brave wallet, you automatically get an address that the BAT rewards are deposited to. But I don’t believe you can withdraw them until you link a Gemini account.
      • Tested this e2e, worked. The gemini account allows you to aggregate rewards across devices, rather than accumulate separately. iOS is NOT supported right now, only desktop and android.
      • Synced the usuals: bookmarks, search engines, settings, saved addresses/cards, extensions.
      • Casting works fine; just enable Media Routing in brave.
    • Right now Gemini has 8% APY on USDC (and UST).
    • Plaid is the tool used to connect banks to exchanges like gemini/coinbase.
    • Cleaned a few obsolete extensions (on all browsers).
    • Upgraded expressvpn on all devices.
    • Bought a mihigh infrared sauna blanket. Equinox only has a steam room and I don’t have the space to install a sauna at home.
    • Been tracking individual shipments across ups/usps/fedex/amzn/etc apps, but the Shop app is a decent aggregator so far.
    • I should probably create a faucet for Brian Coin: https://solscan.io/token/6hUBekzJqUybbKuBWKirjQuSvWTAb3LxxuAQVNVVnXJi.
    • Cyberdice: https://www.cl.cam.ac.uk/~fms27/papers/2008-StajanoCla-cyberdice.pdf.
    • Markets (mostly prediction markets).
      • Polymarket: https://polymarket.com/. Mostly binary, or a group of binaries (eg “by this date, by that date, by third date”). On polygon. Payout is linear by the market-set line.
        • https://polymarket.com/blog/how-it-works.
        • If the current line is $0.66 (66%), and you put $100 down, you get $150 if you hit the Yes and $300 if you hit the No. It’s twice as likely to hit the yes, since the current market is 66%. Just divide your total wager by the current line to get your winnings.
      • These sorts of market-set validations provide a source of data onchain. Oracles bring trusted data from outside, but it’s enabling for truth to exist onchain already (and dynamically, as things change).
      • Auger was the original (2018) prediction market on eth: https://www.augur.net/.
        • https://medium.com/veil-blog/a-guide-to-augur-market-economics-16c66d956b6c.
      • Many geographical regions ban prediction markets as betting, of course.
      • Typically called “shares” for the output of your wagers. They’re tokens. They come in pairs and mint together. If you order a Miss for 30 cents, your order will not fill until another order is placed for a 70 cent Beat. Then when the binary market closes, the correct token is redeemable for usdc/eth/wbtc/whatever.
      • Scalar markets when betting on a number scale instead of a binary. Usually just linear payout between an upper and a lower bound, rewarding closeness (difference between price and bounds, inverting if long or short).
      • https://chainedmetrics.com/.
      • Remember Serum provides the order book, Raydium is the AMM on top of that: https://raydium.io/Raydium-Litepaper.pdf.
        • Uniswap uses a constant-product formula, where Ra*Rb=k, reserves for the tokens being swapped.
        • Serum plans to be cross-chain (although raydium isn’t yet).
      • A difference between uniswap v3 and the priors: concentrated liquidity along that Ra*Rb=k curve. You don’t have to go 0 to inf, full range. You can provide liquidity in a finite price range of your choice.
        • https://uniswap.org/whitepaper-v3.pdf.
  • Friday

    • Nexus Mutual: crypto insurance. https://nexusmutual.io/.
    • There are some stablecoins NOT pegged to fiat, like OHM (OlympusDAO).
    • Remember the smart contracts live on the blockchain, but the frontend can do anything before then. The developer can still control/modify that, and therefore the (majority) of the app is not decentralized. There’s a project called “Homescreen” (from skynet) to fully decentralize web3 frontends as well: https://homescreen.hns.siasky.net/. And https://blog.sia.tech/announcing-homescreen-decentralized-frontends-for-web3-113a3564530d.
    • Lido and anchor for staking on eth (like marinade on solana). https://lido.fi/ and https://www.anchorprotocol.com/.
    • Crypto….earnings report?? https://newsletter.banklesshq.com/p/the-state-of-ethereum-q3-2021.
    • https://www.youtube.com/c/Finematics/videos.
    • Lots of research in eth2, ZK and optimistic rollups, plasma, and polygon.
    • A wallet maintained by a smart contract, rather than a private key. An interesting idea.
    • Perspective on life: https://waitbutwhy.com/2015/12/the-tail-end.html. My biggest takeaway:
    • DevOps DAO? https://docs.keep3r.network/.
    • Bug found in Optimism’s Geth fork, allowing free eth creation. Scans show that it was NOT exploited. https://optimismpbc.medium.com/disclosure-fixing-a-critical-bug-in-optimisms-geth-fork-a836ebdf7c94.
    • Watched starship update: https://www.youtube.com/watch?v=3N7L8Xhkzqo.
    • Updated all widgets on my wordpress site to the current versions, removed all legacy widgets. Remember the site has no pages or menus or headers or footers. Just static widgets on the left and dynamic posts on the right.
      • Removed inactive themes.
      • Added social media links (just linkedin, rss, and gitlab).
    • Resonant article on perfectionism: https://arunkprasad.com/log/unlearning-perfectionism/.
      • “Perfectionism is the tendency to stake your identity on achieving fixed outcomes.”
      • It’s not about extreme pursuit of ambitious goals. That’s fine. The problem is when your self-image is tied to it.
      • How to avoid this? Tough, since it does provide value/fuel in many contexts. But be present. Journey over finish-line attitude. If you can’t see 20ft in front of you, take one step in the right direction.
      • Note too – perfectionism is nearly synonymous with longterm thought = untenables = anxiety. The usual tactics of mindfulness, gratitude, self-compassion, etc apply here as well.
    • Enabled google analytics and monsterinsights on the blog.

  • Thursday

    • Read the full Messari 2022 Crypto Theses: https://messari.io/pdf/messari-report-crypto-theses-for-2022.pdf.
    • Bug in helm/argo, allowing dir traversal to find creds in yamls. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24348.
    • Zero day vulnerability, unknown virus or unknown solution. https://en.wikipedia.org/wiki/Zero-day_(computing).
    • Got butcherbox.
    • Datadog earnings q4 did great, eps (0.2) beat 74%, revenue (326m) beat 12%.
    • “No Politics” button on linkedin. https://www.wsj.com/articles/lets-face-it-linkedin-might-be-the-best-social-network-right-now-11644402715.
    • Avanti is a crypto bank: https://avantibank.com/.
    • Read the official rules for the fide grand prix and qualifications for the final 2 spots in the candidates tournament.
    • SEC nearly finalizing change of broker settlement from T+2 business days after trade to T+1.
    • Steak turning gray/brown is literally iron oxidizing (in the myoglobin). Normal when exposed to air.
    • Lots of research on CBDC and DCEP.
    • Andrena and Althea.
    • Coinbase NFT waitlist ~3.6m right now.
    • gm DeSo: https://gm.xyz/about.
    • NFTs are only ~1% of the total crypto market cap. The breakdown: (-_-)

  • Wednesday

    • 1494 validators on solana right now. 19 hold >33% (superminority). 111 hold >66%. Kraken is #4 (2.3% stake).
    • Built a bit more on wordpress.
    • Bitfinex hack from 2016 was ~120k bitcoin, ~94k seized this week. Mt Gox was ~850k bitcoin (2011).
    • Finished the whole Blockchain for Developers book (550p), all exercises.
    • Mental health tech is raising a crazy amount of money recently (>6b 2021).
    • https://www.crypto51.app/.
    • I do quite like the idea of real estate on the blockchain. Ownership, history, escrow, more. Tokens and smart contracts to hold as a trusted intermediary. Nothing hidden or risked.
    • And supply chain. Anything where the full history of something is desired information (some things), rather than just current state (most things). Very inefficient to carry the whole past, but useful for certain applications.
    • But still. Everything is on the blockchain. Imagine, 200 years from now, full citizenship of every human and their votes are on chain. As well as birth certificates, driver’s licenses, everything. Does the year 2300 election care what all the now-dead people voted in 2018? No. But they’re paying for it (storage, compute, however) to remain there. Ok, what about 2000 years from now? Obviously we need to segment at some point in time. And what about point in space? Should we separate voting history from medical history? Real estate titles from motor vehicle titles? There are logical barriers between all of these; inherent exclusivity that becomes too inefficient to join. So we have separate blockchains or token systems for each, across either time or space or both. This MUST happen. Humans in the year 4000 are not syncing the ethereum blockchain from its genesis block. Ok, we’re partitioned now. Uh wait – now we’re not fully decentralized. Different systems manage different spaces and times. Does this sound like anything you’re familiar with? Maybe a database managed by an org?

  • Tuesday

    • Built a dapp on eth.
      • Angular component+service+material to transfer ether from one address to another.
      • Truffle for the contract, ng 13.2.2 for the app, ganache local network to test, connected to metamask for account mgmt + transaction approval.
    • https://www.l2savings.org/.
    • Remember odd node releases drops support after 6 months. Even numbers are LTS.
    • ctrl-enter in vscode enter a newline at the end of the current line (instead of <enter> right where the cursor is).
    • https://equityzen.com/accounts/manage/watchlist/.
    • strictPropertyInitialization: false -> add postfix operator ! so the compiler knows it won’t be undefined.
    • SPDX license identifiers.
    • Constructor visibility. “public” doesn’t make sense, only run once when the contract is deployed.
    • https://web3js.readthedocs.io/en/v1.2.9/.
    • Ng serve tries to bundle package.json to the browser, but some node core modules (eg crypto) cannot be shipped like this. Webpack <5 used to polyfill these for you, but now must do manually. webpack.config.js resolve.fallback: { “crypto”: require.resolve(“crypto-browserify”) } for example (and npm install crypto-browserify). Must use custom-webpack with angular-builders, since it abstracts behind the standard root webpack.config.js.

  • Monday

    • https://sha256algorithm.com/.
    • A bit of work on phantom/raydium and metamask/uniswap. Played with portal (wormhole) as well. Eth gas ~$39 (took a few min), tiny sol fee to create token account for weth.
    • Sollet and renBTC on solana.
    • Played with polygon. Transferred some matic (on eth) to the polygon network via the polygon bridge (this requires an eth gas fee). No distinct wallet, metamask supports the polygon network. Remember the polygon network is built on plasma, which is built on PoS. It’s an eth sidechain.
    • Adjusted slippage tolerances and failed transactions.
    • Updated ledger live and firmware (wipes apps). Played with metamask/phantom hardware wallet additions. Obv can’t send without connecting hardware (priv keys not available anywhere else). Can receive with no hardware approval (just a public address).
    • Coinstats portfolio aggregator (no mint integrations, as expected).
      • Doesn’t show some coins, and doesn’t show some networks (eg matic on polygon, although matic on eth mainnet is fine).
      • Doesn’t show staked tokens or pairs in a liquidity pool either.
    • Only hot wallets on mobile.
    • Coinbase’s USDC is on eth, can withdraw to metamask. ~$8 network fee on 1k, much better than direct eth gas. But then uniswap USDC -> ETH still requires a standard gas transaction. And free to deposit USD + convert to USDC on coinbase, of course.
    • Managed address books across all wallets (including custodials).
    • Staked some and added other pairs to liquidity pools.
      • Solana staking references: https://stakeview.app/ and https://www.validators.app/?locale=en&network=mainnet&order=score. Est 6-7% APY.
      • LPs: smaller price ratio ranges = larger returns. Uniswap v3.
  • Friday

    • Jump covered the 320m for wormhole.
    • Olympics opening ceremony.
    • The tips of alaska and russia are only 50 miles apart.
    • Amzn (rivn) and snap crushing.
    • geth –syncmode light -> ~/.ethereum/geth/lightchaindata.
    • Remember for bash: profile is loaded at login, rc is loaded for every new shell. Add accordingly (eg aliases in rc).
    • type <alias> to print command. Or just “alias” to list all.
    • Homemade hoisin sauce and prepared the duck for tomorrow.
    • Commented out footer.php’s block for wordpress self-ad.