How to build contract/predicate using ts or rust sdk?

Hi guys
I’m trying to make CLOB and I want to know if is it possible to build a contract like forc build using some sdk?

No, by design, the SDK doesn’t depend on forc (due to circular dependency issues if I remember correctly).
This means the SDK cannot build contracts, scripts, libraries or predicates, but instead needs prebuilt binaries to work with.

2 Likes

What @furnic said is 100% correct. You can, however, use your preferred language to wrap forc (the binary) so that you can use it programmatically!

2 Likes

ezgif-5-ea2ca854ca

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.