Pick your framework, chains and features. Get the install command, every setup file and the closest starter template. Each of the 45 stacks is type-checked against the published packages.
Fastest start: a starter template
Run the command and pick nextjs-tuwa. EVM and Solana with Nova Connect and Nova Transactions. Compare templates
npx @tuwaio/create-cosmos-playgroundOr add TUWA to a new or existing Next.js (App Router) app:
Create the app
npx create-next-app@latest my-app --ts --app --src-dir --tailwindInstall
pnpm add @tuwaio/sdk @tuwaio/evm-sdk @wagmi/core viemRequired peer dependencies included; the SDK brings the TUWA projects.
Add the files (8)
import { createDefaultTransports } from '@tuwaio/evm-sdk/satellite';
import { createConfig, injected } from '@wagmi/core';
import { mainnet, sepolia } from 'viem/chains';
export const appChains = [sepolia, mainnet] as const;
// Created once, outside components. createDefaultTransports uses the public RPC URLs of the viem chains.
// With ssr: true the state is restored in the browser by EVMConnectorsWatcher.
export const wagmiConfig = createConfig({
chains: appChains,
connectors: [injected()],
transports: createDefaultTransports(appChains),
ssr: true,
});
Read next