Wormhole eth-sol hack was 120k weWETH ($320m). Minted the wrapped eth on solana by passing a fake system address, which was falsely approved by the guardian signature check. Then swapped back to eth.
This whole chain of verification and process is managed by a large handful of smart contracts. One SC told another that the guardians had approved. How are these APIs not bulletproof.
Looked a bit through core contracts and deepdived wrapped tokens.
Solana Pay released (from same guy who worked Google Pay). https://solana.com/news/solana-pay-announcement. Js sdk for dapps, merchant in-person, more. https://github.com/solana-labs/solana-pay.
Finally wrapped nvm and switched node 10 to 17.4.0 (lts is 16.13.2). Npm 8.4.0.
Remember global pkgs in ~/.nvm/versions/node/v<>/lib/. Local in cwd.
Solc-js (and solidity vscode extension) and web3.js.
/usr/local, user or root? Stricter the better.
Played with truffle and ganache. And Remix https://remix.ethereum.org. And metamask.
Went through full process of setting up private network with Geth: https://geth.ethereum.org/docs/interface/private-network. Did both ethash (PoW) and clique (proof of authority).
All eth networks: https://chainlist.org/.
Deployed a few smart contracts on my local net (started from custom genesis block), as well as the public goerli testnet.
Faucet https://fauceth.komputing.org/?chain=5.
Managed accounts with Clef, compared to Geth’s native keystore.
Interacted with my contracts via both IPC and RPC, played around with auth.
“When you use Docker desktop, you have access to docker in powershell/cmd, have access to your file on windows, the possibility to switch to Windows container and to use it with your IDE. If you install docker inside your WSL2 distro, docker will not be accessible from Windows directly.”
Microsoft and Docker are working closely together on this, ensuring the future of the integration: https://www.docker.com/blog/docker-hearts-wsl-2/.
Confirmed I can see all of my images in vscode, in the remote wsl context, with (literally) no recurring action. Just the installation and running of docker desktop on the host (if docker desktop isn’t running, docker won’t be available in wsl).
Elo is based on lookup tables, but there IS a linear approximation. A win to someone 400 points below results in 0 change. A win or loss to someone with your score results in a change of 16 points.
Subscriptions: Short squeez, morning brew, snacks, messari, marketwatch, and about 5 Bloomberg periodicals. In addition to software- specific handfuls like HN. Money stuff still probably remains my favorite.
Sundaeswap (cardano dex) stole millions of dollars? Reduced rewards in a cardstarter deal from 7.5% to 0.5% last minute. https://www.youtube.com/watch?v=1KpWrfVpUWc.
Increase/decrease playback speed. In youtube, shift and > or <. With video speed controller ext, just s or d.
Tesla and intel earnings yesterday, and powell’s statement on the latest fed policy.
BRK.A is trading at 470k. In 1990 it started at 7k.
Solana network fixes over next month: https://cryptobriefing.com/solana-labs-ceo-reveals-plan-for-upgrades/. Liquidator bots spamming duplicate messages.
Interesting video of cracking a trezor: https://www.youtube.com/watch?v=dT9y-KQbqi4. Basically apply a voltage (after continuous brute force guessing + power cycling) that forces the firmware to bypass security, allowing the secrets to load into RAM where they’re accessible via a standard debugger.
Remember parquet much faster than csv since columnar instead of row, and less storage.
Resolved ssh-agent management of my keys in bash profile+logout and gitlab. Pushed to config repo. Created blockchain repo; remember gitlab autoruns a bit of CI (if enabled), including sast = static application security testing.
Linked vscode and ms account for settings sync.
Unrelated:
Created full custom blockchain and network. Will save custom token on solana, completely different, until later.
Added the chain ability to send and receive blocks between peers.
Correct source link (book is old): https://github.com/Apress/the-blockchain-developer.
Added ability to register and unregister miners, as well as create new blocks every n minutes (just round robin, not stake or work or other election mechanism).
Stored blocks in LevelDB instead of mem.
bitcoin-cli to create new wallet, dump, inspect. Did the same with node and elliptic in own blockchain.
Switched local swarm to peers speaking over an express api for fetching a block, the whole chain, a new wallet, etc.
Decided not to write a CLI wrapper around the HTTP API (for now, would be simple later).
Then basically just distribute this core with an install script. Nodes will detect each other, mine, send blocks, create wallets. Then just popularize globally.