From d1940944943cd79ce1f2b2080456dd28bec5c36f Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 19 Sep 2024 10:59:07 +0200 Subject: feat: deno ffi bindings (#40) * initial ts commit * monero.ts improvements * test on latest, build on debian:bookworm * feat: upstream changes to bindings * chore: update checksums * feat: allow manually loading dylib * chore: add readme * fix: free strings after being read to prevent potential memory leaks * fix: load dylib * fix: checksum checks segfaulting because of freeing const variables --------- Co-authored-by: Mateusz Franik <47059999+Im-Beast@users.noreply.github.com> Co-authored-by: Im-Beast --- impls/monero.ts/checksum_monero.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 impls/monero.ts/checksum_monero.ts (limited to 'impls/monero.ts/checksum_monero.ts') diff --git a/impls/monero.ts/checksum_monero.ts b/impls/monero.ts/checksum_monero.ts new file mode 100644 index 0000000..88406a0 --- /dev/null +++ b/impls/monero.ts/checksum_monero.ts @@ -0,0 +1,5 @@ +export const moneroChecksum = { + wallet2_api_c_h_sha256: "e8db0ef0324a153f5e3ecca4c0db23c54f4576e84988f04bd4f11c1142f9d7ad", + wallet2_api_c_cpp_sha256: "dca52ac9ee009fda9fb5726543a454885e61d8eb74fb33112288029ed625bec5-b089f9ee69924882c5d14dd1a6991deb05d9d1cd", + wallet2_api_c_exp_sha256: "c8913ac41068f67b57c9b0a3c7dd8973e3c1273b66c2ff0aadb0003931da748c", +} -- cgit v1.2.3