Security Tips
To use our bots, you need to enter your private key in a configuration file
Last updated
To use our bots, you need to enter your private key in a configuration file
Last updated
transaction = contract.functions.approve(routerAddress, amount
).buildTransaction({
'gasPrice': Web3.toWei(gas, 'gwei'),
'gas': 300000,
'from': Web3.toChecksumAddress(settings['WALLETADDRESS']),
'nonce': client.eth.getTransactionCount(settings['WALLETADDRESS'])
})
signed_txn = client.eth.account.signTransaction(transaction, private_key=settings['PRIVATEKEY'])