Payments
In this section we will create your first payment transaction.
Creating the main structure of your script
import xrpl from "xrpl"
const client = new xrpl.Client("wss://s.altnet.rippletest.net:51233")
const main = async () => {
console.log("lets get started...");
await client.connect();
// do something interesting here
await client.disconnect();
console.log("all done!");
};
main();Creating wallets
Transferring XRP from one wallet to the other
Putting it all together
Extra credit
Last updated

