Quick Start
The testnet has a base currency of ETH, as well as a token called HIVE. HIVE is used for payments and collateralization.
Prerequisites
A private key and funds for the testnet
See the instructions in Quick Start to set up MetaMask and use the faucet to receive initial funds
Linux (latest Ubuntu LTS recommended)
Docker
Nvidia GPU
Nvidia drivers
Nvidia docker drivers
Install Bacalhau
Install CoopHive
Write .env file
Create a .env file for your node. /app/coophive/resource-provider-gpu.env
should contain:
Caution: do not use the same key for both client and compute node, even for testing.
Install systemd unit for Bacalhau
Open /etc/systemd/system/bacalhau.service
and paste the following:
Install systemd unit for GPU provider
Open /etc/systemd/system/coophive-resource-provider.service
and paste the following:
Reload systemd
's units/daemons. This needs to be repeated if the systemd
files above are modified.
Start systemd
units:
Use systemctl
to check the status, and debug with journalctl
if needed. For example,
sudo journalctl -uf coophive-resource-provider
will stream the output from your CoopHive node. Records of the resource provider accepting jobs can be found in the logs.
Security
Allowlisting Modules
Set the environment variable OFFER_MODULES
in the GPU provider to a comma separated list of module names of allowed modules.
Last updated