$ npm install ripple-lib
- This example code works in offline.
const RippleAPI = require('ripple-lib').RippleAPI;
const api = new RippleAPI();
const address = api.generateAddress();
If you find this article is helpful, it would be greatly appreciated if you could tip XRP to the address below. Thank you!