A smart contract automates the pre-sale process by distributing tokens, enforcing participation rules, and managing funds without the need for centralized…