Developer Questions

Ask a Question
Back to All

Generate an XRPL account

Hey guys,

Im trying to generate an xrpl account for test purposes and when I try the code it just shows me an account address and it keeps running. Here its an example of the code and when I run it.

import { generate } from "xrpl-accountlib";

const account = generate.familySeed;
console.log("Account ",account);

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.

PS C:\Users\User\Desktop\Xrpl -js-ts-demo\XRPL-JS-TS-demo> node dist/
Account address: rGwATJo9oWMAWewrPnxLNtQTdAGDecRnYK

Thank you!