diff --git a/.gitmodules b/.gitmodules
index c0066fb398a742a16c582dabb8f99a25e9b3b062..9a3a8bd1b65880f8bcaf826dface6e3caaed7fef 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -12,3 +12,7 @@
 [submodule "prod_build"]
 	path = prod_build
 	url = ../prod_build_dapcash-node
+[submodule "3rdparty/libmdbx"]
+	path = 3rdparty/libmdbx
+	url = https://github.com/erthink/libmdbx
+	branch = master
diff --git a/3rdparty/libmdbx b/3rdparty/libmdbx
new file mode 160000
index 0000000000000000000000000000000000000000..b98895b8c700f741f24468d061ab24e1fa6963bb
--- /dev/null
+++ b/3rdparty/libmdbx
@@ -0,0 +1 @@
+Subproject commit b98895b8c700f741f24468d061ab24e1fa6963bb
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da829a1b63925ed4bacec69acab063246c4beb62..f7de549ff724e2e481fb9e52da362519b4da51c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
 SET( CPACK_PACKAGE_NAME  "${PROJECT_NAME}")
 SET( CPACK_PACKAGE_VERSION_MAJOR 4)
 SET( CPACK_PACKAGE_VERSION_MINOR 3)
-SET( CPACK_PACKAGE_VERSION_PATCH 8)
+SET( CPACK_PACKAGE_VERSION_PATCH 9)
 
 #
 # init CellFrame SDK
@@ -23,6 +23,8 @@ else()
     set(CELLFRAME_MODULES "core chains mining network srv cs-blocks cs-dag-poa cs-block-poa cs-dag-pos cs-none srv-app srv-app-db srv-datum srv-stake srv-xchange modules-dynamic")
 endif()
 
+add_subdirectory(3rdparty/libmdbx)
+
 include (cellframe-sdk/cmake/OS_Detection.cmake)
 add_subdirectory(cellframe-sdk)
 
diff --git a/cellframe-sdk b/cellframe-sdk
index 59363b8f854c805cfd7ead650860257a63b26e4f..f5e16e8e27599b5b44f007a4c60d72739d67241e 160000
--- a/cellframe-sdk
+++ b/cellframe-sdk
@@ -1 +1 @@
-Subproject commit 59363b8f854c805cfd7ead650860257a63b26e4f
+Subproject commit f5e16e8e27599b5b44f007a4c60d72739d67241e