For anyone curious, here's the code. It uses the new "Node SEA" method for single executible binaries but with some hacks to get native modules bundled statically and getting it to work with #hypercore This will be the foundation of the new version of HyperGodot.
https://github.com/RangerMauve/hyper-sdk-rpc/blob/initial/build.js