This is a repository for a web app that scans deployed smart contract on Ethereum blockchain with MythX. App includes monitoring of the contracts periodically to detect if any new vulnerability is found on the existing contract.
- User logs in to MythX and receives tokens that are sent to backend. Those tokens are saved to be used later for submissions of analyses.
- User can enter address of the deployed contract only and therefore use only the bytcode analysis. However, to achieve better results, additional source code of the contract can be provided.
- Submitted contract is sent to MythX for analysis and results are sent via email. User is provided with a URL where all previous analyses can be checked.
- On a period of 30 days a new analysis is requested for each submitted contract.
- Address:
0x8e5314cf054871061458846365b5f2faae79cf60
- Source
- Contract name:
DosOneFunc
- Compiler version:
0.4.24
Following software is required to be installed to use this repo:
On first use of this repo, run npx run build
which will
build backend Docker image.You will have to run npx run build
each time
you change dependencies in package.json (yarn.lock).
- Copy
.env.sample
to.env
file and set Mailgun and other variables. - Run
npx run
to see all available commands and their description.
- make sure you update
yarn.lock
before building - use
sequelize-cli
local to generate migrations (because of timestamp)
In frontend
directory run yarn install
and for the local development use yarn start
.
- Copy
.env.sample
to.env
and set Mailgun (required) and other variables. - Use
Dockerfile.production
to create a backend Docker image. - Run
npx run prod
which should build frontend React app.