Skip to content
Language
Theme

Interactive · 45 stacks

Configurator

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-playground

Or add TUWA to a new or existing Next.js (App Router) app:

  1. Create the app

    npx create-next-app@latest my-app --ts --app --src-dir --tailwind
  2. Install

    pnpm add @tuwaio/sdk @tuwaio/evm-sdk @wagmi/core viem

    Required peer dependencies included; the SDK brings the TUWA projects.

  3. 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,
    });