Sui Codegen

Gradle PluginNative CLIKotlin Generator

Generate type-safe Kotlin code and PTB DSL wrappers from Sui Move package summaries with Sui Codegen.

It produces one Kotlin object per Move module containing typed descriptors, constants, and PtbDsl extensions for Move calls.

Key Features

  • Get typed Types and Functions objects per module.
  • Use idiomatic PtbDsl builders for Move calls.
  • Prune unused code and control private function visibility.
  • It integrates cleanly with ksui-core and bcs.
  • Run it via Gradle plugin (recommended) or standalone native CLI.