11 unstable releases (3 breaking)

0.4.0 Jul 23, 2022
0.3.2 Jul 16, 2022
0.2.2 Jul 16, 2022
0.1.3 Jul 5, 2022

#14 in #diem

33 downloads per month
Used in move-tsgen

Apache-2.0

33KB
938 lines

Move TS

Code generator for Move packages.

Documentation is currently extremely sparse but will be improved in the near future.

Setup

Install the CLI using Cargo:

cargo install move-tsgen

# On Sui
cargo install move-tsgen --features address20

# On Aptos
cargo install move-tsgen --features address32

Usage

In a directory containing a Move.toml, run:

move-tsgen

This will generate a set of TypeScript files in your build/ts/ directory.

License

Move TS is licensed under the Apache License, Version 2.0.


lib.rs:

Generates TypeScript code from a Move IDL.

Dependencies

~20–35MB
~570K SLoC