Author Topic: Cryptofresh API  (Read 24842 times)

0 Members and 1 Guest are viewing this topic.

Offline ravina

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Oracle Training in Chennai
Actually This is very great thinks. It was very comprehensive post and powerful concept. Thanks for your sharing with us. Keep it up..
Oracle Course in Chennai | Oracle Training Institute in Chennai
Sugantha

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?   

[https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/]DevOps Training in Kukatpally[/url] | <a href="https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/">DevOps Training in kukatpally</a>
Sure BitShares backends come with websocket/HTTP rpc interface. Example:
Code: [Select]
curl --data '{"method": "call", "params": [0, "get_dynamic_global_properties", []], "jsonrpc": "2.0", "id": 1}' https://node.bitshares.eu

Offline wizitsolv

In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?   

[https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/]DevOps Training in Kukatpally[/url] | <a href="https://wizitsolv.com/devops-training-in-hyderabad-kukatpally/">DevOps Training in kukatpally</a>

Offline compumatrix

In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course  |  Devops Training Center in Chennai  |  Best Informatica Training Institute in Chennai | Hadoop Course in ChennaiR Programming Course in Chennai
Absulutely possible and available today:
docs.bitshares.eu/integrate

I believe the link is docs.bitshares.eu/integration/

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course  |  Devops Training Center in Chennai  |  Best Informatica Training Institute in Chennai | Hadoop Course in ChennaiR Programming Course in Chennai
Absulutely possible and available today:
docs.bitshares.eu/integrate

Offline andrajoseph

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Tableau Course
In Bitcoin it is easy to connect using JSON-RPC. Is there something similar for Bitshares in the works, or what is the best way to do it? I want to be able to query the balance, to register a listener for incoming transfers and be able to send Bitshares or BitAssets.
Is there a way to do this efficiently?     

Tableau Course  |  Devops Training Center in Chennai  |  Best Informatica Training Institute in Chennai | Hadoop Course in ChennaiR Programming Course in Chennai


Offline Murderistic

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile

Offline KenMonkey

  • Full Member
  • ***
  • Posts: 112
    • View Profile
  • BitShares: kmnk
A block explorer doesn't seem like an awfully complex thing. The code for cryptofresh is public, right? We can just put up a duplicate called supafresh or something. Maybe we stick some ads on the site to help pay for it, or have a small worker that keeps it running. If the worker gets defunded the website shuts down. How much does keeping a website online cost? How do other coins without UIAs and workers get sometimes 3 separate block explorers?

At least we do still have the bitshares wallet explorer. You can see all the blocks here:  https://bitshares.openledger.info/#/block/9000055

Although it looks now like cryptofresh is working!! Who knows for how long. But whatever! celebrate! We have reported volume on bitUSD and bitCNY for the first time in awhile and we just passed block 10 million. Thumbs up to a bright future for Bitshares.

Offline kenCode

  • Hero Member
  • *****
  • Posts: 2283
    • View Profile
    • Agorise
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)

There is no need to create a whole new cryptofresh site.
If we can find a way to fund it (and i mentioned this today to btswolf) then Bitshares core development, new features, the web based block explorer and a slew of other things may need to be taken over by BitShares Munich for a short time. We would need enough money to pay for 2 years of hosting cryptofresh and the vps that will manage it (so no humans are required anymore). Getting worker proposals fixed (according to btswolf), adding the new dividends feature, these things must come first, so that if we have to do a fundraiser with a UIA for bitshares then at least we know those people who buy the token will get dividends on that purchase but right now there is no way for anyone to get a return really on investing in core dev for Bitshares.
kenCode - Decentraliser @ Agorise
Matrix/Keybase/Hive/Commun/Github: @Agorise
www.PalmPay.chat

Offline lil_jay890

  • Hero Member
  • *****
  • Posts: 1197
    • View Profile
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)

I believe blockpay is planning on building their own explorer...  It would be foolish of them to use a 3rd party block explorer that was just some guys pet project.

Offline KenMonkey

  • Full Member
  • ***
  • Posts: 112
    • View Profile
  • BitShares: kmnk
