Diksha Samant
Portfolio
ERC-20 Token — Solidity & Foundry
Developed an ERC-20 token smart contract in Solidity using Foundry. Implemented token transfers, approvals, allowances, transferFrom, minting and burning, along with owner-only minting, events and input validation. Created and tested the Diksha Token (DIK) with an initial supply of 1,000 tokens and wrote Foundry tests covering the core token functionality. Also practiced local deployment with Anvil and contract interaction using Cast.
NFT Marketplace — Solidity & Foundry
Developed an NFT marketplace smart contract system using Solidity and Foundry. Built and tested a custom ERC-721-style NFT contract with minting, approvals and transfers, along with marketplace functionality for listing, buying, cancelling and updating NFT listings. Implemented Checks-Effects-Interactions ordering for purchase operations and wrote 21 Foundry tests covering core functionality and edge cases. Deployed and manually tested the contracts locally using Anvil.
MultiSig Wallet — Solidity & Foundry
Developed and tested a multi-signature wallet smart contract using Solidity and Foundry. Implemented multiple-owner authorization, configurable confirmation thresholds, transaction submission, confirmation, revocation and execution. Configured the wallet with 3 owners and a 2-confirmation threshold, and implemented authorization checks and ETH transfers. Wrote and passed 21 Foundry tests and manually deployed and tested the complete transaction flow on Anvil.
Escrow — Solidity & Foundry
Developed an escrow smart contract using Solidity and Foundry with a state-machine-based workflow for client and freelancer transactions. Implemented escrow creation, funding, work initiation, work submission, approval and refunds, with role-based authorization, deadline handling and exact payment validation. Applied the Checks-Effects-Interactions pattern before external ETH transfers and wrote 20 Foundry tests covering the contract workflow. Manually tested the complete lifecycle from creation through successful ETH release on Anvil.
Simple Staking — Solidity & Foundry
Developed a time-based staking smart contract using Solidity and Foundry. Implemented staking deposits, withdrawals, reward accrual, multiple deposits and reward accounting using rewardBalance and lastUpdateTime. Implemented internal reward accrual logic and ETH transfers using low-level call. Wrote and passed 10 Foundry tests and deployed and tested the contract locally on Anvil using chain ID 31337.
