I have been practicing with the test-net for a while and creating test accounts with the friendbot. Now I want to create a real account throught the API with the lumens that I already have. Is there any way to do that?
Thanks for your help.
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.Sign up to join this community
To create a new account you issue a transaction with the
CreateAccount operation. It's very similar to a
Payment operation, but has the side-effect of creating a new account. This is essentially what friendbot is doing.
You can test this approach on testnet via the laboratory.
After "Create Account", you need to initiate a regular transfer of fund/XLM from already funded account to the "new account". (There is no friendbot for real network !)