# How to Run Strfry Relay

## Prerequisites

## needs latest libsecp256k1-dev, may not work on ubuntu 20.04

sudo apt install -y git build-essential libyaml-perl libtemplate-perl libssl-dev zlib1g-dev liblmdb-dev libflatbuffers-dev libsecp256k1-dev libb2-dev

## Download

git clone https://github.com/hoytech/strfry.git && cd strfry

git submodule update --init

## Compile

make setup-golpe

make STD=--std=c++2a -j4

## Run

./strfry relay

Reply to this note

Please Login to reply.

Discussion

Looks awesome. Super glad you used KV store which IMO is the correct approach to storing and indexing nostr events , rather than in a relational schema and querying with SQL. I’m gonna spin this up locally and do a database sync, which is the other killer future.