Developers are welcome to work together to improve this document, including but not limited to the following ways to participate:
- Submit issues for documents that you don't understand.
- Improve the documentation. The default version is English version, you can submit multi-language version. If you submit a different language version, the file suffix will be expressed in a similar format as "_CN".
- Supplement the document, the current document is more "simple", if you can say more clearly, more clearly, more detailed, welcome to pull request to modify it.
After the above workload is accepted, we will send you a number of ELA as a reward. At the same time, contributors will automatically become "Elastos Developer" and will enjoy priority trials, training and other benefits.
In order to avoid omissions, contributors are requested to send an email to [email protected]. Thank you very much for your participation and contribution.
-
Ubuntu
-
Mac OS
-
Android
-
iOS
-
Ubuntu
-
Android
-
Ubuntu
- Being perfected
-
Android
By default, the API document is provided, which also contains the API of the CAR SDK section.
Open the document, go to the html directory, find index.html and click it to open the API document in the browser.
Refer to the last part of the documentation below to export the latest API documentation:
The CAR SDK (CAR Software Development Kit) is a development kit for the native developers of the Elastos.RT (https://github.com/elastos/Elastos.RT) project. The main infrastructure services of Elastos are integrated through the Elastos.RT project and packaged into a Car interface for developers to use. Currently CAR SDK can support RPC and reflection, its basic services include: Carrier, Wallet and Did.
Traditionally, APP can expand its capabilities by including the SDK of Elastos, and obtain the typical capabilities of blockchains such as identity authentication and trusted records. For more existing apps, the lightest way is to embed the SDK, which is used to access some of the blockchain functions to achieve partial decentralization. For example, you can bind your own users through the ID provided by the SDK for identity authentication. You can also save the hash of important content in the blockchain through the API provided by the SDK, thus playing the role of notarization/certification.
You can refer to Reflection API.
Refer to the last part of the documentation below to export the latest API documentation:
The main interface in RPC are as follows. For the specific interface methods, refer to the API in the CAR SDK above.
- IServiceManager
- IFriend
- ICarrier
- ICarrierListener
The examples that currently use them are the following two, which are also described earlier.
The main interface in Wallet are as follows. For the specific interface methods, refer to the API in the CAR SDK above.
- IMasterWalletManager
- IMasterWallet
- IIdChainSubWallet
- ISidechainSubWallet
- IMainchainSubWallet
- ISubWallet
- ISubWalletListener
The main interface in DID are as follows. For the specific interface methods, refer to the API in the CAR SDK above.
- IDID
- IDIDManagerCallback
- IDIDManager
- IDIDChecker
- IDIDInspector
-
REST API
- No need in the future, no offer.
-
JSON RPC API
Document not yet available.
Elastos Carrier solves the problem that the app nodes on the Internet have no public network ip and cannot be directly connected. Usually solving this problem requires deploying a central server for data transfer. Also, Elastos Carrier implements a centerless direct connection communication scheme based on P2P communication technology.
Elastos Carrier provides cross-network access capabilities. For example, any two app nodes can be in different subnets, one is at home wifi environment, another is at corporate wifi environment. App can communicate directly by using an "address" string and confirming the authorization by adding "friends" to each other.
The API is provided by default.
Open the document, go to the html directory, find index.html and click it to open the API document in the browser.
Refer to the last part of the documentation below to export the latest API documentation: