Hot answers tagged

1

There is no risk of having your wallet drained, since you build your transactions and sign these via the frontend + you wallet extension. The node provider receives a signed transaction and thus can't tamper with the actual content, otherwise the signature would be invalidated. The only risks that I could think of is that, for one, the node provider could ...


1

Maybe this code help you. It contains recursive function. def checkBlockNumber(blockNumber = None): if blockNumber: if blockNumber == w3.eth.get_block_number(): time.sleep(1) checkBlockNumber(blockNumber) else: return w3.eth.get_block_number() while True: block_number = checkBlockNumber() print(...


Only top voted, non community-wiki answers of a minimum length are eligible