Welcome to Dedot
Dedot is the next-generation JavaScript client for Polkadot and Substrate-based blockchains.
Designed to elevate the dapp development experience, Dedot is built & optimized to be lightweight and tree-shakable, offering precise Types & APIs suggestions for individual Substrate-based blockchains and ink! Smart Contracts. Dedot also helps dapps efficiently connect to multiple chains simultaneously as we head toward a seamless multi-chain future.
Features
Small bundle size, tree-shakable (no more
bn.js
or wasm blob)Fully-typed APIs for on-chain interactions & ink! smart contract
Support light clients (e.g: smoldot)
Using native TypeScript type system for scale-codec
Compatible with
@polkadot/extension
-based wallets (SubWallet, Talisman...)Fully-typed low-level JSON-RPC client for advanced usage
Similar API-style with
@polkadot/api
, easy and fast migrationSupport Metadata V14, V15 (latest)
Metadata optimization (caching, compact mode 🔜)
... and a lot more 🔜
How to get started
Installation
Install dedot
packages & setup your projects
Connecting to network
Connect & interact with networks
Clients & Providers
Learn more about Clients & Providers API
ink! Smart Contracts
Deploy & tnteract with ink! smart contracts
Runtime upgrades
Prepare your dapps for the next runtime upgrades
Utilities
Utility functions to work with hex, hash, Uint8Array...
Join the community
Join Dedot Telegram to get supports and project updates
Follow the creator of Dedot - @realsinzii on X
Github repository: dedotdev/dedot
Acknowledgment
Dedot takes a lot of inspirations from project @polkadot/api
. A big thank to all the maintainers/contributors of this awesome library.
Funded by Web3 Foundation Grants Program.
Last updated