Issuing Currency (Tokens) | XRPL Development in JavaScript - Level 3
This guide explains cross-currency payments by dealing with A.USD issued by Issuer A and B.EUR issued by Issuer B.
To proceed with learning about cross-currency payments, we will send currency (tokens) from the issuers to the accounts that we have created and set up trust lines for.
Prerequisites
Issue A.USD and B.EUR to Alice.
Issue B.EUR to Bob.
Issue A.USD to Charlie.
Issue B.EUR to Daniel.
Methods to be Used
In this chapter, we will use the following methods created in the previous chapters.
Creating the Script
Create a new file named issueCurrency.js in your project directory.
Paste the following code into issueCurrency.js.
Running the Script
Run the following command in the command line to execute the script.
If you see console logs like the following, the operation was successful.