mpp 0.10.4

Rust SDK for the Machine Payments Protocol (MPP)
Documentation
services:
  tempo-node:
    image: ghcr.io/tempoxyz/tempo:latest
    container_name: tempo-dev-node
    command: >
      node --dev
      --dev.block-time 200ms
      --http
      --http.addr 0.0.0.0
      --http.port 8545
      --http.api all
      --http.corsdomain '*'
      --faucet.enabled
      --faucet.private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
      --faucet.address 0x20c0000000000000000000000000000000000000
      --faucet.address 0x20c0000000000000000000000000000000000001
      --faucet.address 0x20c0000000000000000000000000000000000002
      --faucet.address 0x20c0000000000000000000000000000000000003
      --faucet.amount 1000000000000
      --engine.legacy-state-root
      --engine.disable-precompile-cache
    ports:
      - "8545:8545"
    healthcheck:
      test:
        [
          "CMD-SHELL",
          "bash -lc 'body=\"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"method\\\":\\\"eth_chainId\\\",\\\"params\\\":[],\\\"id\\\":1}\"; exec 3<>/dev/tcp/127.0.0.1/8545; printf \"POST / HTTP/1.1\\r\\nHost: localhost\\r\\nContent-Type: application/json\\r\\nContent-Length: $${#body}\\r\\nConnection: close\\r\\n\\r\\n%s\" \"$$body\" >&3; timeout 2 grep -q \"result\" <&3'",
        ]
      interval: 2s
      timeout: 5s
      retries: 15