How do you build a Ripple gateway without rippled?

1

3

I've noticed that several Ripple gateways now exist, most notably Bitstamp. However, the only documentation I can find on how to create an automated gateway seems to imply that you must have OpenCoin's rippled program.

Can anyone build a Ripple Gateway, or is this ability limited to OpenCoin's inner circle?

user5513

Posted 2013-06-11T03:14:07.133

Reputation: 29

https://ripple.com/wiki/RPC_API simple gateways don't need a local rippleddchapes 2013-06-11T03:30:42.687

1

See also: How to create a ripple gateway?

dchapes 2013-11-12T14:21:19.263

1

rippled is open source now: https://github.com/ripple/rippled

Nick ODell 2015-06-21T15:22:09.017

Answers

5

The documentation does assume you will run a local server. But anyone can build a gateway, with or without the server. To operate a gateway, you really only need to be able to process transactions just like a client does. When a transaction happens you need to know. When you need to perform a transaction, you need to perform it.

Probably the easiest way to do it is to implement the gateway's interface to the Ripple network using JavaScript and node.js -- this lets you use ripple-lib which is a supported, open source interface to the Ripple network.

If you do decide to run your own server, nothing really needs to change. Just point your gateway interface to your local server instead of the public server pool.

Whatever you do, please don't send your secrets to the public server pool. If you use ripple-lib, make sure local signing is on. If you use anything else, use ripple-lib's rsign.js program to sign transactions for you.

David Schwartz

Posted 2013-06-11T03:14:07.133

Reputation: 46 931

0

If you are not connected to a trusted rippld server then you must make sure all your transactions are signed with your account secret key before submitted them to a public or untrusted rippld server for propagation on the network.

Steven Zeiler

Posted 2013-06-11T03:14:07.133

Reputation: 21