# Welcome to Typink

Typink is a fully type-safe React hooks library for seamless ink! and Solidity smart contract interactions. Powered by [Dedot](https://dedot.dev), it supports both WASM (pallet-contracts) and PolkaVM (pallet-revive) on Polkadot, delivering robust, efficient, and developer-friendly dapps development.

### Why Typink?

* **Unified Type-Safe Hooks** - Same React hooks work seamlessly across ink! v5, ink! v6, and Solidity contracts.
* **Instant Project Scaffolding** - Launch new projects in seconds with `create-typink` CLI and pre-configured Next.js templates
* **Flexible Wallet Connector Integration** - Supports external wallet connectors like [SubConnect](https://github.com/Koniverse/SubConnect-v2) and [Talisman Connect](https://github.com/TalismanSociety/talisman-connect) or built your own using Typink's hooks & API.
* **Multi-Network Support** - Connect to multiple networks simultaneously with lazy initialization and seamless network switching

## Getting Started

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Start new project</strong></td><td>How to start a new dapp project</td><td><a href="getting-started/start-a-new-dapp">start-a-new-dapp</a></td></tr><tr><td><strong>Migration</strong></td><td>Migrate existing dapp to use Typink</td><td><a href="getting-started/migrate-from-existing-dapp">migrate-from-existing-dapp</a></td></tr><tr><td><strong>Hooks &#x26; Providers</strong></td><td>Hooks &#x26; Providers references</td><td><a href="hooks-and-providers">hooks-and-providers</a></td></tr><tr><td><strong>Utilities</strong></td><td>formatBalance, txToaster ...</td><td><a href="utilities">utilities</a></td></tr><tr><td><strong><code>create-typink</code> CLI</strong></td><td>More details on the CLI</td><td><a href="create-typink-cli">create-typink-cli</a></td></tr><tr><td><strong>Tutorials</strong></td><td>Building with Typink &#x26; Dedot</td><td><a href="help-and-faq/tutorials">tutorials</a></td></tr></tbody></table>

## Join the Community

* [GitHub Repository](https://github.com/dedotdev/typink)
* [Official Documentation](https://docs.dedot.dev/typink)
* [Telegram Community](https://t.me/JoinDedot)

### Ready to build?

Start your journey with Typink today and build the next-generation Polkadot applications with confidence!

## Acknowledgment

Funded by [Web3 Foundation Grants Program](https://grants.web3.foundation/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dedot.dev/typink/welcome-to-typink.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
