githubEdit

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

circle-info

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.

circle-exclamation

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 APIarrow-up-right (only for ink! contracts using ink! ABI)

circle-exclamation
circle-info

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

Last updated