Deploy and manage worker nodes to provide computing power on Phala Network.
Components | RAM Space | Harddisk Space | Remark |
---|---|---|---|
Node | 4GB+ | 900GB+ NVME | harddisk requirement increasing, 2t will be best |
pherry | 2GB | 0 | - |
pRuntime | 2GB | 500MB | increase slowly |
Totally | 8GB+ | 2TB | - |
The number of cores of the worker needs to be 4 or more, the stronger the CPU computing power of the worker, the better the rewards in reward calculation. For details, please refer to: Gemini Tokenomics
The desktop version of the OS is less stable than Server version, so we strongly recommend using the server version.And please make sure that the kernel version is linux-image-5.15.0-82-generic or above, the intel-microcode should be 20230808 or above.
If you do not want to update the current Ubuntu system version, please be sure to check the kernel version. Because pRuntime will use the SGX driver built into the kernel.After the OS is installed, we strongly recommend that you remotely connect and deploy the worker through SSH or other methods. This will help you with document input and maintenance.
a
and you will start editing the document. Paste the following content into the document. (Please note that the file content remains consistent and the indentation alignment of each line is consistent with this document)
{gas fee memory seed}
in --mnemonic={gas fee memory seed}
with the mnemonic seed of the gas fee account. For example:
--mnemonic=a b c d e … h
{node ip}
with your own node’s IP in both --substrate-ws-endpoint=ws://{node ip}:9945
and --collator-ws-endpoint=ws://{node ip}:9944
; Replace {pruntime ip}
in --pruntime-endpoint=http://{pruntime ip}:8000
with the IP of your own pruntime worker; If you are running these components on the same device, the easiest way is to replace them all with 127.0.0.1. For example:
--substrate-ws-endpoint=ws://127.0.0.1:9945
--collator-ws-endpoint=ws://127.0.0.1:9944
--pruntime-endpoint=http://127.0.0.1:8000
{owner address}
in --operator={owner address}
with the Phala network address of the mining pool’s main account. For example:
--operator=446u…WewDEZyv
--cores={core_num}
to the number of cores of your machine, such as --cores=4
.If you have changed the component name through customizing docker-compose.yml, please replace “node” to your customized name in the command.A typical node log in sync will look like this:
If you have changed the component name through customizing docker-compose.yml, please replace “phala-pherry” to your customized name in the command.A typical pherry log will look like this:
If you have changed the component name through customizing docker-compose.yml, please replace “phala-pruntime” to your customized name in the command.A typical pRuntime log in sync will look like this: