Company: Coinchange
Role: Senior Solidity Developer
Stack: Solidity 0.8.9 · Hardhat · OpenZeppelin · Typechain
Period: 12/2021 - 06/2023
Built an atomic execution framework enabling multi-DeFi operations in a single transaction across Ethereum, BSC, Polygon, and Avalanche. The framework reduced transaction costs through optimized calldata encoding and deterministic account deployment via CREATE2/CREATE3 mechanisms. Mentored 3 Solidity developers on testing patterns, security, and gas optimization.
| Decision | Rationale |
|---|---|
| Salt-based CREATE2 determinism | User address as salt enabled predictable account addresses, simplified lookup, and gasless onboarding |
| Custom calldata encoding | Reduced transaction costs per operation by ~20% through tailored ABI encoding |
| Minimal proxy pattern (EIP-1167) | Minimized bytecode overhead for account factory at scale |
| Hardhat migration | Better test performance and deployment flexibility vs. Truffle |
Counterfactual deployment made retail onboarding practical: because the account address is derived deterministically from the user’s address via CREATE2, the account exists as a known address before it is ever deployed. Users fund that address first; deployment happens later - triggered by the user or a relayer - with no ETH required in the deployer’s wallet at signup. This pattern eliminated the “chicken-and-egg” problem of needing gas to get an account before having funds to pay for gas.