1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

[Tolk] Get rid of ton_crypto dependency, embed address parsing

Instead on 'ton_crypto', Tolk now depends on 'ton_crypto_core'.
The only purpose of ton_crypto (in FunC also, btw) is address parsing:
"EQCRDM9...", "0:52b3..." and so on.
Such parsing has been implemented manually exactly the same way.
This commit is contained in:
tolk-vm 2024-10-31 11:20:54 +04:00
parent d9dba320cc
commit 16824fcfe3
No known key found for this signature in database
GPG key ID: 7905DD7FE0324B12
2 changed files with 76 additions and 9 deletions

View file

@ -26,7 +26,7 @@ set(TOLK_SOURCE
add_executable(tolk tolk-main.cpp ${TOLK_SOURCE})
target_include_directories(tolk PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
target_link_libraries(tolk PUBLIC git ton_crypto) # todo replace with ton_crypto_core in the future
target_link_libraries(tolk PUBLIC git ton_crypto_core)
if (WINGETOPT_FOUND)
target_link_libraries_system(tolk wingetopt)
endif ()