PageSourceSearch

https://elastos-wiki.netlify.app/assets/js/fda22480.72ffdfc3.js

js elastos-wiki.netlify.app collected 2026-10-03 10:45:16 UTC 5,745 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8952],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>y});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=r.createContext({}),c=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),d=c(n),m=o,y=d["".concat(l,".").concat(m)]||d[m]||u[m]||a;return n?r.createElement(y,i(i({ref:t},p),{},{components:n})):r.createElement(y,i({ref:t},p))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[d]="string"==typeof e?e:o,i[1]=s;for(var c=2;c<a;c++)i[c]=n[c];return r.createElement.apply(null,i)}return r.createElement.apply(null,n)}m.displayName="MDXCreateElement"},7842:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>y,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var r=n(7462),o=n(3366),a=(n(7294),n(3905)),i=["components"],s={title:"Introduction"},l=void 0,c={unversionedId:"sdk/general/connectivity/introduction",id:"sdk/general/connectivity/introduction",title:"Introduction",description:"In a decentralized environment, while end-users are responsible for holding their identity and funds, most applications are not centrally hosted on a single server (the developer's) but need to rely on a wallet chosen by users.",source:"@site/../docs/7.sdk/general/connectivity/introduction.md",sourceDirName:"7.sdk/general/connectivity",slug:"/sdk/general/connectivity/introduction",permalink:"/sdk/general/connectivity/introduction",draft:!1,editUrl:"https://github.com/elastos/Elastos.Wiki/edit/master/website/../docs/7.sdk/general/connectivity/introduction.md",tags:[],version:"current",lastUpdatedBy:"racollette",lastUpdatedAt:1676425989,formattedLastUpdatedAt:"Feb 15, 2023",frontMatter:{title:"Introduction"},sidebar:"sdkSidebar",previous:{title:"Elastos SDKs",permalink:"/sdk/welcome"},next:{title:"Setup",permalink:"/sdk/general/connectivity/guides/setup"}},p={},d=[{value:"Elastos Connectivity SDK",id:"elastos-connectivity-sdk",level:2}],u={toc:d},m="wrapper";function y(e){var t=e.components,n=(0,o.Z)(e,i);return(0,a.kt)(m,(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"In a decentralized environment, while end-users are responsible for holding their identity and funds, most applications are not centrally hosted on a single server (the developer's) but ",(0,a.kt)("strong",{parentName:"p"},"need to rely on a wallet")," chosen by users."),(0,a.kt)("p",null,"The most common example of this is when Ethereum applications run on web apps - they ",(0,a.kt)("strong",{parentName:"p"},"all rely on MetaMask")," to facilitate certain wallet operations, such as publishing transactions."),(0,a.kt)("p",null,"In the Elastos world, it's no different - the only exception is that, in addition to wallet operations, Elastos also uses the \"wallet app\" to manage users' decentralized identities and other services."),(0,a.kt)("p",null,"These operations are usually provided by another application, the ",(0,a.kt)("strong",{parentName:"p"},'"wallet"')," which hosts users' identities and ",(0,a.kt)("strong",{parentName:"p"},"Connectivity SDK")," (and its connectors) ",(0,a.kt)("strong",{parentName:"p"},"that acts as a bridge between third-party and wallet applications.")),(0,a.kt)("h2",{id:"elastos-connectivity-sdk"},"Elastos Connectivity SDK"),(0,a.kt)("p",null,"The Connectivity SDK provides an easy-to-use interface for all operations that require user interaction in a wallet app, such as retrieving DID credentials, calling smart contracts, or authenticating on an Elastos Hive provider in order to manage data storage."),(0,a.kt)("p",null,"This SDK provides a ",(0,a.kt)("strong",{parentName:"p"},"flexible architecture")," and ",(0,a.kt)("strong",{parentName:"p"},"custom connectors")," that implement the Connectivity SDK interface so it can be dynamically added. Currently, the two recommended connectors are the ",(0,a.kt)("strong",{parentName:"p"},"Elastos Essentials connector")," (which implements communications between apps and the Elastos Essentials wallet) and the ",(0,a.kt)("strong",{parentName:"p"},"Local Identity Connector")," (an embedded connector that manages only very simple operations to more easily onboard new users)."))}y.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.