
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
create-dynamic-app
Advanced tools
CLI tool to generate sample applications using Dynamic's web3 authentication

A powerful CLI tool to generate starter applications with Dynamic's web3 authentication. Quickly bootstrap projects using your preferred frameworks, libraries, and blockchain networks.
You can use Create Dynamic App directly with npx:
npx create-dynamic-app my-project-name
Or install it globally:
npm install -g create-dynamic-app
create-dynamic-app my-project-name
# Create a new project with interactive prompts
npx create-dynamic-app my-web3-app
# Create a project with a specific package manager
npx create-dynamic-app my-web3-app --pm yarn
# Create a Next.js project with Ethereum and Solana support
npx create-dynamic-app my-web3-app --framework nextjs --chains ethereum,solana
# Create a React project with complete configuration
npx create-dynamic-app my-web3-app --framework react --chains ethereum,solana --library viem --wagmi true --pm pnpm
Create Dynamic App supports the following command-line options:
| Option | Alias | Description | Values |
|---|---|---|---|
--help | -h | Show help information | |
--framework | -f | Specify the framework | nextjs, react, react-native |
--pm, --package-manager | Specify the package manager | npm, yarn, pnpm, bun | |
--library | -l | Specify the Ethereum library | viem, ethers |
--wagmi | Use Wagmi with Viem | true, false | |
--chains | -c | Comma-separated list of chains | ethereum, solana, flow, starknet, algorand, cosmos, bitcoin, sui |
If you don't specify options via command line, you'll be prompted to choose interactively.
The CLI supports the following blockchain networks:
| Chain | Package | Features |
|---|---|---|
| Ethereum | @dynamic-labs/ethereum | Full wallet connection, signing, transactions |
| Solana | @dynamic-labs/solana | Wallet connection, signing, program interactions |
| Flow | @dynamic-labs/flow | Wallet integration and authentication |
| Starknet | @dynamic-labs/starknet | Layer 2 integration and account management |
| Algorand | @dynamic-labs/algorand | Wallet connection and transaction signing |
| Cosmos | @dynamic-labs/cosmos | Multi-chain Cosmos ecosystem support |
| Bitcoin | @dynamic-labs/bitcoin | Basic Bitcoin wallet connectivity |
| Sui | @dynamic-labs/sui | Wallet connection and utility methods |
When including Ethereum support, you can choose:
You can choose your preferred package manager for installing dependencies:
# Interactive creation
npx create-dynamic-app my-next-app
# Create with specific options
npx create-dynamic-app my-next-app --framework nextjs --chains ethereum,solana --library viem --wagmi true --pm yarn
# Interactive creation
npx create-dynamic-app my-react-app
# Create with specific options
npx create-dynamic-app my-react-app --framework react --chains ethereum,solana,algorand --library ethers --pm pnpm
# Generate all variations for testing
npm run generate:all
# Create with specific chains for testing
npx create-dynamic-app test-app --chains ethereum,solana,starknet
The generated projects follow best practices for their respective frameworks:
my-next-app/
├── app/ # Next.js app directory
│ ├── page.tsx # Main application page
│ └── layout.tsx # Root layout
├── components/ # React components
├── lib/ # Utility functions
│ ├── dynamic.ts # Dynamic SDK exports
│ ├── providers.tsx # Context providers
│ └── wagmi.ts # Wagmi configuration (if selected)
├── public/ # Static assets
└── package.json # Dependencies and scripts
my-react-app/
├── public/ # Static assets
├── src/ # Source code
│ ├── App.js # Main application component
│ ├── Main.js # Content component
│ ├── Methods.js # Chain-specific utility methods
│ └── index.js # Application entry point
└── package.json # Dependencies and scripts
Issue: Error installing dependencies with npm
Solution: Try using --legacy-peer-deps flag or specify a different package manager:
# Using the CLI
npx create-dynamic-app my-app --pm yarn
# Or manually
cd my-dynamic-project
npm install --legacy-peer-deps
Issue: Conflicts with Solana dependencies Solution: The generator adds necessary overrides. If you have issues, manually set:
"overrides": {
"rpc-websockets": "7.10.0",
"@solana/web3.js": "1.91.6"
}
Issue: Environment ID is missing Solution: Replace the placeholder in providers.tsx/App.js:
environmentId: "YOUR_ENVIRONMENT_ID", // Get from Dynamic dashboard
ISC License - see the LICENSE file for details.
FAQs
CLI tool to generate sample applications using Dynamic's web3 authentication
We found that create-dynamic-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.