Skip to content

teohaik/move-typescript-sdk-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sui Move typescript examples

Examples presenting capabilities of the sui move typescript sdk

Preparing development environment

First of all, make sure you have node JS installed. Run npm --version to check this. If you haven't install node yet, got to Node JS Official Website and follow installation instructions depending on your operating system.

Create a local development folder, navigate to it through terminal, and run npm install @mysten/sui.js to download sui sdk and prepare your local development environment.

Execution

Typescript need to be transpiled to javascript to be ready for execution. However we can run it with a single command: ts-node.

To run each file use: ts-node FILENAME.ts for example: ts-node 01_ObjectsByAddress.ts

Sequence test

sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
    John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
Loading

About

Examples of the sui move library for typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published