docs ⦿ dedot 🧑‍💻
DedotXTelegramGithub
typink ✏️
typink ✏️
  • Welcome to Typink
  • Introducing Typink
  • Getting started
    • Start a new dapp
    • Migrate from existing dapp
    • Supported networks
  • create-typink CLI
  • Hooks & Providers
    • TypinkProvider
    • useTypink
    • useContract
    • useContractQuery
    • useContractTx
    • useDeployer & useDeployerTx
    • useWatchContractEvent
    • useBalance & useBalances
    • usePSP22Balance
  • Utilities
    • formatBalance
    • txToaster
    • dedot/utils
  • HELP & FAQ
    • Tutorials
      • Develop ink! dApp using Typink
  • Telegram
  • Github
Powered by GitBook
On this page
  • Usage
  • Command Syntax
  • Options
  • Notes

Was this helpful?

Edit on GitHub

create-typink CLI

PreviousSupported networksNextHooks & Providers

Last updated 3 months ago

Was this helpful?

The create-typink CLI tool is designed to help developers quickly scaffold a new ink! dApp project using Typink & Dedot. It allows for various customizations, including selecting a template, example contract, wallet connector, and network ...

Usage

npx create-typink@latest

Command Syntax

npx create-typink<@version> [options]

Options

Option

Alias

Description

--name <project-name>

-n

Specify the project name.

--template <template-name>

-t

Choose a template (default: base).

--example <example-contract>

-e

Choose an example contract (psp22, greeter).

--wallet <wallet-connector>

-w

Choose a wallet connector (Default, Subconnect, Talisman Connect).

--network <network-name>

-N

Choose a network (Pop Testnet, Aleph Zero Testnet, Aleph Zero Mainnet, Astar, Shiden, Shibuya).

--skip

--skip-install

Skip package installation.

--no-git

Skip git initialization.

--version

-v

Show Typink version.

--help

-h

Show help.

Notes

  • The CLI provides an interactive experience if options are not specified.

  • The --skip-install flag is useful when you want to install dependencies manually.

  • The --no-git flag prevents automatic git initialization.