sentioxyz / typemove

Generate TypeScript bindings for Move contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeChain

TypeMove

Generate TypeScript bindings for Move smart contracts. (currently support Aptos & SUI). Developed by Sentio.

CircleCI npm version

Features

  • Code generation for move smart contract based on ABI
  • Friendly typing using bigint instead of string for objects
  • Flawless works with any IDE
  • Typesafe encode/decoding, object filtering, etc
  • Simple View function calling, transaction building
  • Automatically manage depended modules
  • Easy to extend for your own code generator
Aptos SUI
Type Generate Done Done
Decoding/Encoding Done Done
View Function Done Done
Transaction Building Done Done
Resource/Object Utils Done Done

Get Started

Development

pnpm install
pnpm build:all

Check submodules's package.json for other commands

About

Generate TypeScript bindings for Move contracts

License:Apache License 2.0


Languages

Language:TypeScript 99.1%Language:JavaScript 0.8%Language:Shell 0.0%