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 - ccreg

Pages: [1]
Technical Support / Re: PYBITSHARES - Unlock Wallet - issue
« on: February 04, 2018, 10:21:04 pm »
Ok sorry I got it !  :D
Crazy day,  I wondered so many concept! it's more clear ! Probably a little schema in the documentation could help noob (as I'm in bitshares/python).

I deleted the folder in my homedir and created a new wallet in python-bitshare!
Unlock work perfectly!
Happy to continue !

Many Thanks!

Technical Support / PYBITSHARES - Unlock Wallet - issue
« on: February 04, 2018, 03:46:07 pm »

I would like to implement a trading bot...
I start to analyze different kind of solution (stakemachine, bitshare api cli_wallet,...) I have finally decided to study PYBITSHARES approach.

I succeeded to run some simple snippet based on Account class (on linux installation):
Code: [Select]
from bitshares import BitShares
import os
from bitshares.account import Account
account = Account("crypto-r")

But I'm getting an issue when I run the following code to unlock mywallet:
Code: [Select]
from bitshares import BitShares

bitshares = BitShares(
                nobroadcast=False   # <<--- set this to False when you want to fire!

The code return the following error message:
Code: [Select]
  File "/root/.local/lib/python3.6/site-packages/bitshares-0.1.10-py3.6.egg/bitshares/", line 115, in unlock
  File "/root/.local/lib/python3.6/site-packages/bitshares-0.1.10-py3.6.egg/bitshares/", line 395, in __init__
  File "/root/.local/lib/python3.6/site-packages/bitshares-0.1.10-py3.6.egg/bitshares/", line 407, in decryptEncryptedMaster

I'm sure I'm missing something "simple" but I m blocking on it for few hours... I coded it differently a lot of time on testnet and/or production node...

here is my question:

Does someone can help me to unlock my Wallet using PYBITSHARES?
My problem is to identify exactly which password or private key or WIF or ... I have to used as parameter to unlock function.
I'm using ubuntu 17.10.


Pages: [1]