Jump to content
pftq

New Ripple client/wallet: The World Exchange

Recommended Posts

33 minutes ago, pftq said:

I took a few nights to go ahead and build a site with most of Ripple's functionality.  It's essentially a 1-page cold-wallet version of RippleTrade.  Everything is client-side and nothing stored or processed by any servers other than the Ripple network.

https://www.theworldexchange.net/

Hopefully this spurs more interest in people using Ripple as more than just a currency.

This is awesome, @pftq. I'm going to move this to its own thread and pin & feature it.

Share this post


Link to post
Share on other sites

@pftq very much appreciated and great job done. I've just posted it on reddit.

Please consider making the account creation window a bit larger/wider, so then the address+secret can be seen in whole.

Cheers!

Share this post


Link to post
Share on other sites

Great start:

  • Some documentation would be helpful, brief explanation about the secret key generation etc
  • How do you log out? I created an account but can't seem to log out of the exchange
  • I might consider pointing people to xrpchat.com to request that their account be funded

Share this post


Link to post
Share on other sites
56 minutes ago, pftq said:

I took a few nights to go ahead and build a site with most of Ripple's functionality.  It's essentially a 1-page cold-wallet version of RippleTrade.  Everything is client-side and nothing stored or processed by any servers other than the Ripple network.

Hi, are you this guy? I like the way you think. What is your relation with Ripple?

Share this post


Link to post
Share on other sites

Thanks, these are all good suggestions.  I've widened the login fields and added a logout button.  Originally just logging in with nothing would have logged you out, but I realize that's not obvious lol

I've pointed the Min XRP links to the documentation (upper left link) instead which mentions XRPChat and Ripple Forums.

I'm inclined not to mention how key generation works - they can always click on all the links to Ripple to read on that.  I want to keep the site as high level as possible rather than just cater towards people who know crypto already.

@lucky: no that's not me lol, just someone who got super enthusiastic about Ripple after reading my stuff.  I have no relation to Ripple Labs, just some guy who's been around since the beginning.

Edited by pftq

Share this post


Link to post
Share on other sites

I have a feeling that you are incorrectly handling fees, and in particular, the transaction result terQUEUED. See my screen capture, which hangs after OfferCreate transaction submission. 

 

 

 

Edited by oxygenforex

Share this post


Link to post
Share on other sites
55 minutes ago, oxygenforex said:

I have a feeling that you are incorrectly handling fees, and in particular, the transaction result terQUEUED. See my screen capture, which hangs after OfferCreate transaction submission. 

For most practical purposes you can interpret terQUEUED as success. Very rarely terQUEUED will not succeed to get to the ledger. Sometimes it could happen based on how busy RCL is, so obviously it is a good idea to check that it got into the ledger.

Edited by culminator

Share this post


Link to post
Share on other sites
4 hours ago, culminator said:

Very rarely terQUEUED will not succeed to get to the ledger.

The UI hung at : "Submission result : Held until escalated fee drops." I understand this should only take a few ledgers, but in any case, the UI is different from the action that actually occurs on the ledger... because it turns out, that these offers got into the ledger. 

Share this post


Link to post
Share on other sites

I've gone ahead and open-sourced this (it sort of always was anyway, given it's all javascript that you could just right-click and view source).

https://github.com/Autodidactic-I/TheWorldExchange

Had more plans for this initially, but I've been bogged down on other projects and couldn't get around back to this.  Figured it was better to just open it up to anyone else that wanted to add or build upon it.  It's been a while since I used github, so if I'm missing anything in the project, just let me know.

It's not a very complicated piece of work (just HTML and javascript), but it was frustratingly difficult to find any working examples of Ripple's API (not to mention just a very simple straight forward cold wallet or front-end to use Ripple).  Hopefully this helps skip that step for some people out there.

Share this post


Link to post
Share on other sites

Fixed some layout issues for mobile.  Seems like pages gradually break as the browsers change lol

One major thing that's still missing is the orderbook is a direct pull on Ripple's API, so it doesn't include auto-bridged liquidity.  Trying to figure how it's being done on Ripple Charts.  If anyone's done this before or has any clean cut examples, much appreciated.

Share this post


Link to post
Share on other sites

Hi i managed to figure most things out but wehen i exchange for BTC how do i withdraw the btc is there a min amt or something

thanks wish there was a step by step vid on this very interesting exchange

 

Quote

 

 

Share this post


Link to post
Share on other sites
Posted (edited)

It's a little convoluted, especially after Ripple stopped supporting the more direct Ripple-BTC to real BTC transactions after it shut down RippleTrade.  You'd have to go to an actual exchange that accepts the BTC denominated by the Issuer/Gateway - by default, the BTC on Ripple is backed by Bitstamp (so you could go to Bitstamp to then "redeem" the BTC they back for real BTC).  You can see the issuer under the currency symbol ("Backed by...").  It's easier IMO to just convert to XRP first and then send that XRP to an exchange like Gatehub or Poloniex where you can actually withdraw in the currency you want (Gatehub for USD, Poloniex for BTC).

See the write-up here:
https://www.theworldexchange.net/#started

Also Ripple's own documentation on Gateways:
https://ripple.com/build/gateway-guide/#ripple-trust-lines-and-issuances

The main idea with Ripple is that you can trade between all these represented currencies at minimal cost/friction before going through the process of actually redeeming the final amount.

Edited by pftq

Share this post


Link to post
Share on other sites

×