topology-foundation / ts-topology

The official TypeScript implementation of Topology Protocol
MIT License
4 stars 1 forks source link

Compile conflict-free objects to wasm #6

Open d-roak opened 1 month ago

d-roak commented 1 month ago

Compile every object that extends Topology Object to wasm and embed it in an ABI file.

Topology Object: https://github.com/topology-foundation/ts-topology/blob/6101aea5af7e70ea0df586146a767592b5befa8a/packages/object/src/index.ts#L3

ABI Format: https://github.com/topology-foundation/ts-topology/blob/6101aea5af7e70ea0df586146a767592b5befa8a/examples/canvas/src/objects/abi/canvas.json#L1-L11

References