Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - madforstrength

Pages: [1]
1
[member=120]xeroc[/member] Hi again,

Can you tell me if python-graphenelib has any method to import backup from bin file?

Or any other way I can import backup from bin file in my wallet?

Thanks and Regards

2
Technical Support / Wallet shows invalid state after sometime
« on: June 16, 2016, 04:44:35 am »
Hi [member=120]xeroc[/member] ,

I am having an issue that after running for sometime wallet starts showing this message:

Code: [Select]
10 assert_exception: Assert Exception\n!ec: websocket send failed: invalid state\n    {"msg":"invalid state"}\n    th_a  websocket.cpp:164 send_message
Than I have to restart wallet to make it work again.

Can you help me out in sorting this issue as my applications stop working and requires manual restart of wallet.

3
Technical Support / Issue in upgrading account
« on: June 14, 2016, 11:48:39 am »
Hi [member=8910]xerion[/member] , [member=11456]svk[/member] ,

I am developing functionality to upgrade account in my application. I have tried following:
Code: [Select]
res = client.upgrade_account("mbilal-knysys", True)
But Above code is giving me below error:
Code: [Select]
grapheneapi.grapheneapi.RPCError: 0 exception: unspecified
3030001 tx_missing_active_auth: missing required active authority
Missing Active Authority 1.2.100305

This similar error was occurring when I was trying to create a new account as well.

So I used this url instead to create new user:
Code: [Select]
https://bitshares.openledger.info/api/v1/accounts
I was wondering if you guys can help me out in finding some other way to upgrade account.

Thanks and Regards

4
Technical Support / Get Block number from transaction
« on: May 25, 2016, 06:54:04 am »
Hi [member=120]xeroc[/member] ,

Is there any way I can get block number from transaction?

I am getting this:

