docker stop 7c9394120852 && docker rm 7c9394120852
docker stop 9bf722aacfa3 && docker rm 9bf722aacfa3
9bf722aacfa3

- Purpose: offload compiling/deploying to a service; app consumes artifacts/addresses.
- Changes:
    - Add a small Node server to factory_contracts that exposes:
    - POST /compile → runs npx hardhat compile
    - POST /deploy → deploys specified contract; returns addresses
    - GET /abi/:name → returns compiled ABI
- Mount volumes:
    - ./contracts:/srv/contracts:ro
    - ./artifacts:/srv/artifacts:rw (or a shared volume)
    - ./public/abi:/srv/public/abi:rw (optional direct publish)
- Env vars in contracts service:
    - ETH_RPC_URL, MINTER_PRIVATE_KEY, NETWORK (e.g., sepolia)
- Update Next app to:
    - Read ABIs from public/abi (already supported), or
    - Call the contracts service for compile/deploy endpoints.
- Expose a port (e.g., 8088) and add a healthcheck.