Introduction

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

  1. Generate Types & APIs for your contracts

  2. Deploy contracts using ContractDeployer interface

  3. Interact with contracts using Contract interface (queries, submit transactions, ...)

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

Following this instruction to connect to the network via LegacyClient.

Last updated