topology-foundation / ts-topology

The official TypeScript implementation of Topology Protocol
https://topology-foundation.github.io/ts-topology/
MIT License
28 stars 19 forks source link

CRO build flow from ts/js to wasm #122

Open d-roak opened 3 months ago

d-roak commented 3 months ago

@guiltygyoza edit: We want to have WASM as the runtime for CROs in ts-topology, while allowing devs to create CROs in Typescript and Javascript. JCO and esbuild show a lot of promise. We need a no-pain build flow so that CRO devs don't need to understand anything about JCO and esbuild.

~~Currently we have some bottlenecks on compiling wasm in the browser because of the necessity on having the src file for the asc compiler, but everything is deployed as a bundle. We need to design and implement some workflow to support browser compilation for network deploy~~

d-roak commented 6 days ago

Side note aside from ASC, JCO&Wit something new just spawn in the space: https://github.com/extism" and the plugin api https://github.com/extism/js-sdk?tab=readme-ov-file#creating-a-plug-in (to link != wasm together)

@sfroment at discord