pycoin
pycoin copied to clipboard
Python-based Bitcoin and alt-coin utility library.
I used "create_signed_tx" from "network.tx_utils.create_signed_tx" to generate a groestlcoin transaction and gettting "AttributeError: 'Spendable' object has no attribute 'address' ".
Traceback (most recent call last): File "E:/Python/TokenTrade/web3Test/app/mock/cb_api.py", line 49, in print(bp.spendables_for_address("mxN7UQCwdEJ9Ctph6pHmkJHifCCuwquejf")) File "E:\Python\TokenTrade\web3Test\app\lib\site-packages\pycoin\services\blockchain_info.py", line 47, in spendables_for_address r = json.loads(urlopen(URL).read().decode("utf8")) File "E:\Python\TokenTrade\web3Test\app\lib\site-packages\pycoin\services\agent.py", line 17, in urlopen return request.urlopen(req) File "D:\Python3.7.0\lib\urllib\request.py",...
I updated the DASH node from 0.12.3 to 0.13.1. However, Block.Tx.TxIn (* parse_struct ("# LSL", f)) is not executed in Block.parse (f, include_offsets = True). In that code, an error...
I was looking at the readme, and noticed that I couldn't find this method network.parse.private() in the code pycoin/networks/ParseAPI.py. In the readme at line 58: "same_key = network.parse.private(key.wif())" All I...
https://github.com/richardkiss/pycoin/blob/256967d9e0a1e7e902d4269283c557ba15e31ffa/pycoin/symbols/zec.py#L4
I've tried to add a new entry in BUILT_IN_NETWORKS with the network details, however I do not know how can I enable this instead of the default Bitcoin network. I'm...
Generating addresses with `ku` or the underlying code does not seem to produce valid segwit addresses. For example, with Litecoins: ``` # ku create -n LTC input : create network...
Hi, im new into this, so apologies if its an obvious question. i would like to have a pure python script using pycoin that holds the private key, sends, receives,...
In method `spendables_for_address` in `chain_so.py` module `value` is converted using float. It may to lead to invalid result. So line `coin_value = int(float(u['value']) * 100000000)` should be look like `coin_value...
In your [feature branch](https://github.com/richardkiss/pycoin/tree/feature/refactor_ecdsa) for files [pycoin/ecdsa/Group.py](https://github.com/richardkiss/pycoin/blob/feature/refactor_ecdsa/pycoin/ecdsa/Group.py) and [pycoin/ecdsa/numbertheory.py](https://github.com/richardkiss/pycoin/blob/feature/refactor_ecdsa/pycoin/ecdsa/numbertheory.py) you can implement https://en.wikipedia.org/wiki/Tonelli%E2%80%93Shanks_algorithm like so [https://github.com/ofek/bit/blob/master/bit/curve.py](https://github.com/ofek/bit/blob/master/bit/curve.py). The first argument to ``pow`` should be ``x ** 3 + ax + b``....