Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: RPC connection step by step  (Read 336 times)

0 Members and 1 Guest are viewing this topic.

Offline Jansky

  • Newbie
  • *
  • Posts: 11
    • View Profile
RPC connection step by step
« on: May 30, 2015, 10:26:39 PM »

I'm trying to connect to the RPC of a bitshares instance over localhost.  how is this done exactly?  My goal is to use some java code to download all the live bids and asks for all assets.

Offline kenCode

  • Hero Member
  • *****
  • Posts: 2220
    • View Profile
Re: RPC connection step by step
« Reply #1 on: May 31, 2015, 08:36:38 AM »
Good morning Jansky (I'm in Munich), I have forwarded your question to a couple of the Devs as this one is over my head.
Hang in there, help is on the way.
Welcome to BitShares by the way! :)
Cheerz,
  -ken
kenCode - BitShares Munich
BlockPay, Stealth, C-IPFS, Carbon, Echo, LiqBot, LiqNot, Meshnet...

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: RPC connection step by step
« Reply #2 on: May 31, 2015, 10:33:40 AM »
I cant tell you much about how its done in java .. but in my github repo theres is a python-bitsharesrpc project that does what you want via python ..

It shouldnt be too difficult to write rpc code for bitshares in java ... it is very similar to how it is done in bitcoin
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline monsterer

Re: RPC connection step by step
« Reply #3 on: May 31, 2015, 10:42:04 AM »
I'm trying to connect to the RPC of a bitshares instance over localhost.  how is this done exactly?  My goal is to use some java code to download all the live bids and asks for all assets.

Take a look at my c# RPC API, it's a very similar language to java, so should be easy to convert:

https://github.com/wildbunny/metaexchange/tree/master/BitsharesRpc
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

 

Google+