Hello everyone, I just wanted to introduce a new TypeScript/JavaScript library, Cometa.js. It’s the first binding for libcardano-c, and it’s feature-complete up to the latest Conway era. It’s extremely fast and tiny; the library is self-contained, no dependencies, the libcardano-c library is compiled, compressed, and inlined into a single JavaScript file that can be served in about ~350kb (including the JS glue code).
This single file works in all JavaScript environments and with all bundlers. It comes with three module variants: CommonJS, ESM, and a browser-ready IIFE build for direct CDN use. The library provides a fully documented high-level API with TypeScript support. You can use it in the browser out of the box:
<script src="https://unpkg.com/@biglup/cometa@1.1.102/dist/iife/index.global.js"></script>
and you’re ready to go.
If you are interested you can check it at https://github.com/Biglup/cometa.js
This is a small pure js/no-build dApp I created with it https://github.com/Biglup/multi-deleg-drep-delegation-tool as a POC