Bitcoin Forum
November 14, 2024, 06:45:18 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: TBA...
? - 0 (0%)
? - 0 (0%)
Total Voters: 0

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
  Print  
Author Topic: [Exchange] GRAVIEX Exchange: low fees, fast withdrawals, high security  (Read 38414 times)
Pudrim
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
May 29, 2018, 02:32:41 AM
 #341

How to get market with python 3?

    access_key = 'xxxx'
    secret_key = 'yyyy'
    ctx = ssl.create_default_context()
    ctx.check_hostname = False
    ctx.verify_mode = ssl.CERT_NONE
    epoch_time = str(int(time.time())) + '000'
    request = 'access_key=' + access_key + '&tonce=' + epoch_time
    message = 'GET|/api/v2/markets|' + request
    signature = hmac.new(b'secret_key',b'message',hashlib.sha256).hexdigest()
    query = 'https://graviex.net/api/v2/markets?' + request + '&signature=' + signature
    graviex = urllib.request.urlopen(query, context=ctx).read()
    print(graviex)

Not work:
401. Unauthorized


hello mazertwo, I solve this problem!

{"error":{"code":2007,"message":"The tonce 1527560783000 is invalid, current timestamp is 1527560317000."}}

you need to leave your tonce (timestamp your PC converted to UTC) exactly the same as the timestamp UTC graviex


#Python 3.6

import hashlib
import hmac
import requests
import time
import ssl
import json

access_key = 'api key here '
secret_key = 'secret key here'


# 0. making ssl context - verify should be turned off
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE

# ------------------
# Get markets list
# ------------------

# 1. list markets

epoch_time = str(int(time.time()+30))+'000'
print(epoch_time)
request = 'access_key=' + access_key + '&tonce=' + epoch_time
message = 'GET|/api/v2/markets|' + request

secret_key_bytes= bytes(secret_key , 'latin-1')
message_bytes = bytes(message, 'latin-1')

# 1.1 generate the hash.
signature = hmac.new(
    secret_key_bytes,
    message_bytes,
    hashlib.sha256
).hexdigest()

# 1.2 list markets
query = 'https://graviex.net/api/v2/markets?' + (request) + '&signature=' + (signature)


print(query) #put in the browser



r = requests.get(query)
data = json.loads(r.content.decode('utf-8'))
print(data)


#---------------------------------------------------------------------



#I had to increase 30 units in the timestamp to work here in my region. You should get the value of "query" and put in the browser subitrair #the timestamp value of graviex server by its timestamp.

#I spent many hours to solve this problem.



graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
May 29, 2018, 09:43:45 PM
 #342


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
May 29, 2018, 09:50:35 PM
 #343


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
May 29, 2018, 10:00:53 PM
 #344


riddlez666
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile WWW
May 30, 2018, 04:56:24 PM
 #345

Come Grab a few! https://graviex.net/markets/egembtc
graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
May 31, 2018, 08:19:34 PM
 #346


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
May 31, 2018, 09:39:23 PM
 #347


mozolis
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 01, 2018, 12:15:38 PM
 #348

нeмoгy зaити б cвoи aкayнт ,включилacь Google Authenticator !!чтo дeлaть?
graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 01, 2018, 02:52:02 PM
 #349

нeмoгy зaити б cвoи aкayнт ,включилacь Google Authenticator !!чтo дeлaть?
Дoбpый дeнь, зaйдитe в нaш тeлeгpaмм чaт https://t.me/ru_graviex или https://t.me/graviex, тaм paбoтники пoддepжки пoдcкaжyт шaги кoтopыe вaм пoмoгyт.

graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 01, 2018, 10:17:00 PM
 #350


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 01, 2018, 10:40:48 PM
 #351


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 03, 2018, 09:39:20 PM
 #352


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 05, 2018, 10:10:25 PM
 #353


smajser
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
June 07, 2018, 10:12:19 AM
 #354

Opened account yesterday, verified within few hours, first ticket answered within 15min.

For start, I am delighted.

Keep up good work!



Best regards
graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 07, 2018, 08:44:57 PM
 #355


Suerte
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 07, 2018, 09:17:50 PM
 #356

what happened with PTN? @graviex   Huh

The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.
graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 09, 2018, 08:57:47 PM
 #357


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 09, 2018, 09:00:16 PM
 #358

what happened with PTN? @graviex   Huh

The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.


we received an official letter from the developer:

Yesterday, pentanode blockchain ran into a blocking issue and is now stuck on block #34999

Pentanode is a POS coin with multiple tiered masternode system. All tiers were supposed to be activated at block #35000 but a bug is now blocking node, refusing all block generation.

Can you please temporarily block all transaction ( incoming AND outgoing) for your pentanode wallets ?

A fix is currently under testing phase and will be released next Tuesday, we will inform you asap so you can download the new version and resume Pentanode trading.


Sincerely
Pentanode Dev Team


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 09, 2018, 09:03:04 PM
Last edit: June 09, 2018, 09:15:05 PM by graviex
 #359


graviex
Member
**
Offline Offline

Activity: 628
Merit: 10

New exchange generation


View Profile WWW
June 09, 2018, 09:38:33 PM
 #360


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!