VSOPEN is a command tool that can download contract sourcecode from etherscan (and so on) and automatically open vscode around it.
npm install wiw-vsopen2VSOPEN is a command tool that can download contract sourcecode from etherscan (and so on) and automatically open vscode around it.
Get Api Key at https://etherscan.io/myapikey
Install and open vscode.
Press command + shift + P
Type "alias code command" and choose the first option.
``npx -y -p wiw-vsopen2@latest vsopen`
Open a new terminal
vsopen config
vsopen get 0xxxxxxxx -c eth
vsopen -h
#### Invalid url
Check if config url is right.
Url should be like https://api.etherscan.io/api
#### No reaction when downloading
Check your network.
ping api.etherscan.io`