{"id":14674097,"url":"https://github.com/dedotdev/dedot","last_synced_at":"2026-04-26T19:01:24.106Z","repository":{"id":199656531,"uuid":"702458084","full_name":"dedotdev/dedot","owner":"dedotdev","description":"Delightful JavaScript client for Polkadot \u0026 Polkadot SDK-based blockchain networks","archived":false,"fork":false,"pushed_at":"2026-04-26T17:27:43.000Z","size":13116,"stargazers_count":70,"open_issues_count":18,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-26T18:21:49.563Z","etag":null,"topics":["light-client","polkadot","polkadot-api","substrate","substrate-rpc-client"],"latest_commit_sha":null,"homepage":"https://dedot.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dedotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-09T11:01:27.000Z","updated_at":"2026-04-26T17:27:46.000Z","dependencies_parsed_at":"2023-12-23T12:01:33.731Z","dependency_job_id":"d39ca1ea-3103-4d01-8016-f72e7c17e26c","html_url":"https://github.com/dedotdev/dedot","commit_stats":null,"previous_names":["coongcrafts/delightfuldot","dedotdev/dedot","dedotdev/dedotjs"],"tags_count":292,"template":false,"template_full_name":null,"purl":"pkg:github/dedotdev/dedot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedotdev%2Fdedot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedotdev%2Fdedot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedotdev%2Fdedot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedotdev%2Fdedot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedotdev","download_url":"https://codeload.github.com/dedotdev/dedot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedotdev%2Fdedot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32308878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["light-client","polkadot","polkadot-api","substrate","substrate-rpc-client"],"created_at":"2024-09-12T08:00:25.680Z","updated_at":"2026-04-26T19:01:19.089Z","avatar_url":"https://github.com/dedotdev.png","language":"TypeScript","funding_links":[],"categories":["Libraries","TypeScript"],"sub_categories":["Multisig Wallets"],"readme":"![Dedot Banner](https://github.com/user-attachments/assets/94a6e1cd-cdaf-4449-8fbf-5762186b9462)\n\n\n# Dedot\n\nDelightful JavaScript/TypeScript client for [Polkadot](https://polkadot.com/) \u0026 [Polkadot SDK-based](https://github.com/paritytech/polkadot-sdk) blockchains.\n\n![Version][ico-version]\n![Unit test][ico-unit-test]\n![E2E test][ico-e2e-test]\n![License][ico-license]\n![weekly downloads][ico-downloads]\n[![Chat on Telegram][ico-telegram]][link-telegram]\n\n[ico-telegram]: https://img.shields.io/badge/Dedot-2CA5E0.svg?style=flat-square\u0026logo=telegram\u0026label=Telegram\n[ico-unit-test]: https://img.shields.io/github/actions/workflow/status/dedotdev/dedot/run-tests.yml?label=unit%20tests\u0026style=flat-square\n[ico-e2e-test]: https://img.shields.io/github/actions/workflow/status/dedotdev/dedot/zombienet-tests-batch-01.yml?label=e2e%20tests\u0026style=flat-square\n[ico-version]: https://img.shields.io/github/package-json/v/dedotdev/dedot?filename=packages%2Fapi%2Fpackage.json\u0026style=flat-square\n[ico-license]: https://img.shields.io/github/license/dedotdev/dedot?style=flat-square\n[ico-downloads]: https://img.shields.io/npm/dw/dedot?style=flat-square\n[link-telegram]: https://t.me/JoinDedot\n\n👉 Join our [Telegram group](https://t.me/JoinDedot) to receive the latest updates and support!! 👈\n\n---\n\n[Dedot](https://dedot.dev) is the next-generation JavaScript client for Polkadot and Polkadot SDK-based blockchains. Designed to elevate the dapp development experience, Dedot is built \u0026 optimized to be lightweight and tree-shakable, offering precise Types \u0026 APIs suggestions for individual Polkadot SDK-based blockchain network and ink! Smart Contracts. Dedot also helps dapps efficiently connect to multiple chains simultaneously as we head toward a seamless multi-chain future.\n\n### Features\n\n- ✅ Fully support [light clients](https://docs.dedot.dev/getting-started/connect-to-network#smoldot) (e.g: [smoldot](https://www.npmjs.com/package/smoldot))\n- ✅ Small bundle size, tree-shakable (no more bn.js or wasm-blob tight dependencies)\n- ✅ Types \u0026 APIs suggestions for each individual Polkadot SDK-based blockchain\n  network ([@dedot/chaintypes](https://github.com/dedotdev/chaintypes))\n- ✅ Familiar api style with `@polkadot/api`, [easy \u0026 fast migration!](https://docs.dedot.dev/getting-started/pjs-to-dedot)\n- ✅ Native [TypeScript type system](https://docs.dedot.dev/getting-started/pjs-to-dedot#type-system) for scale-codec\n- ✅ Compatible with `@polkadot/extension`-based wallets\n- ✅ Support Metadata V14, V15, V16 (latest)\n- ✅ Built-in metadata optimization ([caching](https://docs.dedot.dev/getting-started/connect-to-network#caching-metadata))\n- ✅ Build on top of both the [new](https://paritytech.github.io/json-rpc-interface-spec/introduction.html) \u0026 [legacy](https://github.com/w3f/PSPs/blob/master/PSPs/drafts/psp-6.md) (\n  deprecated soon) JSON-RPC APIs\n- ✅ [Unified Typesafe Contract APIs](https://docs.dedot.dev/smart-contracts/intro) for ink! v5 (WASM, pallet-contracts), ink! v6 and solidity contracts (PVM, pallet-revive)\n- ✅ Fully-typed low-level [JSON-RPC client](https://docs.dedot.dev/clients-and-providers/clients#jsonrpcclient)\n\n\u003e [!TIP]\n\u003e Are you building dapps on Polkadot?\n\u003e\n\u003e Check out [Typink](https://github.com/dedotdev/typink) (https://typink.dev), a comprehensive toolkit for dapps development, powered by Dedot! \n\n### Documentation\nCheck out Dedot documentation on the website: https://dedot.dev\n- [Getting started](https://docs.dedot.dev/getting-started/installation)\n- [Interact with ink! smart contracts](https://docs.dedot.dev/ink-smart-contracts/intro)\n- [CLI](https://docs.dedot.dev/cli)\n- [Build with Dedot](https://docs.dedot.dev/help-and-faq/built-with-dedot)\n\n### Example\n1. Install packages\n```shell\nnpm i dedot # or yarn, pnpm\n\nnpm i -D @dedot/chaintypes\n```\n2. Connect to the network\n```typescript\nimport { DedotClient, WsProvider } from 'dedot';\nimport type { PolkadotApi } from '@dedot/chaintypes';\n\nconst provider = new WsProvider('wss://rpc.polkadot.io');\nconst client = await DedotClient.new\u003cPolkadotApi\u003e(provider);\n\n// Get current best block\nconst bestBlock = await client.block.best();\nconsole.log('Best block:', bestBlock.number, bestBlock.hash);\n\n// Subscribe to finalized blocks\nconst unsub = client.block.finalized((block) =\u003e {\n  console.log('Finalized block:', block.number);\n});\n\n// Query on-chain storage\nconst balance = await client.query.system.account(\u003caddress\u003e);\nconsole.log('Balance:', balance);\n\n// Get pallet constants\nconst ss58Prefix = client.consts.system.ss58Prefix;\nconsole.log('Polkadot ss58Prefix:', ss58Prefix);\n\n// Call runtime api\nconst pendingRewards = await client.call.nominationPoolsApi.pendingRewards(\u003caddress\u003e);\nconsole.log('Pending rewards:', pendingRewards);\n\n// Sign and send transaction\nconst result = await client.tx.balances.transferKeepAlive(\u003cdest\u003e, 1_000_000_000_000n)\n                           .signAndSend(signer).untilFinalized();\n\n// Disconnect\nawait client.disconnect();\n```\n\n### Resources \u0026 announcements\n- [Introducing Dedot](https://forum.polkadot.network/t/introducing-dedot-a-delightful-javascript-client-for-polkadot-substrate-based-blockchains/8956)\n- [Type-safe APIs to interact with ink! Smart Contracts](https://forum.polkadot.network/t/type-safe-apis-to-interact-with-ink-smart-contracts-dedot/9485)\n\n### Real-World Projects Powered by Dedot\n\n- [Polkadot Live App](https://polkadot-live.github.io/) ([Github](https://github.com/polkadot-live/polkadot-live-app))\n- [Polkadot Staking Dashboard](https://staking.polkadot.cloud/) ([Github](https://github.com/polkadot-cloud/polkadot-staking-dashboard))\n- [Typink](https://typink.dev/) ([Github](https://github.com/dedotdev/typink))\n- [Allfeat SDK](https://www.allfeat.com/) ([Github](https://github.com/Allfeat/allfeat-js))\n- [Polkadot UI](https://dot-ui.com/) ([Github](https://github.com/Polkadot-UI-Initiative/dot-ui))\n- [Create Dot App](https://github.com/preschian/create-dot-app)\n- [LunoKit - Wallet Developer Tools](https://www.lunolab.xyz/) ([Github](https://github.com/Luno-lab/LunoKit))\n- ... add yours? PRs are more than welcome!\n\n### Acknowledgment\n\n[Dedot](https://dedot.dev) take a lot of inspirations from project [@polkadot/api](https://github.com/polkadot-js/api). A big thank to all the maintainers/contributors of this awesome library.\n\nProudly supported by Web3 Foundation Grants Program.\n\u003cp align=\"left\"\u003e\n  \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/6867026/227230786-0796214a-3e3f-42af-94e9-d4122c730b62.png\"\u003e\n\u003c/p\u003e\n\n### License\n\n[Apache-2.0](https://github.com/dedotdev/dedot/blob/main/LICENSE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedotdev%2Fdedot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedotdev%2Fdedot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedotdev%2Fdedot/lists"}