Web3 execute a contract after connect wallet

Job ID: 35330165

Budget: €30 – €250 EUR

Hello. I have an already deployed contract on testnet with ABI and created the front end with the connect wallet button. I just need that after you connect the wallet the button state change to send and execute the contract when you click it.
Related categories: JavaScript Ethereum Web3.js