Skip to content

the3cloud/sui-dapp-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sui dApp starter

The mono repository is managed via pnpm, including contracts, backend and frontend.

Project structure

├── project_root/
    ├── docs            # design documents
    ├── packages
    │   ├── move
	│	│   ├── pkg1    # standard move package
	│   │   ├── pkg2    # standard move package
    │   │   ├── scripts # move package operation scripts
    │   │   ├── package.json 
    │   ├── frondend
    │	│   ├── ...
    │   └── backend
    │	│   ├── ...
    ├── ...
	└── package.json

Common Commands

  1. Install prerequisite and dependencies
  1. Create move package
> cd packages/move
> lsui move new <my_first_package>
  1. Build and test move package
> cd package/move/greeting
> lsui move build
> lsui move test
  1. Start localnet for development and tests
  • Start suibase localnet: localnet start
  • Start local sui explorer: pnpm localnet:start
  1. Deploy package on localnet|devnet|testnet|mainnet
> pnpm --filter move localnet:deploy:greeting

About

sui dApp starter used by the3cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published