# ink! Development

### Introduction

ink! is a Rust-based eDSL (embedded Domain-Specific Language) developed by Parity Technologies for writing smart contracts on Substrate's `pallet-contracts`.

> 💡 **Why ink!?**\
> ink! is currently the most widely supported eDSL for Substrate-based smart contracts, with strong backing from both Parity and the builder community.

### Key Features

ink! provides developers with powerful tools and features:

#### Core Capabilities

* Write smart contracts using idiomatic Rust code
* Leverage ink! macros and attributes via `#[ink::contract]`
* Utilize trait definitions and implementations
* Create upgradeable contracts through delegate calls
* Interact with Substrate pallets using Chain Extensions
* Perform off-chain testing with `#[ink(test)]`

#### Development Tools

* Procedural macros for simplified development
* Comprehensive crate ecosystem
* Reduced boilerplate code requirements

> ⚙️ **Getting Started**\
> For installation instructions, visit the ink! Environment section.

### Development Resources

#### Official Documentation

* [GitHub Repository](https://github.com/paritytech/ink)
* [Introduction Guide](https://paritytech.github.io/ink/)
* [Official Documentation](https://use.ink/)
* [Rust Documentation](https://docs.rs/ink/4.0.0-rc/ink/index.html)

#### Key Topics

* [Contract Macros & Attributes](https://use.ink/macros-attributes/contract)
* [Trait Support](https://use.ink/3.x/basics/trait-definitions)
* [Upgradeable Contracts](https://use.ink/3.x/basics/upgradeable-contracts)
* [Chain Extensions](https://use.ink/macros-attributes/chain-extension/)


---

# 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.uomi.ai/build/wasm-smart-contracts/ink-development.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.
