I want to send multiple transactions from differents address at the same time with Infura and Web3.py
Currently my code look like this :
for i in range (n):
tx= ... (build transaction for adresse i)
signed_tx = w3.eth.account.sign_transaction(tx, key[i])
w3.eth.sendRawTransaction(signed_tx.rawTransaction)
Is this the best way to do it ? Because it only send 3 tx each secondes.
Can it be caused by slow internet connexion or slow computer ? How to speed it ?
EDIT : I did some tests and build each transaction need 0.15s, send it 0.30s more, only 0.001s to sign
EDIT2 : I tried with faster internet and computer, it doesn't change anything
Thank you