Skip to main content
Version: 4.x


We'll point to a couple full-stack Dapp examples here. These can serve as inspiration for how to create a frontend for your smart contract.

Three popular libraries for building frontends are:

  • useink an ergonomic React hooks library for interacting with Wasm contracts and Substrate.
  • polkadot-js/api a low-level TypeScript API.
  • useInkathon a React hooks library.


INK!athon is a full-stack dApp boilerplate project consisting of an ink! smart contract and a React frontend using the useInkathon hooks library.

link! is a URL shortener DApp. It consists of a frontend and an ink! contract.

link! uses polkadot-js/api under the hood. The entire source code (contract + frontend) is located here:

You can view an online demo of the Dapp here:

To create new short links you need ROC tokens from our testnet. See here for how to get those.