1
2
In the REST API documentation, I didn't see an option to create an account. Obviously then, the code snippet here to create an account has to be front-ended by some other API so that a request to create an account can be catered to. I am not sure why this is so. Is there a HTTP POST REST API to create an account?
Also, normally, to build a REST interface, one starts with identifying all 'resources' whose state changes over time and can be changed in a state-less operation. Then, for every such resource, the CRUD operations are implemented. For example, in Stellar, the resources could be account, anchor, trustlines, transactions, etc.
Hello there Mr. Weller, so, is there a way to generate the private/public keypair without having to resort to using the SDKs? – jlstr – 2017-10-29T00:10:41.733
1
@jlstr Yes, you will need to use a crypto library that implements ed25519. You can see how the Stellar SDKs do that for reference. For example, Here's the Java keypair implementation.
– Tomer Weller – 2017-10-29T02:59:43.583