So using docker I started a private Stellar Network by typing in the below command:
docker run --rm -it -p "8000:8000" --name stellar stellar/quickstart --standalone
Then I opened another terminal and ran the below command to interact with the private network:
docker exec -it stellar /bin/bash
Then I ran the below command to generate a keypair:
stellar-core --genseed
All commands went well. How do I do a transaction now? My objective is to get 333 coins in one of the accounts.
Stellar has a dedicated stackexchange where questions on Stellar will get more attention.
After you have executed the steps in your question, stellar will be open to receiving transactions at
localhost:8000/tx?blob=Base64
(See commands). You can confirm stellar is running withcurl localhost:8000
.The base64 blob is the the XDR encoded form of a transaction. In your case you will want that transaction to contain a
CreateAccount
operation.It is possible to build this XDR for custom networks with some of the SDKs. It's possible in the Scala SDK (I'm the maintainer) and probably very easy to do in the JavaScript SDK too. But to start with, I suggest building XDR by hand by going to the lab's transaction builder, selecting "custom" network at the top right and building your transaction from there.
You want to populate the network passphrase with
Standalone Network ; February 2017
. This is the value in the container's filestellar-core.cfg
.