Jump to content

Is there a Tutorial for Linux based offline-wallet


ObservantOne
 Share

Recommended Posts

Okay, so I can see the link to the Jatchili client, which I think is cool. 

But I am about to install Ubuntu on a fresh HDD and I'd like to have an offline-wallet on this PC. 

I cannot find a walkthrough regarding what to do AFTER you install Linux. Do i create a Virtual machine and have my wallet on THAT? I am so damn lost!

Nor can I find a tutorial on how to transfer XRP to an exchange from the offline-wallet without the offline-wallet EVER touching the internet.

 

Can someone PLEASE write up an article on what to do, step-by-step, so that those of us who need it? I know it would be greatly appreciated. 

 

Remember: I know what a cold-wallet is, but I want an offline wallet. Also, I'd like to use my two Ledger nano-s wallets as a backup for my PC wallet.

 

Any help is appreciated!

Link to comment
Share on other sites

Run the following code in node. You'll have to install ripple-lib using npm first.

const RippleAPI = require('ripple-lib').RippleAPI;

const api = new RippleAPI({
  server: 'wss://s1.ripple.com' // Public rippled server hosted by Ripple, Inc.
});
api.on('error', (errorCode, errorMessage) => {
  console.log(errorCode + ': ' + errorMessage);
});
api.on('connected', () => {
  console.log('connected');
});
api.on('disconnected', (code) => {
  // code - [close code](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent) sent by the server
  // will be 1000 if this was normal closure
  console.log('disconnected, code:', code);
});
api.connect().then(() => {
  var options = {entropy: []};
  for (var i = 0; i<=1023;i++){
      options.entropy = Math.floor(255*Math.random())
  }
  console.log( api.generateAddress(options));
}).then(() => {
  return api.disconnect();
}).catch(console.error);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.