Introduction
Last updated
Last updated
Dedot offers type-safe APIs to interact with ink! smart contracts. Primitives to work with contracts are exposed in dedot/contract
package.
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.
Generate Types & APIs for your contracts
Deploy contracts using ContractDeployer
interface
Interact with contracts using Contract
interface (queries, submit transactions, ...)
Working with fully-typed contract events
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
.