@tuwaio/create-cosmos-playground
v0.1.0
Published
L8 CLI of the TUWA SDK: scaffolds a Next.js or Vite starter app with the TUWA stack for EVM, Solana or both, with or without Quasar sync.
Maintainers
Readme
@tuwaio/create-cosmos-playground
The CLI that creates a TUWA app from a Cosmos Playground template.
🚀 Usage
npx @tuwaio/create-cosmos-playgroundThe CLI:
- asks for a template and a project name;
- downloads the template from the
mainbranch ofcosmos-playground/exampleswithdegit(no Git history); - installs the dependencies with pnpm, or with bun, yarn or npm when pnpm is not installed. With pnpm, it allows the build scripts of the wallet SDKs (
pnpm-workspace.yaml) so the install does not stop on them.
✨ Creating a new Cosmos Playground project...
✔ Which template would you like to use? › nextjs-tuwa
✔ What is the name of your new project? (e.g., my-new-app) … my-app
⬇️ Downloading template "nextjs-tuwa" from GitHub...
🎉 Your new project "my-app" has been created!
📦 Installing dependencies with pnpm...
✅ Done! Next steps:
cd ./my-app
cp .env.example .env # then fill in the values you need (see README.md)
pnpm devThe templates and what they show are listed in the Starter Templates guide and the repository README.
🤝 Contributing & Support
Contributions are welcome! Please read our main Contribution Guidelines.
