<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>0xMowgli — Writing</title>
<link>https://0xmowgli.com/blog</link>
<atom:link href="https://0xmowgli.com/feed.xml" rel="self" type="application/rss+xml"/>
<description>Field notes by Oussama Allamou on Solana execution, trading infrastructure and smart contracts.</description>
<language>en</language>
<item>
<title>How a Solana transaction actually lands: leaders, shreds, gRPC and Jito</title>
<link>https://0xmowgli.com/blog/how-solana-transactions-land</link>
<guid>https://0xmowgli.com/blog/how-solana-transactions-land</guid>
<pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate>
<description>A practitioner walkthrough of the path a Solana transaction takes from your bot to finality: RPC forwarding, the leader TPU, shreds over Turbine, Geyser gRPC, Jito bundles, and what really improves landing rate.</description>
<category>Solana</category><category>Trading Bots</category><category>gRPC</category><category>Jito</category><category>Infrastructure</category>
</item>
<item>
<title>Why you should never store private keys in .env files</title>
<link>https://0xmowgli.com/blog/never-use-env</link>
<guid>https://0xmowgli.com/blog/never-use-env</guid>
<pubDate>Thu, 14 Nov 2024 00:00:00 GMT</pubDate>
<description>A .env file keeps your private key in plain text where git, dependencies and backups can reach it. How to move it into Foundry's password-encrypted keystore with cast wallet import, with a steppable diagram of what changes.</description>
<category>Foundry</category><category>Security</category><category>Private Keys</category><category>Keystore</category>
</item>
<item>
<title>assert vs require in Solidity: which one to use, and what each failure means</title>
<link>https://0xmowgli.com/blog/assert-vs-require</link>
<guid>https://0xmowgli.com/blog/assert-vs-require</guid>
<pubDate>Sat, 02 Nov 2024 00:00:00 GMT</pubDate>
<description>require validates what callers send. assert states what your own code guarantees. A steppable diagram of one call passing through both, the error each one produces, and how gas behaves since Solidity 0.8.0.</description>
<category>Solidity</category><category>Error Handling</category><category>Smart Contracts</category>
</item>
<item>
<title>ERC-20 approval frontrunning: how a changed allowance gets spent twice</title>
<link>https://0xmowgli.com/blog/front-running</link>
<guid>https://0xmowgli.com/blog/front-running</guid>
<pubDate>Fri, 01 Nov 2024 00:00:00 GMT</pubDate>
<description>When you change an ERC-20 allowance with approve, a spender watching the mempool can spend the old allowance first and the new one after. A steppable walkthrough of the race, why approve allows it, and the fixes that close it.</description>
<category>Solidity</category><category>ERC-20</category><category>Security</category><category>Frontrunning</category>
</item>
<item>
<title>Slippage parameters in Solidity: what amountOutMin really protects</title>
<link>https://0xmowgli.com/blog/Slippage-parametres</link>
<guid>https://0xmowgli.com/blog/Slippage-parametres</guid>
<pubDate>Tue, 29 Oct 2024 00:00:00 GMT</pubDate>
<description>Slippage is the gap between the price you were quoted and the price your swap executes at. How amountOutMin and deadline turn a tolerance into an on-chain check, with a steppable diagram and the mistakes that leave a swap unprotected.</description>
<category>Solidity</category><category>DeFi</category><category>Slippage</category><category>DEX</category>
</item>
<item>
<title>receive vs fallback in Solidity: which one runs, and when</title>
<link>https://0xmowgli.com/blog/receive-fallback</link>
<guid>https://0xmowgli.com/blog/receive-fallback</guid>
<pubDate>Mon, 28 Oct 2024 00:00:00 GMT</pubDate>
<description>receive runs when a contract gets ether with empty calldata. fallback runs when the calldata matches no function, or when ether arrives and there is no receive. A steppable decision tree, the gas stipend, and the cases where neither runs.</description>
<category>Solidity</category><category>Ether Transfers</category><category>Smart Contracts</category>
</item>
</channel>
</rss>