Creating Accounts
Before we get into the heart of the matter, lets setup a few wallets.
Creating wallets
Let's add some wallet creation logic. We might as well create two wallets for some fun.
At this point, we should have two wallets with balances of 100 XRP.
We will save these in a more convenient way to reuse them as we progress through this tutorial.
Collect the seed values from the logs for both accounts, and let's create wallets from those seeds from now on. We'll need an issuer and a receiver so here we go:
First, we set the seed in the code
Then we create issuer and receiver wallets from the seeds in the main function as follows:
Last updated