wavesnode / gateway-for-woocommerce

Wordpress woocommerce plugin for supporting Waves or any other token on the Waves platform, examples: https://shop.wavesnode.net and https://services.wavesnode.net
11 stars 27 forks source link

Php Version ? #8

Closed michaelsomerville closed 6 years ago

michaelsomerville commented 6 years ago

I am looking for a solution to accept Waves Asset and post to a webhook, don't need all this stuff. Simple PHP script, can you build it ? We also are looking for someone to code a transfer/masspay as we can't seem to figure it out.

michaelsomerville commented 6 years ago

Got this working to test it in wordpress, we have trades on our token from us testing, but there isn't nothing showing here for data. Am I missing something ? ... the trades where on the mainnet via the client ( chrome ).

http://marketdata.wavesplatform.com/api/ticker/BCHNVrdxa29rgumNvowonj3UiLyfB89DG3GE6GmtNnq6/waves

{
  "symbol" : "",
  "amountAssetID" : "BCHNVrdxa29rgumNvowonj3UiLyfB89DG3GE6GmtNnq6",
  "amountAssetName" : "coinoutcome",
  "amountAssetDecimals" : 8,
  "amountAssetTotalSupply" : "21000000.00000000",
  "amountAssetMaxSupply" : "21000000.00000000",
  "amountAssetCirculatingSupply" : "10069.00000000",
  "priceAssetID" : "WAVES",
  "priceAssetName" : "WAVES",
  "priceAssetDecimals" : 8,
  "priceAssetTotalSupply" : "100000000.00000000",
  "priceAssetMaxSupply" : "100000000.00000000",
  "priceAssetCirculatingSupply" : "100000000.00000000",
  "24h_open" : "0.00000000",
  "24h_high" : "0.00000000",
  "24h_low" : "0.00000000",
  "24h_close" : "0.00000000",
  "24h_vwap" : "0.00000000",
  "24h_volume" : "0.00000000",
  "24h_priceVolume" : "0.00000000",
  "timestamp" : 1516330413741
}
tubbynl commented 6 years ago

These endpoints are only used for retrieving market info; actual trades are directly onto waves api