Skip to content

Latest commit

 

History

History
69 lines (59 loc) · 1.31 KB

File metadata and controls

69 lines (59 loc) · 1.31 KB

Solana Init

Get off the ground fast with auto-generated Solana workspaces.

Standard

python -m solana_init my-project
--- my-project
      |--- scripts
      |     |--- cicd.sh
      |--- src
      |     |--- clients
      |     |     |--- main.ts
      |     |--- programs
      |--- .gitignore
      |--- README.md
      |--- package.json

With Docker

python -m solana_init my-project --docker
--- my-project
      |--- scripts
      |     |--- cicd.sh
      |--- src
      |     |--- clients
      |     |     |--- main.ts
      |     |--- programs
      |--- .gitignore
      |--- README.md
      |--- Dockerfile
      |--- package.json

Including Rust Programs

python -m solana_init my-project --program prog1 --program prog2 
--- my-project
      |--- scripts
      |     |--- cicd.sh
      |--- src
      |     |--- clients
      |     |     |--- main.ts
      |     |--- programs
      |     |     |--- prog1
      |     |     |     |--- src
      |     |     |     |     |--- lib.rs
      |     |     |     |--- Cargo.toml
      |     |     |--- prog2
      |     |     |     |--- src
      |     |     |     |     |--- lib.rs
      |     |     |     |--- Cargo.toml
      |--- .gitignore
      |--- README.md
      |--- package.json