docs ⦿ dedot 🧑‍💻
TypinkXTelegramGithub
dedot 🧑‍💻
dedot 🧑‍💻
  • Welcome to Dedot
  • Why Dedot?
  • Getting started
    • Installation
    • Connect to network
    • @polkadot/api -> dedot
    • Packages structure
  • Clients & Providers
    • Providers
    • Clients
  • Client API
    • ChainApi
    • Constants
    • Runtime APIs
    • Storage Queries
    • Transactions
    • Events
    • Errors
  • ink! Smart Contracts
    • Introduction
    • Generate Types & APIs
    • Deploy contracts
    • Queries
    • Transactions
    • Events
    • Handle errors
  • CLI
  • Keyring & Signer
  • Runtime upgrades
  • Type system
  • Utilities
    • HexString
    • Uint8Array (U8a)
    • String
    • Hash functions
    • Address
    • BigInt & number
    • Balances
    • Merkleized Metadata
  • Help & FAQ
    • Tutorials
      • Develop ink! dApp using Typink
    • Built with Dedot
    • Forum Posts
    • Telegram
    • Github
    • API Reference
Powered by GitBook
On this page
  • Supported ink! versions
  • Getting started

Was this helpful?

Edit on GitHub
  1. ink! Smart Contracts

Introduction

Previousink! Smart ContractsNextGenerate Types & APIs

Last updated 8 months ago

Was this helpful?

Dedot offers type-safe APIs to interact with ink! smart contracts. Primitives to work with contracts are exposed in dedot/contract package.

Supported ink! versions

Current Dedot only supports ink! versions v4 & v5. We do not have plans to support older versions, but let us know your thoughts if we should reconsider this.

Getting started

for your contracts

using ContractDeployer interface

Interact with contracts using Contract interface (, , ...)

Working with

If you're connecting to a local for development, you might want to connect to the network using LegacyClient since the latest version of substrate-contracts-node () does not working fine/comply with the latest updates for for DedotClient to work properly.

Following to connect to the network via LegacyClient.

Generate Types & APIs
Deploy contracts
queries
submit transactions
fully-typed contract events
substrate-contracts-node
v0.41.0
new JSON-RPC specs
this instruction
Interact with a PSP22 contracts using Dedot's type-safe APIs