Run Refiner with Docker Compose
Install docker
instructions will be based on Ubuntu 22.04 LTS x86_64 / amd64.
install direnv
Run Refiner
Clone Refiner Repo
Create
envrc.local
file and add the following env vars. Note: When passing the private key into the env vars as above please remove the0x
prefix so the private key env var has exactly 64 characters. Note: You can get the value forW3_AGENT_KEY
by asking on discord. It has to be issued to you from Covalent.
description of each value
BLOCK_RESULT_OPERATOR_PRIVATE_KEY
: Your personal Block Result Producer (BRP) operator private keyW3_AGENT_KEY: You can get the value for
W3_AGENT_KEY
by asking on discord. It has to be issued to you from CovalentIPFS_PINNER_URL
: Service (ipfs-pinner
) used by rudder to access IPFS assets like Block Specimens (service is automatically invoked and run with the in repo docker compose files eg:docker-compose-mbeam.yml
)EVM_SERVER_URL
: Service (evm-server
) used by rudder for stateless execution of Block Specimens into indexable (queryable) Block Result
Load the env vars
Copy over the delegation proof file to ~/.ipfs repo. You should have gotten this from Covalent in addition to the
W3_AGENT_KEY
value.Start all 3 services in the background for Moonbeam
NOTE: On a system where an ipfs-pinner
instance is already running, check the instruction in the Appendix to run refiner
docker alongside.
Running this will pull all the images and services that are ready to run.
This will lead to the corresponding logs:
useful command
Last updated