# Unreal SDK

### Integration and Initialization

### 1.  Get the code

```bash
git clone https://github.com/Sending-Network/sendingnetwork-unreal-sdk.git
```

### **2. Build with CMake**

```shell
mkdir -pv build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/prefix
make install
```

Dependencies:

[lager](https://github.com/arximboldi/lager),[immer](https://github.com/arximboldi/immer),[zug](https://github.com/arximboldi/zug),[boost](https://boost.org),[nlohmann\_json](https://github.com/nlohmann/json),[olm](https://gitlab.matrix.org/matrix-org/olm),[libcrypto++](https://cryptopp.com/), [cpr](https://github.com/whoshuu/cpr), [Catch2](https://github.com/catchorg/Catch2), [libhttpserver](https://github.com/etr/libhttpserver)

### **3. Compiling in a Docker environment**

* **Start**

```ruby
docker pull reg.lily.kazv.moe/kazv/libkazv-deps/deps:servant
```

* **Build**

```ruby
docker build -t libkazv:v0.1 .
```

### 4. Run an example

```shell
cd /build/libkazv
./basexample ../../auth.txt
```
