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
-
JSON RPC API
Document not yet available.
Elastos has prepared the relevant environment to use, please view the following documents:
-
Build a node of MainChain and connect to the test environment
-
Build a node of IDChain and connection test environment
Building test chains can be divided into three types:
-
Build a MainChain
-
Build a IDChain
-
Build a SideChain
Specific steps can refer to the following document content:
-
Create a transaction using Utilities.Java
-
Create a transaction using ela-cli
- Create a transaction using ela-cli
In order to facilitate the development and testing of the Elastos test chain by community developers, the Elastos Foundation also provides a faucet tool for issuing test coins. After filling in some information, you can get 10 ELA test coins on the test network.
Test network wallet address: https://wallet-beta.elastos.org/
Test network browser address: https://blockchain-beta.elastos.org/
Test coin tap address: https://faucet.elastos.org/
Application method: Go to https://faucet.elastos.org/ and submit the application form. Note: The ELA address should be the address of the registered wallet at https://wallet-beta.elastos.org/.
-
DApp_DID
-
DID Spec
This is a draft,which is a document that introduces the id side-chain interface.
-
DID programming guide
This is a draft,which is a description of how to use did, recommendations and specifications.
-
DID service
This is a draft,which is the interface that introduces the did service we are doing. It is based on the "DID programming guide".
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: