Jump to content

Cole wallet generator


XRP_1987

Recommended Posts

Hello, I am interested is it equal to generate Ripple wallet OFFLINE (just with HTML) on following pages :

https://bithomp.com/create

https://ripply.eu/coldwallet.html

https://jatchili.github.io/minimalist-ripple-client/

https://github.com/whotooktwarden/generateSecretOffline

And since it is offline can they generate the same addresses twice or more times and how is that solved ?

 

Link to comment
Share on other sites

The wallet software calls Ripple library, which actually calls your browser's secure random number generator to get a 4096-bit long random number, which is in the end converted and formatted by Ripple into a "secret", which is alphanumeric string of 29-30 chars starting with "s".

Modern random generators used in new/updated web browsers take into account many things like time, your computer config, your activity before the generator has been called to generate entropy that is substantial to consider the random number truly random.

To get the same secret twice has probability 1 in 3.402823669×10³⁸  =>  IMPOSSIBLE in this universe.

Edited by Duke67
Link to comment
Share on other sites

Impossible.

Just make sure you are using the computer for a while before the generator is being called. This generates enough noise for the generator to get a really unique number.

Edited by Duke67
Link to comment
Share on other sites

On 06/04/2017 at 1:23 PM, lazarickristian said:

Hello, I am interested is it equal to generate Ripple wallet OFFLINE (just with HTML) on following pages :

https://bithomp.com/create

https://ripply.eu/coldwallet.html

https://jatchili.github.io/minimalist-ripple-client/

https://github.com/whotooktwarden/generateSecretOffline

And since it is offline can they generate the same addresses twice or more times and how is that solved ?

 

Bithomp uses ripple-lib (Javascript library made by Ripple Labs)

once you opened a page https://bithomp.com/create

JS library saved in your browser's cache, so you can generate Ripple addresses offline.

We added that service mostly for user's test purposes :)

You can esily make your own html/js waller generator.

This is the latest built ripple-lib: https://github.com/ripple/ripple-lib/archive/0.17.6.zip

You can unzip it and put in the same folder as that html file to generate addresses offline with ripple-lib library :)

Quote

<!DOCTYPE html>
<html>
<head>
  <script src="ripple-0.17.6.js"></script>
  <script>
  var api = new ripple.RippleAPI();
  var account = api.generateAddress();
  document.body.innerHTML += "<p>Wallet generated!</p>"+ " <table>"+ " <tr><th>Address</th>" + " <td>" + account.address + "</td></tr>"+ " <tr><th>secret</th>" + " <td>" + account.secret + "</td></tr>"+ " </table>";
   </script>
   <style type="text/css">
    td, th { border: 1px solid black; padding: 5px; }
    table { border-collapse: collapse; }
   </style>
 </head>
<body></body>
</html>

Didn't test it, should work, as it pretty simple.
Same thing used on bithomp.com/create

Edited by Warbler
Link to comment
Share on other sites

On 4/7/2017 at 6:45 AM, Warbler said:

JS library saved in your browser's cache, so you can generate Ripple addresses offline.

We added that service mostly for user's test purposes :)

You can esily make your own html/js waller generator.

This is the latest built ripple-lib: https://github.com/ripple/ripple-lib/archive/0.17.6.zip

 

I have just noticed that the JS library is again under active development! See the new branches for escrow and paychannels...

Link to comment
Share on other sites

  • 3 weeks later...
On 07/04/2017 at 6:45 AM, Warbler said:

This is the latest built ripple-lib: https://github.com/ripple/ripple-lib/archive/0.17.6.zip

You can unzip it and put in the same folder as that html file to generate addresses offline with ripple-lib library :)

Didn't test it, should work, as it pretty simple.
Same thing used on bithomp.com/create

1

Just realised, if you unzip the 0.17.6.zip you won't get a built ripple-lib library.

So, I've built it and uploaded to github:

https://github.com/OctillionSA/generate-ripple-wallet

You can run it from github

https://octillionsa.github.io/generate-ripple-wallet/

or download and run offline locally.

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

×
×
  • Create New...