Bitcoin Forum
June 21, 2024, 11:51:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Ripple command line client (DISCONTINUED)  (Read 2097 times)
Arvicco (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


Please bear with me


View Profile WWW
March 08, 2013, 04:09:46 AM
Last edit: July 19, 2013, 05:21:29 PM by Arvicco
 #1

I've created a command line client for Ripple. It is open source and can be found here:
https://github.com/arvicco/rippler

You can use the client in three ways:
1) Experiment with Ripple Websocket API without a browser. API reference is here: https://ripple.com/wiki/RPC_API, you need to use JSON format for commands.

2) Using bin/rippler is an example, you can create your own Ruby scripts using Ripple API.

3) Use it as part of your shell scripts to automate Ripple-related tasks.

Client is still beta, so use with caution.

markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
March 08, 2013, 07:19:46 PM
 #2

Does this sign stuff so that you do not need to send your "secret" to a rippled server?

(For example to flag an account as requiring destination tags?)

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
w1R903
Full Member
***
Offline Offline

Activity: 218
Merit: 100


View Profile
March 12, 2013, 10:32:13 PM
 #3

If you happen to do OTC deals with Ripple XRP (especially if you send BTC first), it is advisable to check the counter-party for red flags. Today, my command-line client saved me from being scammed for 2.5 BTC.

The party I've already done successful transactions with claimed to have 150K XRP for sale and asked that I send BTC first. I had no reason to distrust him, but as a precaution, I asked what Ripple account he is holding XRP at. Once I knew the account, it was easy to check if it has the XRP amount claimed:

   $ rippler balances account:HIS_RIPPLE_ACCOUNT

It turned out, the account did not have anything close to XRP amount claimed, only 200XRP system reserve. When asked to explain this, my counter-party stopped responding.

Since a fully functional Ripple ledger browser is not available yet, you need to use Ripple API to check the counter-party in situations like this. Command-line line client offers an easy way to check any Ripple account for balances and history.


So this is the client I saw people discussing on IRC... Bravo, Arvicco, well done!  Glad to know about it, I'll definitely be using it and contributing if I add any interesting features.  And well-done on the MIT license.  Generous move.

4096R/F5EA0017
chriswen
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500


View Profile
March 27, 2013, 03:59:21 AM
 #4

If you happen to do OTC deals with Ripple XRP (especially if you send BTC first), it is advisable to check the counter-party for red flags. Today, my command-line client saved me from being scammed for 2.5 BTC.

The party I've already done successful transactions with claimed to have 150K XRP for sale and asked that I send BTC first. I had no reason to distrust him, but as a precaution, I asked what Ripple account he is holding XRP at. Once I knew the account, it was easy to check if it has the XRP amount claimed:

   $ rippler balances account:HIS_RIPPLE_ACCOUNT

It turned out, the account did not have anything close to XRP amount claimed, only 200XRP system reserve. When asked to explain this, my counter-party stopped responding.

Since a fully functional Ripple ledger browser is not available yet, you need to use Ripple API to check the counter-party in situations like this. Command-line line client offers an easy way to check any Ripple account for balances and history.


https://ripple.com/graph/

That can be used too.  It's cool how you get to visualize so much stuff.
freequant
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
March 31, 2013, 05:31:25 PM
 #5

sub
desper
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
June 14, 2013, 03:38:36 PM
 #6

Rippler works nicely--thanks

I'm trying to use it to make a payment from one ripple account to another.
It seems I have to use a command: sign secret tx_json [offline]
The tx_json needed for this is defined here https://ripple.com/wiki/Transaction_Format but looks complicated. Are there any examples?
desper
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
June 16, 2013, 01:29:43 PM
 #7

Rippler works nicely--thanks

I'm trying to use it to make a payment from one ripple account to another.
It seems I have to use a command: sign secret tx_json [offline]
The tx_json needed for this is defined here https://ripple.com/wiki/Transaction_Format but looks complicated. Are there any examples?

It is possible to use this API via Rippler, but you should understand that by using it with public server you're transmitting your secret over the wire. Proper use of it should be with a local server, but the server code is currently closed-source.
Would it be transmitted to the public server in plain text or encrypted, then?

I have not seen any examples of transaction json on the Wiki but you can get some live samples from the ledger via Rippler, using for example tx_history and transaction_entry API.
Yeah, it occurred to me, I'd be able to see examples.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
June 16, 2013, 01:49:08 PM
 #8

So still no local signing then and no rippled source code. So you basically need a throwaway ripple account for this that will never be used with anything real.

I take it that signing is a pretty hard thing to implement eh?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
Arvicco (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


Please bear with me


View Profile WWW
July 19, 2013, 05:13:00 PM
Last edit: October 22, 2013, 12:09:07 AM by Arvicco
 #9

Just wanted to let everyone know that I've discontinued Rippler command line client and won't support it any longer.

This decision was not easy for me as I've spend quite a bit of effort building this client, digging into Ripple(TM) API, server and client code as well as trying to understand the internal workings of this system in general. The more I learned about Ripple(TM) though the less satisfied I was about the system itself, the consequences of its possible widespread adoption and how OpenCoin chose to position and present it to the external world. Lately, I was also dissatisfied with the kind of people (https://bitcointalk.org/index.php?topic=253126.msg2694725#msg2694725) Ripple is now associated with.

In all honesty, at this point I cannot support or endorse what Ripple(TM) stands for. As a result, I now decided to stop supporting Ripple(TM), OpenCoin or anything associated with OpenCoin in any way.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!