Cryptofresh is broken. Now it's not registering any activity or volume. What's going on? Can someone start a worker to create a new blockchain explorer?
I've been checking out the cryptofresh code on github to start doing it and downloading the graphene packages but I need help if I'm going to try to create a blockchain explorer.
@svk would it be possible to make a web page out of just the "explorer" part of the bitshares wallet? Maybe have some API calls that CMC could use to get the volume and price?
I don't know what it will take to get this fixed but I know that projects built on bitshares like blockpay need a solid blockchain explorer. @kenCode

PM me if you know how to get hold of @roadscape, if you want to start a worker to create a new blockchain explorer, or if you want to help me create one. I don't know how to program well but I can do python and I'd love to learn. Lets get going on this.

:)

Offline svk

Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?

I'll probably make another worker but it has to wait a little since I don't have much time right now for it.

I'll be making a final release for this worker period soon though even if it's expired as there's some work that's yet to be included in a release.
Worker: dev.bitsharesblocks

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Thank you.

Offline dannotestein

  • Hero Member
  • *****
  • Posts: 760
    • View Profile
    • BlockTrades International
  • BitShares: btsnow
Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?
I haven't spoken with him about it, so don't know. Hopefully he will create a new worker.
http://blocktrades.us Fast/Safe/High-Liquidity Crypto Coin Converter

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Yes, noticed that Openledger working on their own gui and i like those changes. What about @svk? Do you know his plans?

Offline dannotestein

  • Hero Member
  • *****
  • Posts: 760
    • View Profile
    • BlockTrades International
  • BitShares: btsnow
BTW we have 0 zero active workers right now.
While our Blockchain maintenance worker is no longer technically active, it's got a decent amount of BTS reserved there for future work as needed. As soon as we free up from our current work on peerplays prototype test net, we'll merge in the dividend feature we've added (assuming there's no objections).

As far as I know, OpenLedger is internally funding improvements to their version of the web wallet.
http://blocktrades.us Fast/Safe/High-Liquidity Crypto Coin Converter

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
BTW we have 0 zero active workers right now.

Offline lil_jay890

  • Hero Member
  • *****
  • Posts: 1197
    • View Profile
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.

It's the steem "investors" who have been kicked in the nuts lately.

So weird that a getting paid to upvote forum posts isn't working out... Hopefully roadscape was able to sell to the steem bagholders.

 I would support a worker proposal for roadscape to maintain the block explorer.  Even if it is just an advertisement to show that the bts worker proposal system works effectively (much better than the steem print "value" out of thin air system).

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.
I respectfully disagree .. thanks to steem I now have the money required to setup a legal company here in Germany and go more public with what I do .. that includes business development for BitShares ..

Offline tehdos

Crypto fresh is back online but the volumes reported are still wrong. @roadscape should make a new worker! Don't get discouraged! We love you and cryptofresh is awesome.
+1

Offline KenMonkey

  • Full Member
  • ***
  • Posts: 112
    • View Profile
  • BitShares: kmnk
Crypto fresh is back online but the volumes reported are still wrong. @roadscape should make a new worker! Don't get discouraged! We love you and cryptofresh is awesome.

Offline bitcrab

  • Committee member
  • Hero Member
  • *
  • Posts: 1928
    • View Profile
  • BitShares: bitcrab
  • GitHub: bitcrab
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.

sorry to hear this, @roadscape did great job, he deserve the payment and respect.
Email:bitcrab@qq.com

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
How much he want for open that code?

Offline onceuponatime

See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

I had a long skype conversation with @roadscape when his Cryptofresh worker was voted out.

That worker had been paying him a very meager salary for the building of cryptofersh and for its maintenance and upgrades (especially considering the long hours and on call, round the clock, nature of the work he had been doing). He spent huge amounts of uncompensated time on developing Cryptofresh before he asked for some worker pay for maintenance and upgrades. He was absolutely dedicated and was thus devastated by being voted out.

Steemit has given back to @roadscape his confidence, dignity and some remuneration for his efforts. All the things that were not given to him by Bitshares "investors".

Some Bitshares "investors" appear to have have kicked themselves in the nuts. Unfortunately, the consequences of their actions are not confined to themselves but have hurt all of us loyal bitshares holders.

Offline KenMonkey

  • Full Member
  • ***
  • Posts: 112
    • View Profile
  • BitShares: kmnk
The cryptofresh explorer has been broken for some time. Maybe @roadscape is finally fixing it. I did send him a message to his bitshares account. The bitUSD and bitCNY volumes have been showing a bit fat ZERO on Coinmarketcap.com for quite some time, which is clearly false.

