Poleg tega, da imajo good-written Documentation, it’s available in some of the major programming languages:
- Java
- Javascript
- Go
These three SDKs are maintained directly by the Stellar Development Foundation, but there are many other SDKs maintained by other Developers, see more tukaj.
The SDK will allow you to build your app on the Stellar Network which is now mostly used for remittances, micropayments, currency exchanges, and so on. But it’s not limited to those fields, what you build is completely up to you.
It’s also easy to start getting hands-on with working along with the Stellar Network as they have a test-net.
Here’s how simple it is to make a 10 XLM payment on the test-net to another account.
The code (mostly taken from the Docs) will firstly define the server (on the test-net), then the receiver’s public token, and the payment’s issuer secret žeton. After that, SDK does all the magic: along with some logging messages it builds the transaction (with a nice text memo).
Can you not see how easily you can interact with a complex system of ledgers?
The SDK communicates with the Horizon API, which served as a bridge between Stellar’s Core and the Apps built on it.
Most of the time, you’ll use the SDK to interact with Horizon, but you may also want to test it by yourself using postman, or other tools like Burp or mitmproxy which I’ve talked about here.
If you’d like to do so, even just have an overview of the network without getting hands-on with the SDK, their API reference got you covered.
For example, to check the transactions of an Account you’d make a GET request to the /accounts/{account_id}/transactions
endpoint. While with the SDK we should do the following:
strežnik
.transactions()
.forAccount("{accountID}")
.call()
.then(function (resp) {
console.log(resp);
})
.catch(function (err) {
console.error(err);
});
- Račun
- vsi
- API
- aplikacija
- aplikacije
- MOST
- izgradnjo
- Koda
- valuta
- Razvojni
- Razvijalci
- Razvoj
- Končna točka
- Izmenjave
- Področja
- funkcija
- Kako
- hr
- HTTPS
- ia
- IT
- jeziki
- Limited
- velika
- Zadeve
- srednje
- mikroplačila
- mreža
- Ostalo
- Plačilo
- Programiranje
- programskih jezikov
- javnega
- Nakazila
- SDK
- Enostavno
- So
- Začetek
- Stellar
- sistem
- Test
- čas
- žeton
- transakcija
- Transakcije
- XLM