Skip to content

Run simulate in python #80

@cryptobitf

Description

@cryptobitf

Several times I tried to use the lib to run transaction simulations, but it seems to have been difficult and unsuccessful work. This is how I am importing and using the lib:

from flashbots import flashbot

signer: LocalAccount = Account.from_key(private_key)
flashbot_con = flashbot(w3, account.address)

print(flashbot_con)

The output of this print returns None, and that prevents me from moving forward with the implementation. Does anyone have an idea what it could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions