Skip to content
Guy Davis edited this page Jan 30, 2022 · 52 revisions

MMX is a Proof of Space and Time (PoST) crypto. MMX is NOT simply a fork of Chia, instead being a fresh codebase on a new blockchain. They DO NOT share the same plot files.

MMX support in Machinaris is at an early stage and requires you run :develop images on all your Machinaris containers. Expect to upgrade frequently as the upstream blockchain project is very active. I welcome feedback from those keen to test. MMX looks like a very promising blockchain and Machinaris will be there to provide a useful WebUI, with monitoring and control of farming and plotting, as MMX progresses.

Installation

To start trying out MMX:

  1. On Linux, Windows, MacOS, etc: Just create a new docker-compose.yml from Machinaris launch wizard, selecting "MMX" as an enabled blockchain.
  2. On Unraid, install this test template. Save it to /boot/config/plugins/dockerMan/templates-user/my-machinaris-mmx.xml on your Unraid filesystem. Then go to Unraid Docker UI, click 'Add Container' and choose: Machinaris-MMX from the list. Complete form and deploy. NOTE: You also need to update all your other Machinaris containers to :develop image tag as well. Please at least 15 minutes for a complete launch of the Machinaris-MMX container!

Ports:

  • Machinaris API Port: 8940 (LAN communication, do NOT port-forward on your router)
  • MMX Network Peer Port: 12334 (testnet4 network communication, DO port-forward on your router)

Configuration

Once the Machinaris-MMX container has been running for a while, visit the Machinaris WebUI and look for the mmx fork to appear on the Wallets, Keys, Connections, Workers, and Summary pages.

To configure plotting, note the Keys page values for MMX, then switch to Settings | Plotting page, choose your fullnode worker and mmx as the fork. The farmer and pool public keys should be automatically replaced in the plotman.yaml configuration shown. Verify they are correct and then Save the settings.

As with Chives, I strongly recommend keeping your MMX plots in a separate folder on your HOST OS. For example, if I have a drive mounted at /mnt/disks/plots7:

  • I place Chia plots directly within /mnt/disks/plots7/
  • I place Chives plots within /mnt/disks/plots7/chives/
  • I place MMX plots within /mnt/disks/plots7/mmx/

This is done with volume-mounts, different for each of Chia, Chives, and MMX. Each container simply read/writes plots from /plots7 mounted in-container.

Then switch to the Plotting page, then select your Worker menu, drop-down to 'mmx' and begin plotting your first MMX plot:

Reset During Testing

As MMX itself, and Machinaris' support for this blockchain, are in testing, expect things to break and you to have to start from scratch. If needed:

  1. Stop the Machinaris-MMX container.
  2. Delete the entire appdata at ~/.machinaris/machinaris-mmx or /mnt/user/appdata/machinaris-mmx.
  3. Start the Machinaris-MMX container.

Alternatively, if you want to just resync the blockchain, you could try stopping, deleting just ~/.machinaris-mmx/mmx/testnet4/block_chain.dat and starting the container again.

If you have already plotted, then you will want to use your original seed after step 3 above.

docker exec -it machinaris-mmx bash
rm -f /root/.mmx/wallet.dat
mmx wallet create YOUR_SEED -f /root/.chia/mmx/wallet.dat

then restart the Machinaris-MMX container.

Submitting Issue Reports

Please post questions and issues in the #development channel of the Machinaris Discord. Thanks for testing this early-stage blockchain!

Frequently Asked Questions

Can I use my GPU?

Yes, this is being investigated, tested, and documented. Please drop into the Machinaris Discord to share.

You'll need the Nvidia Driver Runtime. On Unraid, just install the Nvidia Driver plugin.

Then please add the following to your docker-compose.yml. Extend the existing environment section and add the new device_requests section.

    environment:
        - OPENCL_GPU=nvidia
        - NVIDIA_VISIBLE_DEVICES=0
        - NVIDIA_DRIVER_CAPABILITIES=compute,utility 
    device_requests:
        - capabilities:
            - "gpu"

OR for Unraid, using the Docker admin tab, edit the Machinaris-MMX config, create 3 new Variables (shown) and add --runtime=nvidia to the "Extra Parameters" field.

Ideally you can target the device by position or GUID, which you can later override in Unraid Docker Configuration or compose ENVs,

-e NVIDIA_VISIBLE_DEVICES=0 or -e NVIDIA_VISIBLE_DEVICES=GPU-a8b96998-xxxx-xxxx

Further explained here.

Are MMX Workers Supported?

Yes, a Machinaris Worker can be configured by visiting the Workers page of the Machinaris WebUI. Click the 'New Worker' button to create a docker-compose.yml to run on your worker system. This worker can perform either MMX harvester, MMX plotting, or both!

Where can I learn about MMX?

Check out their Github repository and their Discord server.

Clone this wiki locally