---
# System prepended metadata

title: Ognyan CDAP Development Update 3

---

# Ognyan CDAP Development Update 3

Since the last update, I'm mainly working on `trin` [repo](https://github.com/carver/trin) (portal network client) and chain history portal network implementation.

### What was accomplished?

- [PR](https://github.com/carver/trin/pull/60) for extracting separate `trin-core` package for the common code and setting the main trin package as root. This will benefit chain history implementation, because now we can reuse any of the current core implementations as a library. For more details, check out this [issue](https://github.com/carver/trin/issues/58).
- [PR](https://github.com/carver/trin/pull/61) for bootstrapping and running the base layer of massages for chain-history network.
- [PR](https://github.com/carver/trin/pull/63) for fixing a bug which prevented `trin` to ping the bootnode.

We are now able to run `trin` with both, chain history and state network. Of course, the only difference for now between both implementations is that they just run on different ports. This is because, we have only the base layer implemented which overlaps for both networks. In the future, we expect they to diverge more.

The `trin-core` package will be used as a library and will be shared between the different network implementations.

### Next goals

- Implementing `OFFER`, `ACCEPT` and `STORE` messages for both `trin-history` and `trin-state` networks.

- Right now, testing peer-to-peer communication is almost non-existent, because of the difficulty of orchestrating the tests. It would be great if we have a testing framework that makes it easy to test p2p network calls.


