Introduction

Dedot offers type-safe APIs to interact with ink! & solidity contracts on PolkaVM (pallet-revive) using unified interfaces. Primitives to work with contracts are exposed in dedot/contract package.

Interact with a PSP22 contracts using Dedot's type-safe APIs

Supported versions

Current Dedot only supports ink! versions v4 , v5 and v6 (experimental). 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, ...)

  4. Retrieve contract storage with Storage API (only for ink! contracts using ink! ABI)

To deploy and interact with ink! and solidity contracts on PolkaVM (pallet-revive) in development mode, we recommend using local ink_node, you can download and run the binary directly or launch it easily via POP CLI.

Last updated

Was this helpful?