Author Topic: RPC connection step by step  (Read 1543 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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

Offline kenCode

  • Hero Member
  • *****
  • Posts: 2283
    • View Profile
    • Agorise
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 - Decentraliser @ Agorise
Matrix/Keybase/Hive/Commun/Github: @Agorise
www.PalmPay.chat

Offline Jansky

  • Newbie
  • *
  • Posts: 11
    • View Profile
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.