ton-community / ton-contract-executor

The TON Contract Executor allows you to write, debug, and fully test your contracts before launching them to the TON blockchain.
72 stars 12 forks source link

Integration of the new ton-compiler #9

Closed AminRezaei0x443 closed 1 year ago

AminRezaei0x443 commented 1 year ago

The new ton-compiler(v2.0.0) module is based on wasm and can work on windows, Linux, and macOS easily. ton-contract-executor was using the 0.9.0 which couldn't run on windows. This PR implements the following:

Note: As the new ton-compiler uses direct file paths, so the workaround was using temporary files and doing cleanup afterward.

krigga commented 1 year ago

fromFuncSource has been deprecated, and users are advised to use @ton-community/func-js or ton-compiler as standalone packages.