Skip to content

Support rpc for BSC #1565

Open
Open
@MrMegamind

Description

@MrMegamind

I tried to run
myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-dataseed1.defibit.io:443
Assuming https://docs.binance.org/smart-chain/developer/rpc.html provide the custom RPC

But always get IPC / RPC error: 400 error

How to Reproduce

mythril.interfaces.cli [ERROR]: Could not connect to RPC server. Make sure that your node is running and that RPC parameters are set correctly.
thezavya@instance-3:$ sudo docker run -it --rm mythril/myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-dataseed4.binance.org
mythril.interfaces.cli [ERROR]: Invalid RPC argument, use 'ganache', 'infura-[network]' or 'HOST:PORT'
thezavya@instance-3:
$ sudo docker run -it --rm mythril/myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-dataseed4.binance.org:80
mythril.interfaces.cli [ERROR]: Could not connect to RPC server. Make sure that your node is running and that RPC parameters are set correctly.
thezavya@instance-3:$ sudo docker run -it --rm mythril/myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-dataseed4.binance.org:443
mythril.interfaces.cli [ERROR]: IPC / RPC error: 400
thezavya@instance-3:
$ sudo docker run -it --rm mythril/myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-ws-node.nariox.org:443
mythril.interfaces.cli [ERROR]: IPC / RPC error: 400
thezavya@instance-3:~$ sudo docker run -it --rm mythril/myth analyze -a 0x13b852e276f10281C72ccF33EdF81d81DD198Aae --rpc bsc-dataseed1.defibit.io:443
mythril.interfaces.cli [ERROR]: IPC / RPC error: 400

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions