A CLI tool to scaffold new applications with InterwovenKit and Initia Wallet integration
npx create-interwoven-app
The interactive mode will guide you through:
- Project name selection
- Network type choice (mainnet/testnet/custom)
- Chain selection with searchable autocomplete
- Custom chain configuration (if needed)
npx create-interwoven-app my-interwoven-app
# With npm
npm install -g create-interwoven-app
create-interwoven-app my-interwoven-app
# With yarn
yarn create interwoven-app my-interwoven-app
The generated application includes:
- ⚡ Next.js 14 with App Router
- 🔗 InterwovenKit Integration for wallet connectivity
- 🎨 Tailwind CSS for styling
- 📱 Responsive Design similar to modern dApp interfaces
- 🔒 TypeScript for type safety
my-interwoven-app/
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── providers/
│ └── providers.tsx # InterwovenKit configuration
├── public/
├── package.json
├── tailwind.config.ts
├── tsconfig.json
└── README.md
Get your Interwoven app up and running in four simple steps:
# Create your project (interactive mode)
npx create-interwoven-app
# Navigate to your project
cd my-interwoven-app
# Install dependencies
npm install
# Start development server
npm run dev
Your app will be running at http://localhost:3000.
# Create project directly
npx create-interwoven-app@latest my-app
# Navigate and start
cd my-app
npm install
npm run dev
The interactive mode provides powerful chain selection features:
- Network Filtering: Choose from mainnet, testnet chains
- Searchable Interface: Find chains by name or chain ID using autocomplete
- Custom Chains: Configure your own chain with custom RPC, REST, gRPC, and indexer endpoints
- Smart Defaults: Automatically suggests popular chains like
initiation-2
(testnet) orinterwoven-1
(mainnet)
When selecting "Custom Chain", you'll be prompted for:
- Chain ID and display name
- RPC, REST, gRPC, and indexer URLs
- Fee denomination and gas price
- Bech32 address prefix
- Network type (mainnet/testnet)
Edit providers/providers.tsx
to:
- Switch between testnet and mainnet
- Add custom chain configurations
- Customize wallet connection options
Modify the design by editing:
tailwind.config.ts
- Theme and color customizationapp/globals.css
- Global styles- Component files - Individual component styling
Update app/page.tsx
to:
- Change the main content
- Add new components
- Modify the wallet integration