Page 1 of 2

Job available for creation of Ripple interface

Posted: Thu Mar 01, 2018 6:49 pm
by Steve Sokolowski
Over the past few weeks, I'm mentioned how we want to start adding new coins and exchanges more aggressively. A job is available for the creation of a Ripple interface into our system. If this work is successful, then we may offer the same person or another person work to implement interfaces for ERC20 tokens and Tether.

The task is trivial for someone who is knowledgeable about how Ripple works (or, more time consuming but easy to learn for someone who doesn't), but would take a long time for me to figure out. For this task, the developer will hardcode values like the private key at the top of the file. Once I have the working code for the Ripple client, then I can add the database calls to replace those constants by myself.

The code should be able to call a reference Ripple client. Ripple hosts a public node at s1.ripple.com that you can use for testing. This client uses simple HTTP REST calls and, therefore, should not require the inclusion of complex dependencies like php-ripple-rest (which doesn't work).

Here is the PHP template:

Code: Select all

<?php
//require_once(.....);  //Database stuff

class RippleDaemon
{
    //other variables we will add
    
    private $CONST_PRIVATE_KEY = "xxx";
    private $CONST_PUBLIC_KEY = "xxx";
    private $HOST = "xxx";
    private $PORT = "xxx";
    //Other constants go here...
      
    public function __construct($abbreviation)
    {
          //We will add other code here below whatever initialization code you require, if any
    }
        
	public function getBalance() {
   	    //Returns the balance in XRP of this wallet that can be spent right now; use bc_math instead of floats for all intermediate calculations
	}
	
	public function send($toaddress,$qty)
	{ 
	   //Send XRP to one address.  qty is the number of XRP, provided as a String.  Use bc_math instead of floats for all calculations
	   //Returns the transaction fee incurred by the transaction, using bc_math instead of floats for any intermediate calculations
	   //Throws an exception with the reason for the failure if the transfer did not succeed
	}
				
	public function sendmany($sendArray) {
		//Atomically sends XRP to many addresses:
                //$sendArray = Array($toaddress => $qty, $toaddress2 => $qty2, .....);
                //Returns an array with the following data:  Array('fee' => [the transaction fee], 'txid' => [the transaction id])
                //Throws an exception with the reason for the failure if the transfer did not succeed
	}
} 
?>
To bid, submit a ticket to https://support.prohashing.com/ with a résume and your bid. Let's get Ripple available as a payout coin, and hopefully we can get many other coins available as well!

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 12:43 am
by vaultminer
I sent this to a guy I know. We'll see what he says

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 12:57 am
by SovietBear
I'm the guy ^^. I don't have a JIRA account for that link though.

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 8:15 am
by Steve Sokolowski
SovietBear wrote:I'm the guy ^^. I don't have a JIRA account for that link though.
Just create a new account at https://support.prohashing.com/.

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 10:36 am
by SovietBear
Steve Sokolowski wrote:
SovietBear wrote:I'm the guy ^^. I don't have a JIRA account for that link though.
Just create a new account at https://support.prohashing.com/.
I promise I'm not trying to be difficult. That link is a

Code: Select all

301
permanent redirect over to

Code: Select all

jira.prohashing.com
login page with no option to register?

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 10:58 am
by vaultminer
I dug through my history and found the link: https://jira.prohashing.com/servicedesk ... ser/signup

It's weird that it doesn't show up anymore

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 11:28 am
by Steve Sokolowski
vaultminer wrote:I dug through my history and found the link: https://jira.prohashing.com/servicedesk ... ser/signup

It's weird that it doesn't show up anymore
I'll contact Constance about that.

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 12:53 pm
by SovietBear
vaultminer wrote:I dug through my history and found the link: https://jira.prohashing.com/servicedesk ... ser/signup

It's weird that it doesn't show up anymore
Unfortunately that link does not work

Image

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 2:00 pm
by Steve Sokolowski
I'm not sure what would have changed last night that made signups unavailable. It's weird that a system would suddenly stop working like that. We'll continue the investigation and hopefully this will be easy to resolve.

Re: Job available for creation of Ripple interface

Posted: Thu Mar 08, 2018 2:04 pm
by Steve Sokolowski
This issue has been resolved. Thanks for your patience!