Hopefully he is fixing it. Otherwise we need to make a new block explorer. Preferably 2-3 and quickly.

no use complaining here, we need to take action. Maybe open a worker proposal to make a new one if cryptofresh is not back up in a day.

In the meantime, lets be clear, the explorer having difficulties does not mean anything is wrong with the blockchain. Bitshares is working perfectly as usual. If you need to see some transaction go through or watch the chain you can access the explorer on OpenLedger or the bitshares light-client.

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
@roadscape, if you don't work on Cryptofresh anymore, would you be willing to open-source it?

Anyone can contact him? He has been inactive for over two months on this forum
BTS committee member:jademont

Offline paliboy

@roadscape, if you don't work on Cryptofresh anymore, would you be willing to open-source it?

Offline nomoreheroes7

  • Hero Member
  • *****
  • Posts: 756
  • King of all the land
    • View Profile
  • BitShares: nomoreheroes7
See this is why Steemit was a kick in the nuts to BTS investors. Our community and resources were basically raped and pillaged over to Steem.

"Not going to compete with BitShares" my ass.

Offline Chris4210

  • Sr. Member
  • ****
  • Posts: 431
  • Keep Building!
    • View Profile
    • www.payger.com
  • BitShares: chris4210
If @roadscape is not active anymore then we need to create a second blockchain explorer for Bitshares?
Vote Chris4210 for Committee Member http://bit.ly/1WKC03B! | www.Payger.com - Payments + Messenger | www.BitShareshub.io - Community based fanpage for the BitShares Blockchain

Offline IdoKrauss

  • Newbie
  • *
  • Posts: 8
    • View Profile

Offline lil_jay890

  • Hero Member
  • *****
  • Posts: 1197
    • View Profile
He also hasn't fixed the Market Cap bug on cryptofresh.... BTS's market cap hasn't changed in the last couple months.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Is @roadscape still alive? Last I heard was that he was hired by Steemit for frontend stuff .. don't know what happend to him

Offline IdoKrauss

  • Newbie
  • *
  • Posts: 8
    • View Profile
hey guys, just added the api and i noticed several errors
the major one is incorrect data on depth call

https://cryptofresh.com/api/market/depth?pair=OBITS_OPEN.BTC{"bid":[[7.0000001e-05,83818.2988],[9.0e-05,81937.4701],[9.001e-05,81712.4701],[0.0001,11176.597399999999],[0.00011,5176.5974],[0.000145000003,5076.597299999999],[0.000147110009,1628.3215],[0.000165,948.5581],[0.000172000209,32.5581],[0.0002,5076.5974]],"ask":[[0.00019989999,1000.0],[0.000199899992,2280.0978999999998],[0.0002,22280.0979],[0.000205,42280.0979],[0.00021,65048.345799999996],[0.000215,100048.3458],[0.00023,100053.3458],[0.000239999985,100583.238],[0.00024,100957.238],[0.00025,106962.238],[0.00028,106967.238],[0.0003,107230.7699],[0.0004,107270.7699],[0.0008,110290.7699],[0.002,111122.4281],[0.0023,112207.4281],[0.0025,122207.4281],[0.25,123207.4281],[0.999999999988,124029.85310000001]]}highest bid ([0.0002,5076.5974]) is higher than lowest ask ([0.00019989999,1000.0]), 0.0002 bid dose not exist for some time now but api is not updated correctly)

same issue can be found in bitSILVER/BTS market - https://cryptofresh.com/api/market/depth?pair=SILVER_BTS - (bid: [5000.0,89.35770000000001], ask: [3350.0,6.3576])

is there any way someone can fix this? or should i rely on parsnig the html from the site https://cryptofresh.com/a/OBITS_OPEN.BTC (which seems correct)

cheers = ]

Offline Yao

  • Hero Member
  • *****
  • Posts: 534
    • View Profile
  • BitShares: yao
  • GitHub: imYao
@roadscape Why cryptofresh.com didn't offer a view of multi signature transactions? The GUI wallet not offer too, very inhuman!

Each one of multi-signer need to know the detail of the multi-sig transaction to prevent cheating.

