XCryptoKeys (@XCryptoKeys) header
XCryptoKeys (@XCryptoKeys) profile picture

Deep threads on Bitcoin, Ethereum, L1/L2, MEV, DeFi, privacy & hacks. Data, infra & architecture. Builder mindset. NFA.

France
Joined December 2021
Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)Photo by XCryptoKeys (@XCryptoKeys)
Crypto is full of noise. This account is about the signal. Deep threads on how it actually works: → Bitcoin, Ethereum, L1/L2 → Consensus & crypto math → DeFi, MEV, privacy → The biggest hacks, explained → And more No hype. No shilling. Just the tech. Follow to unlock it.
9
23
81,003
#Crypto Math #6: A Bitcoin public key can be written in 65 bytes or just 33. The short form keeps x plus one hint for y, since y can be recomputed from the curve formula. For each x on the curve, there are only two possible y values, one even and one odd. The first byte simply says which one, saving 32 bytes per key. #XCKcry1
3
Inside #Pactus #6: Every block opens with one special transaction that pays the block reward from the treasury. Nobody signs it and it pays no fee. Validators check the amounts before accepting the block: the right total, the right foundation share, and the right split if the validator is delegated. Only one per block. @PactusChain #XCKpac1
5
Crypto #Anonymity Myths #5: Rule #1 of blockchain tracing: if one payment spends coins from several addresses, tracers assume they belong to the same person, because one wallet usually signs them all. Repeat this across thousands of payments and addresses snowball into big groups, each one likely a single person or company. That is how tracing tools build their map of who owns what. #XCKano1
5
Crypto #Wallet Security #5: Your 12 or 24 words are not your key directly. The wallet runs them through a hash function 2048 times to make a 512-bit seed. Every key and address is derived from that seed. That's why the exact words, plus the passphrase if you use one, are what must be backed up. #XCKwal1
4
#DeFi Mechanics #5: Each Uniswap v2 swap pays a 0.3% fee. It stays in the pool, so the pool slowly grows and the people who supplied the tokens (liquidity providers) earn it in proportion to their share. There's nothing to claim: when you withdraw, you redeem your share of a pool that has grown with the fees, so they're already included. The fees were added to your slice all along. #XCKdfi1
5
Crypto #MEV Dark Forest #5: The mempool is the waiting room of a blockchain: transactions sent but not yet in a block. On Ethereum it is public. So anyone running a node can read your pending trade, see the amount and fee, and even simulate what it will do, before it's confirmed. That's where MEV bots hunt. #XCKmev1
3
Crypto #Layer2 Unlocked #5: Lightning punishes cheating hard. If someone publishes an old channel state that gave them more money, the other side can claim the whole channel balance as a penalty. Every time the channel updates, each side hands over a secret that cancels its previous state. Using an old state means risking everything. #XCKlay1
1
6
#Blockchain Consensus #5: A famous 1985 result (Fischer, Lynch, Paterson): if messages can be delayed without limit, no deterministic protocol can guarantee it always reaches agreement if even one node may crash. So how do blockchains work at all? They bend the assumptions: add some randomness, assume messages eventually arrive in time, or accept finality that's "almost certain" instead of absolute. #XCKcns1
10
Crypto #Hack Autopsy #5: Mt. Gox's slow bleed allegedly started in 2011. In 2023 the US DOJ charged two Russian nationals with hacking the exchange's wallet server and laundering at least about 647,000 stolen BTC. Per the indictment, the theft ran from about Sept 2011 into 2014, when the exchange collapsed, with coins leaving quietly, little by little. #XCKhak1
5
#Crypto Math #5: Your public key is your private key multiplied by a fixed point on the curve. Going forward takes a split second. Going backward, from public key to private key, is believed infeasible. That one-way street is the whole basis of crypto wallets: you can show your public key to everyone, and nobody can work out the secret behind it. #XCKcry1
6
#Ethereum Deep Dive #5: Ever noticed addresses mix UPPER and lower case letters? It's not random: the pattern is a checksum that lets wallets catch typos. The capitals are computed from a hash of the address itself. Change one character, and the expected pattern no longer matches. An all-lowercase address still works, but without that safety net. #XCKeth1
1
8
#Bitcoin Internals #5: Every 210,000 blocks (about 4 years), the new-coin reward per block is cut in half: 50, 25, 12.5, 6.25, and 3.125 BTC since 2024. This is the "halving". It is not set by a date but by counting blocks. The code computes it from the block number with one simple line. #XCKbtc1
2
8
Inside #Pactus #5: Each block sends a small share of its reward to the foundation, rotating across 100 addresses built into the node. That share is 0.3 PAC per block at first, and it shrinks along with the block reward: after the first halving at block 8 million, it drops to 0.15 PAC. @PactusChain #XCKpac1
2
5
45
Crypto #Anonymity Myths #4: The whitepaper compares Bitcoin to banks. A bank keeps your privacy by hiding its records. Bitcoin can't, since every record is public. Its only privacy is keeping addresses unlinked from people. Think of a stock market tape: everyone sees each trade, its time and its size, but not the names of the traders. That is Bitcoin's privacy model, and it ends the moment your name is attached to a key. #XCKano1
1
18
Crypto #Wallet Security #4: Handy detail for backups: in the English BIP39 list, the first 4 letters of each word are enough to identify it. That makes a handwritten or engraved backup shorter and less error-prone. It matters: a backup you can't read back correctly is no backup at all. #XCKwal1
2
3
29
#DeFi Mechanics #4: Big trades pay more. On a pool with x · y = k, buying 10% of one token's reserve costs you on average about 11% more per token than the price shown before the trade. That gap is "price impact". Each token you buy makes the next one more expensive. The bigger the pool compared to your trade, the smaller this effect, which is why deep liquidity matters. #XCKdfi1
1
18
Crypto #MEV Dark Forest #4: The "M" in MEV used to mean "miner". Ethereum has no miners since it moved to proof-of-stake, so it now means "maximal". The idea stayed the same: whoever decides which transactions go into a block, and in what order, can profit from that choice. It applies to any blockchain. #XCKmev1
2
1
21
Crypto #Layer2 Unlocked #4: Inside a Lightning channel, each payment just swaps a new signed "who owns what" transaction between the two partners. Nothing hits the blockchain until the channel closes. Either side can publish its latest copy to leave alone, but until then payments stay instant and cheap. #XCKlay1
1
17
#Blockchain Consensus #4: Not all failures are equal. A crashed server just goes silent; a "Byzantine" one can lie. Surviving f crashes needs 2f+1 nodes (a simple majority). Surviving f liars needs 3f+1. Company databases usually only plan for crashes. Open blockchains can't: anyone can join, so they must assume some participants will actively cheat. #XCKcns1
2
3
17
Crypto #Hack Autopsy #4: In August 2010, one Bitcoin transaction created about 184 billion BTC out of nothing. The code added up outputs without checking for overflow. Satoshi shipped a fix within hours and the bad block was orphaned. The numbers were so big they wrapped around, like a car odometer rolling back to zero. Bitcoin's math was fine; one check was missing. #XCKhak1
1
3
21