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.


Messages - madforstrength

Pages: [1] 2 3
1
yup I know that, but the problem is I am getting encrypted brainkey with an encryption key but i dont know what type of encryption is that. :(

DO you know anyone in this forum who can guide me about it? who knows how gui wallet works?

2
Hi @xeroc can you tell me how can i decrypt encrypted private keys?

Also I got encrypted brain key alongwith its encryption key, would appreciate if you can tell me to decrypt brainkey as well.

Thanks

3
Yes @xeroc I have been trying to reverse engineer its
Code: [Select]
decryptWalletBackup method.
Can you tell me python/graphene equivalent of this method ?
Code: [Select]
PublicKey.fromBuffer

4
@xeroc , This is the backup file that we export from webwallet, it is importing fine in other webwallet as well as desktop wallet.

What I am trying to do is adding "import from backup .bin file" functionality in my application. So I was wondering if you or someone can tell me how this file is decoded to get wallet json keys.

5
@xeroc 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

6
Technical Support / Wallet shows invalid state after sometime
« on: June 16, 2016, 04:44:35 am »
Hi @xeroc ,

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.

7
Technical Support / Re: Issue in upgrading account
« on: June 15, 2016, 05:08:48 am »
Ok, I found the issue, he account was imported in my wallet using "owner private key" not "active private key".

Once I imported the ACTIVE private key, it started working. Thanks a lot bro.

8
Technical Support / Re: Issue in upgrading account
« on: June 15, 2016, 03:47:49 am »
@xeroc thanks for your reply,

well my wallet already has that account imported in it.

I dont know if this has something to do with the missing authority but I am using
Quote
wss://bitshares.dacplay.org/ws
as rpc endpoint for my wallet

9
Technical Support / Issue in upgrading account
« on: June 14, 2016, 11:48:39 am »
Hi @xerion , @svk ,

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

10
Technical Support / Re: Get Block number from transaction
« on: May 27, 2016, 07:30:39 am »
Hi @xeroc,

I found that they are using "broadcast_transaction_with_callback" to get the block number.

I have tried to call this using python graphenelib the transaction was broadcasted but it returned none. So I think I need to somehow add listener for callback.
This is what I have tried:
Code: [Select]
client1.setObjectCallbacks({"registered-network-broadcast": config.trx_callback})
print(client1.ws.broadcast_transaction_with_callback(0,res, api="network_broadcast"))

Can you help me out in this?

11
Technical Support / Re: Get Block number from transaction
« on: May 25, 2016, 10:25:57 am »
Hello @xeroc,

Thanks for your reply, well "get_recent_transaction_by_id" also does not return block number :(

In the mobile wallet of bitshares they are somehow getting blocknumber and transaction id after transaction is included in the blockchain. (TransactionConfirmStore.js) Do you have any idea how they are getting it?

12
Technical Support / Get Block number from transaction
« on: May 25, 2016, 06:54:04 am »
Hi @xeroc ,

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"
  ]
}

13
Technical Support / Re: How to fetch required fees for trading
« on: March 11, 2016, 10:54:04 am »
Thankyou @xeroc and @svk,

Is there any documentation of js library?

As I dont feel good in asking each and everything from you guys. Right now I want to trade currency like sell bts for USD through js library and I dont know from where to start. I have successfully transferred assets from one account to another but dont know how to trade currency in same account.
:(

Thanks guys

14
Technical Support / Re: How to fetch required fees for trading
« on: March 11, 2016, 07:02:29 am »
Hi @xeroc,

Thanks for your valuable reply, however we are not using python library instead we are using js library.
Would appreciate if you can provide equivalent code in js or any documentation of js library.

Currently we are using below code to fetch the required fee for currency conversion:

Code: [Select]
Apis.instance().db_api().exec("get_required_fees", [
                        [[1,{}]],"1.3.0"
                    ])

It is giving us 23386 and after dividing with the bts precision 0.23386.

Is this method Ok?

Thanks and Regards

15
Technical Support / Re: Issues in decrypting MEMO
« on: February 04, 2016, 05:08:51 am »
ok @xeroc thanks for your valuable input. Just one more thing, is there any way to validate that the private key entered by the merchant is correct? and belongs to his account?

Pages: [1] 2 3