Viewing Latest Version

v6.x

Getting Started

Basics

Testing & Debugging

Macros & Attributes

Storage & Data Structures

Linter

Frontend Development

ink! Examples

Standards

Funding Programs

Third Party Tools & Libraries

FAQ

Introduction

Version: 6.x

Content Included

Introduction

⚡️ use.ink helps you easily build safe, efficient smart contracts for Polkadot and Substrate-based blockchains.

🚀 Write smart contracts in ink!, a domain-specific language built on top of Rust — combining safety, performance, and scalability.

🛠 Use familiar Rust tooling like clippy, cargo, crates from crates.io, and popular IDEs for a seamless development experience.

🤝 Interoperability with Solidity: Solidity developers can call ink! contracts just like other Solidity contracts, enabling cross-ecosystem collaboration.

🌎 Deploy ink! smart contracts on blockchains built with the Polkadot SDK. Check supported chains here.

Fast Track

Install Rust and cargo: Installation Guide.

Download the binary for a local development node here.

# Install our cli tool.# It wraps around 'cargo build' to build contracts with optimal# flags for blockchains. It also allows for deploying + interacting# with contracts.cargo install cargo-contract# Create a simple contract.cargo contract new flipper && cd flippercargo contract build --release# Instantiate this contract on-chain.cargo contract instantiate --suri //Alice# Dry-run a call of it.cargo contract call --suri //Alice --contract 0x… --message get# Execute a contract call, as a transaction on-chain.cargo contract call --suri //Alice --contract 0x… --message flip -x

# Install our cli tool.# It wraps around 'cargo build' to build contracts with optimal# flags for blockchains. It also allows for deploying + interacting# with contracts.cargo install cargo-contract# Create a simple contract.cargo contract new flipper && cd flippercargo contract build --release# Instantiate this contract on-chain.cargo contract instantiate --suri //Alice# Dry-run a call of it.cargo contract call --suri //Alice --contract 0x… --message get# Execute a contract call, as a transaction on-chain.cargo contract call --suri //Alice --contract 0x… --message flip -x

ink! Examples

Here are just a few examples of what's possible with ink!

Our "Hello, World!"

Our "Hello, World!"

An ERC-20 implementation

An ERC-20 implementation

A multi-signature wallet

A multi-signature wallet

An upgradeable contract

An upgradeable contract

View more examples of ink! smart contracts here.

Use Case 1: Smart Contracts as "first-class citizens"

Use Case 2: Smart Contracts as "second-class citizens"

Use Case 3: Smart Contracts as a first step into Polkadot or Kusama

Get In Touch

© use.ink 2025. All rights reserved.

Get In Touch