1.install eth-brownie
2. install dhedge:
$ pip install dhedge
or
$ git clone https://github.com/NikitaPirate/dhedge-python-sdk.git
$ cd dhedge-python-sdk
$ python3 setup.py install
$ brownie networks modify <id> host=<your host>
or just add Infura ID to environment
$ export WEB3_INFURA_PROJECT_ID=YourProjectID
Adding account in script:
from brownie import accounts
account = accounts.add(<private key>)
or
account = accounts.from_mnemonic(<mnemonic>)
or add account in brownie: use to explore all options:
$ brownie accounts -help
after adding account:
from brownie import accounts
account = accounts.load(<account_id>)
$ brownie run script --network <network id>