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.

Supported versions
Support for ink! v6 and solidity contracts are currently experimental. Please let us know if you run into any issues or have any feedback while trying it out!
Getting started
Generate Types & APIs for your contracts
Deploy contracts using
ContractDeployerinterfaceInteract with contracts using
Contractinterface (queries, submit transactions, ...)Working with fully-typed contract events
Retrieve contract storage with Storage API (only for ink! contracts using ink! ABI)
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
Was this helpful?