sdk-js
MultiversX SDK for TypeScript and JavaScript
This SDK consists of TypeScript / JavaScript helpers and utilities for interacting with the Blockchain (in general) and with Smart Contracts (in particular).
Packages
Base libraries:
| Package | Source code | Description |
|---|---|---|
| sdk-core | Github | The sdk-core package is a unification of the previous packages (multiversx/sdk-wallet and multiversx/sdk-network-providers into multiversx/sdk-core). It has basic components for interacting with the blockchain and with smart contracts. |
| sdk-exchange | Github | Utilities modules for xExchange interactions. |
Signing providers for dApps:
| Package | Docs | Source code | Description |
|---|---|---|---|
| sdk-hw-provider | documentation | Github | Sign using the hardware wallet (Ledger). |
| sdk-wallet-connect-provider | documentation | Github | Sign using WalletConnect. |
| sdk-extension-provider | documentation | interactive documentation | Github | Sign using the MultiversX DeFi Wallet (browser extension). |
| sdk-web-wallet-provider | documentation | Github | Sign using the MultiversX web wallet, using webhooks (DEPRECATED). |
| mx-sdk-js-web-wallet-cross-window-provider | documentation | interactive documentation | Github | Sign using the MultiversX web wallet, by opening the wallet in a new tab. |
| mx-sdk-js-metamask-proxy-provider | documentation | interactive documentation | Github | Sign using the Metamask wallet, by using web wallet as a proxy widget in iframe. |
For more details about integrating a signing provider into your dApp, please follow this guide or the mx-sdk-js-examples repository.
Signing SDKs:
| Package | Source code | Description |
|---|---|---|
| sdk-dapp | Github | A library that holds the core functional & signing logic of a dapp on the MultiversX Network. |
| sdk-guardians-provider | Github | Helper library for integrating a co-signing provider (Guardian) into dApps. |
important
For all purposes, we recommend using sdk-dapp instead of integrating the signing providers on your own.
Native Authenticator libraries:
| Package | Source code | Description |
|---|---|---|
| sdk-native-auth-client | Github | Native Authenticator - client-side components. |
| sdk-native-auth-server | Github | Native Authenticator - server-side components. |
Additional utility packages:
| Package | Source code | Description |
|---|---|---|
| transaction-decoder | Github | Decodes transaction metadata from a given transaction. |