Jeffrey Scholz pfp

Jeffrey Scholz

@jeffs

41 Following
16 Followers


Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
This is why I despise “where’s Waldo” and “colored balls for a color-blind person” analogies for ZK. I’m not aware of any real shortcut to providing a correct intuition for what ZK actually does under the hood.
0 reply
0 recast
1 reaction

Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
Which DeFi project has the best order-book DEX? I mean actual order book, not AMM.
0 reply
0 recast
1 reaction

Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
An immutable variable in solidity can be indexed bytewise. For example: ``` uint256 immutable x; // … bytes1 y = x[0]; ``` You can simulate immutable strings (up to 32 bytes) this way.
0 reply
0 recast
2 reactions

Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
Check if a number is even or odd in Solidity: Don’t do `n % 2 == 0` Do `n & uint256(1) == 0` If the final bit is zero, then the number is even. The second method is cheaper.
0 reply
0 recast
5 reactions

Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
I’m hiring a senior technical writer. Please see the job application here: https://cryptocurrencyjobs.co/engineering/rareskills-senior-technical-writer/
0 reply
0 recast
0 reaction

Jeffrey Scholz pfp
Jeffrey Scholz
@jeffs
Throwback to my first article series on Solidity / Web3: how to save gas on NFT mints: Over 2 years old but still very relevant, and has inspired dozens of similar articles since. https://medium.com/donkeverse/hardcore-gas-savings-in-nft-minting-part-1-16c66a88c56a?sk=da05a13b9dafb07f0103c65ed45440ca
0 reply
0 recast
2 reactions