https://github.com/mattdf/polymer
https://github.com/mattdf/polymer
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattdf/polymer
- Owner: mattdf
- Created: 2023-04-14T15:18:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T00:06:34.000Z (about 2 years ago)
- Last Synced: 2025-03-02T09:36:41.600Z (5 months ago)
- Language: Solidity
- Size: 626 KB
- Stars: 26
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polymer
Is powered by insomnia & laziness, a lot of the code was written by ChatGPT.
## Example Usage
In this example we use the Z3 analyzer to find inputs to exploit a contract. This is from an integer overflow example contract at: https://github.com/shamb0/ssec-swc-101-int-ouflow
#### Load contracts from the repository
#### Select which files to analyze
#### Uncheck code which statements you want to include or exclude, and the analyzer prompt
#### See that it generates an exploit and runs it to get results
## Building & Running
This project needs to run things inside Docker, so the top-level project may not be easy to run Docker inside a Docker.
To install requirements then run the API do:
```shell
$ apt-get install make python3-pip
$ make python-requirements docker-build
$ make api
```## Resources
* https://swcregistry.io/
* https://www.dasp.co/
* https://consensys.github.io/smart-contract-best-practices/## Repos for testing
* https://github.com/shamb0/ssec-swc-101-int-ouflow