Allowing Token Transfers Between Users (Rippling) | XRPL Development in JavaScript Level 1
In the previous chapter, we explained the overview of Rippling
.
Now, let’s enable Rippling
for Charlie’s account.
Prerequisites
This guide proceeds with the following character:
- Charlie (Token Issuer)
Create the Script
-
Create a new file named enabled_rippling.js in your project directory.
-
Paste the following code into enabled_rippling.js.
Enter Charlie’s testnet secret key in
charlie_wallet_secret_here
.
Run the Script
-
Run the following command in the command line to execute the script.
-
If successful, the console will display the following.
Now, the Rippling feature for Charlie’s account has been enabled.
In the next chapter, let’s try again to transfer DOJ tokens from Alice to Bob, which failed in this guide.