Installation
Let's install Dedot to your project and start connecting to blockchain networks
Install dedot package
dedot packageDedot provides an umbrella package named dedot, it's the only package you need to install to access to most of the primitives & APIs when you're working with Dedot.
npm i dedotyarn add dedotpnpm add dedotEnable auto-completion/IntelliSense
Each Substrate-based blockchain has their own set of Data Types & APIs to interact with, so being aware of those Types & APIs when working with a blockchain will greatly improve the overall development experience. Dedot exposes TypeScript's Types & APIs for each individual Substrate-based blockchain via ChainApi interfaces, we recommend using TypeScript for your project to have the best experience.
Types & APIs for each known Substrate-based blockchains are defined in package @dedot/chaintypes
npm i -D @dedot/chaintypesyarn add -D @dedot/chaintypespnpm add -D @dedot/chaintypesMake sure to install @dedot/chaintypes as a dev dependency.
Next
After setting up your project & installing all the necessary packages, let's start connecting to a blockchain network and have some fun!
Last updated
Was this helpful?