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

#19 in #diem

Download history 2/week @ 2024-02-19 9/week @ 2024-02-26 1/week @ 2024-03-11 70/week @ 2024-04-01

71 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

~18–35MB
~582K SLoC