A server that manages and distributes blocks of private key ranges. It works with a Rust-based client that performs the key search operations on the secp256k1 elliptic curve.
Before starting, make sure Docker is installed on your machine. If Docker is not installed, follow the instructions here.
-
Clone this repository to your local machine:
git clone https://github.com/denzylegacy/keyripper-server.git cd keyripper-server
-
Build the Docker image:
sudo docker build -t dc-keyripper-server .
After building the image, run the project using the following command:
sudo docker run -it dc-keyripper-server
The Dockerfile
used in this project is as follows:
FROM python:3.10-slim
RUN apt-get update && \
apt-get install -y \
libgmp-dev \
gcc \
build-essential \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["gunicorn", "-w", "3", "-k", "uvicorn.workers.UvicornWorker", "app:app"]
This Dockerfile defines an environment based on the python:3.10-slim
image, installs the dependencies listed in requirements.txt
, and copies the project contents into the container. By running the sudo docker run -it dc-keyripper-server
command, the container will start, and the Gunicorn server will start running the ASGI application on port 8000, allowing it to receive requests.
Feel free to open issues or pull requests. Feedback is always welcome!