Another question:
Why the previous committee proposal can not query to? cryptofresh.com says "Page not found".
« Last Edit: August 21, 2016, 02:53:01 pm by Yao »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
@roadscape is no with steemit Inc and with the current rush on Steem, I don't think he will find the time to do this .. :(

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
https://cryptofresh.com/api/asset/markets?asset=BTS

Any chance for more frequent updates at least for most volume markets? 

Offline roadscape

Thanks @bang-king  :) I haven't had a chance to mess around with any web wallet code yet, not sure what the learning curve is like! But I would enjoy such a project.

Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.

Do you need orders or just depth? I added a depth API recently but haven't documented it yet:
https://cryptofresh.com/api/market/depth?pair=BTS_USD

Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...

Great ideas.. I will include these "quick stats" as I tidy up the front page

A moving average would be nice for the charts to show long term trends

Are you referring to price charts, operation-types charts, or both?
http://cryptofresh.com  |  witness: roadscape

Offline bang-king

@roadscape  +5%  I would support a worker proposal for you to redesign our current exchange GUI.

Offline JA

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...

Offline dannotestein

  • Hero Member
  • *****
  • Posts: 760
    • View Profile
    • BlockTrades International
  • BitShares: btsnow
A moving average would be nice for the charts to show long term trends
http://blocktrades.us Fast/Safe/High-Liquidity Crypto Coin Converter

Offline paliboy

Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.

Offline roadscape

That looks like a good way to organize it, thanks @tbone. I may end up breaking it out into pages once I add charts for some of the useful queries I have laying around.

@all: please put any further feedback not related to API in this thread: https://bitsharestalk.org/index.php/topic,19507.0.html -- trying to keep this thread clean so people can subscribe to API change notifications. Thanks!
http://cryptofresh.com  |  witness: roadscape

Offline tbone

  • Hero Member
  • *****
  • Posts: 632
    • View Profile
  • BitShares: tbone2
@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

Great.  Perhaps you'll also consider giving each of those 3 key measures of DEX progress their own mini chart.  For example, you could have 3 smaller charts below the main chart, each the width of the existing tables.  And you could rearrange the existing tables such that a) the right charts are adjacent to the right tables, and b) all of the tables are in the best orientation to each other.   See below as an example:


Code: [Select]
-----------------------------------------------------------------------------
|  orders filled CHART  |  Transfers CHART   |   Accounts Registered CHART  |
-----------------------------------------------------------------------------
|  Most orders filled   |  Most transfers    |   Most accounts registered   |
-----------------------------------------------------------------------------
|  Most orders placed   |  Most fees paid    |      Most referrals          |
-----------------------------------------------------------------------------
|  Most assets created  |  Most assets held  |      Most operations         | 
-----------------------------------------------------------------------------

Offline roadscape

Thanks for the positive feedback!

@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

@bitacer - I haven't forgotten about your request! But to do it properly we will need to locate/create images for all primary assets so they are all fairly represented and visually balanced. I haven't had time to be collect these images, maybe you could help organize such an effort? Ideally 16x16 PNGs for important assets here: https://cryptofresh.com/assets, as well as a nice default image for the others (it shouldn't be bold, and maybe there could be a different default image to distinguish UIA/PM/MPA)

Excellent job! Waiting for more!

Thanks, any specific API's you like to see added??
http://cryptofresh.com  |  witness: roadscape

Offline bitacer

Any progress on integrating logos for the assets? That would be really cool you know..

Offline tbone

  • Hero Member
  • *****
  • Posts: 632
    • View Profile
  • BitShares: tbone2
Nice job.  Cryptofresh is a tremendous resource for this community.

I have a request that is not specifically related to the API.  It has to do with the charts.  The values that matter the most when it comes to assessing actual usage and rate of adoption of the DEX are 1) accounts created, 2) orders filled, and 3) transfers.  Can you consider making those the default values?  The others are nice to see sometimes, but really aren't nearly as meaningful. 

Also, would it be possible to show a 30-day moving average (when only one chart value is selected)?  That would be very nice to see.  Thanks for your consideration.


Offline compumatrix

Excellent job! Waiting for more!

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
telegram:ebit521
https://weibo.com/ebiter

Offline roadscape

https://cryptofresh.com/api/docs

Stay tuned to this thread for notifications about API updates and potentially breaking changes.
Also feel free to use it for questions or requests!
http://cryptofresh.com  |  witness: roadscape