Deploying the smart contract