Last active
April 6, 2022 13:39
-
-
Save alexishida/efb3d56c3dfe5b143b053bd0f18b9fe2 to your computer and use it in GitHub Desktop.
solidity smartcontracts commands truffle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo npm install -D truffle-plugin-verify | |
| plugins: [ | |
| 'truffle-plugin-verify' | |
| ], | |
| api_keys: { | |
| etherscan: 'sdfgsdfg', | |
| polygonscan: 'dfgsdfg' | |
| } | |
| truffle run verify project --network polygonscan | |
| truffle run verify nome_do_contrato --network nome_da_rede | |
| truffle migrate --network nome_da_rede --f 1 --to 1 | |
| # https://trufflesuite.com/blog/introducing-truffle-dashboard/ | |
| truffle dashboard | |
| truffle migrate --network dashboard | |
| truffle console --network dashboard | |
| # https://github.com/ConsenSys/mythril | |
| sudo apt update | |
| # Install solc | |
| sudo apt install software-properties-common | |
| sudo add-apt-repository ppa:ethereum/ethereum | |
| sudo apt install solc | |
| # Install libssl-dev, python3-dev, and python3-pip | |
| sudo apt install libssl-dev python3-dev python3-pip | |
| # Install mythril | |
| pip3 install mythril | |
| myth --version | |
| # https://github.com/NomicFoundation/truffle-flattener | |
| npm install truffle-flattener -g | |
| truffle-flattener <solidity-files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment