EthereumIntermediateStorage dominates gas costs: pack variables, cache storage reads, use constant, immutable, calldata and custom errors, emit events for off-chain data, and measure every change with forge snapshot.
#gas-&-fees#performance#solidity
PolygonAdvancedStore block hashes, verify each block's parentHash, and on mismatch roll back to the common ancestor and re-index. Fetch logs by block hash and act irreversibly only on finalized blocks.
#indexing#nodes#transactions
GeneralIntermediateOn Bitcoin, scale confirmation depth with the amount at risk, since finality is probabilistic. On Ethereum, wait for the finalized checkpoint. On rollups, wait for the batch to be final on L1.
#consensus#transactions
EthereumBeginnerIt's usually a max fee below the base fee, a low tip, or an earlier stuck nonce. Speed up by resending with the same nonce and higher fees; cancel by sending 0 ETH to yourself with that nonce.
#gas-&-fees#transactions#troubleshooting
HyperledgerIntermediateThe endorsements attached to the transaction don't satisfy the chaincode policy at validation. Check the real policy (often MAJORITY by default), endorse from every required org, and verify roles.
#enterprise-blockchain#troubleshooting
GeneralIntermediateBIP-39 encodes random entropy as 12-24 words and stretches them into a seed; BIP-32/44 derive every key from it. Store the words offline on durable media in several places, never digitally.
#cryptography#security#wallets
EthereumAdvancedA proxy holds storage and delegatecalls an implementation. Transparent proxies keep upgrade logic in the proxy; UUPS puts it in the implementation, which is cheaper but can brick upgrades if done wrong.
#security#smart-contracts#upgrades
IPFSBeginnerA CID is only an address; content survives only while someone pins it. Use CIDv1 and ipfs:// URIs, pin with at least two independent providers, keep a CAR backup, and test retrieval first.
#dapp-development#nfts#storage
ArbitrumIntermediateRollups execute off-chain and post data to Ethereum. Optimistic rollups like Arbitrum assume validity unless a fault proof wins during a challenge window; ZK rollups post a validity proof per batch.
#scaling#zero-knowledge
EthereumBeginnerChoose Foundry if your team lives in Solidity and wants fast fuzz and invariant tests; choose Hardhat if contracts ship inside a TypeScript stack. Many teams use both with shared compiler settings.
#dev-tools#solidity#testing
ChainlinkIntermediateUse latestRoundData, reject non-positive or stale answers based on the feed's heartbeat, normalize with decimals(), and on L2s check the Sequencer Uptime Feed with a grace period.
#defi#oracles#security
BitcoinIntermediateA stuck transaction pays too low a feerate. The sender can replace it with a higher-fee version (RBF), or anyone with an output can spend it in a high-fee child so the package gets mined (CPFP).
#transactions#troubleshooting