Compile MoneroV Client
- Ensure that you have
docker
installed. - Clone the MoneroV repo (including submodules via the
--recursive
flag).git clone --recursive https://github.com/monerov/monerov.git
- Overwrite the
Dockerfile
in themonerov
repo with the one thescripts/hardforks/monerov
directory.cd monerov cp <path-to-the-instructions-repo>/scripts/hardforks/xmv/Dockerfile .
- In the
monerov
repo, run the following command to build a docker image containing themonerovd
client binary.docker build -t monerov .
Note: You may have to increase the RAM allotted to the VM that docker uses to build the image. An allocation of 7.5 GB was sufficient for the image to be succesfully built. This can be done in the
Settings > Advanced
menu of Docker Desktop. - The
monerovd
client binary is in the/src/build/release/bin/
directory of the image. To copy it to the host machine, we need a running container based on this image.
Thedocker run -d monerov bash -c "tail -f /dev/null"
tail -f /dev/null
command prevents the container from exiting. Make a note of the container id that is printed or obtain it by running thedocker ps
command. - Copy the
monerovd
binary from the container to the host using the following command (after replacing<container-id>
with the actual container ID).
The current directory of the host must have thedocker cp <container-id>:/src/build/release/bin/monerovd .
monerovd
binary. - Stop and delete the container with the following command.
docker rm -f <container-id>