Code: [Select]
{
  "ref_block_num": 58752,
  "ref_block_prefix": 3236012376,
  "expiration": "2016-05-25T06:54:00",
  "operations": [[
      0,{
        "fee": {
          "amount": 264174,
          "asset_id": "1.3.0"
        },
        "from": "1.2.98834",
        "to": "1.2.101520",
        "amount": {
          "amount": 10000,
          "asset_id": "1.3.0"
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f24ed1f4e129dbba3973406aea2c6c7443eab11f85d7daeb66e7992273ca959b80c98ddc2704bcd21c679d8b4d4011951f05b4ea41ac934c4d6b9429106ad1c8c"
  ]
}

5
Technical Support / Issues in decrypting MEMO
« on: February 01, 2016, 10:28:41 am »
Hello Again Guyz,

Today I am having issue in decrypting the memo of transaction.

Firstly our application is on python2.7 so we cant just install python-graphenelib and use it.

Secondly even if I am installing it on my local machine when I ran memo_decode it gave me
Quote
--cannot decode-- Error loading Base58 object

So ideally I would be glad to know if there is some API that can decrypt the memo for me ;)

Or is there any script that uses python 2.7 to decrypt memo?

Or if none of the above than how can I resolve base58 issue? :(

Thanks and Regards

6
Technical Support / Issue in creating QR code for transfer
« on: January 28, 2016, 05:38:03 am »
Hi again Guyz,

I am following this link https://github.com/cryptonomex/graphene/wiki/Wallet%20Merchant%20Protocol to create payment request.

I have created this JSON:
Code: [Select]
{
   "to" : "mbilal-knysys",
   "to_label" : "mbilal",
   "memo" : "Invoice #1234",
   "line_items" : [
        { "label" : "Something to Buy", "quantity": 1, "price" : "10.00 BTS" }
    ],
    "note" : "test payment",
    "callback" : "https://merchant.org/complete"
}

Then used http://nmrugg.github.io/LZMA-JS/demos/advanced_demo.html to compress it to:
Code: [Select]
5d 00 00 00 02 0d 01 00 00 00 00 00 00 00 3d 82
80 18 fb a3 18 e3 e9 d3 0e 4b de 31 cc 45 63 09
5a 31 0f c4 90 89 9d 56 e5 f9 a3 9b ec 81 6c 21
bc 44 ac c6 ba 95 3d 85 65 e0 26 e2 e8 f7 7d 93
af 5b a8 10 b9 1e 24 6c 71 3d 91 ff b1 25 91 1f
a9 ad 85 5e f5 21 c2 84 79 57 e3 ab fa 67 01 56
81 f1 6e 01 3d da 73 c8 ce 1a 3e 22 d7 2c 22 01
3e c4 2e ff b7 8f b9 b4 b5 d8 9f a3 23 c2 9c 8f
2f 08 b6 2d 01 63 88 01 70 f9 fe a8 35 e0 d4 85
7b 74 7b 68 15 cc 75 92 08 86 c4 56 0d 41 af 73
4a 11 fa df ce 14 34 80 81 d8 f7 d0 e8 61 d4 58
72 bc d7 1f 8a 04 0f 83 99 a8 74 13 fb db df 77
63 7b ea ae 64 ab e2 25 c9 d6 16 36 ff 35 ee 40
00

Then used http://lenschulwitz.com/base58 for base58 encoding:
Code: [Select]
32BKKahCswNpnquiVorvDuAz6SWDRUWmGP9SaCX1AwF1mSKM1nebRmkpSjymMgiNCZEbrRgVyFKaZbWLReANgfDn6qw9tcJS53ubkbx4EMPwZCpVMzxRPQu2deGqCdEw77mxhi1BAwigcTp3UbZv8vGMXZFMKmMzSfheQJLyJe36CHPjpJCcbd73kVVwnaxXJb674WdshZvc1MgJsnvinnGtqjx59MVve1Whh2t4mGPQXXjbYea4uSzAVn8Yf1Cy5YQxXKC9AVdRUfEMdjfs13CjfSP9YT

Now when I am visiting https://bitshares.openledger.info/#/invoice/32BKKahCswNpnquiVorvDuAz6SWDRUWmGP9SaCX1AwF1mSKM1nebRmkpSjymMgiNCZEbrRgVyFKaZbWLReANgfDn6qw9tcJS53ubkbx4EMPwZCpVMzxRPQu2deGqCdEw77mxhi1BAwigcTp3UbZv8vGMXZFMKmMzSfheQJLyJe36CHPjpJCcbd73kVVwnaxXJb674WdshZvc1MgJsnvinnGtqjx59MVve1Whh2t4mGPQXXjbYea4uSzAVn8Yf1Cy5YQxXKC9AVdRUfEMdjfs13CjfSP9YT

It is showing
Quote
Asset is not supported by this blockchain.

I have tried many different assets and json but got same result.

I would appreciate if anyone can point me in right direction.

Thanks

7
Technical Support / How bitshares transactions work in real life
« on: January 27, 2016, 05:21:34 am »
Hi guyz,

I am developing a payment gateway to integrate bitshares in a project. I want to understand how the bitshares transactions will work in real life.

Like A customer comes to purchase a product whose price is $150 now customer wants to pay with bitEUR or any other bitshares currency.

How will transaction work? like should I convert first $150 to bts and then bts to bitEUR?

if yes how can I do that with the API?
I can convert bts to bitEUR or any other cryptocurrency as mentioned by [member=120]xeroc[/member] in https://bitsharestalk.org/index.php/topic,21177.0.html

But how do I get the bts equivalent of real life 150USD through api?

Or am i missing something?

8
Technical Support / Does cryptofresh.com has any API?
« on: January 19, 2016, 05:05:07 am »
Hi I am trying to integrate bitshares payment gateway in one of my project. Right now the problem I am facing is that I need the list of smarcoins similar to cryptofresh.com along with holders, price feed, active/inactive and settlement information.

I am currently using:
https://bitshares.openledger.info/ws/
with params:
{"id":2,"method":"list_assets","params":["",100]}

But I am not getting any demarcation for which assests are smartcoins and which are user issued, also I am not getting holders, price feed and etc

And there is also a limit of 100 assets on api call.

I couldnt find any API of cryptofresh.com, all I could find was just this URL:
http://cryptofresh.com/api/cmc

I would appreciate if someone can guide me in the right direction.

Pages: [1]