Skip to content

dedotdev/docs

Repository files navigation

cover coverY layout
.gitbook/assets/Dedot_Baner_final.png
0
cover title description tableOfContents outline pagination
visible size
true
full
visible
true
visible
visible
true
visible
true
visible
true

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
  • Build on top of both the new & legacy (*deprecated soon) JSON-RPC APIs
  • 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 migration
  • Support Metadata V14, V15 (latest)
  • Metadata optimization (caching, compact mode 🔜)
  • ... and a lot more 🔜

How to get started

InstallationInstall dedot packages & setup your projectsinstallation.md
Connecting to networkConnect & interact with networksconnect-to-network.md
Clients & ProvidersLearn more about Clients & Providers APIclients-and-providers
ink! Smart ContractsDeploy & tnteract with ink! smart contractsink-smart-contracts
Runtime upgradesPrepare your dapps for the next runtime upgradesruntime-upgrades.md
UtilitiesUtility functions to work with hex, hash, Uint8Array...utilities

Join the community

Acknowledment

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.