GithubHelp home page GithubHelp logo

forkdrop / forkdrop_suite Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 13.0 247 KB

A collection of tools and scripting for helping prepare and perform the task of claiming fork and airdrop value from Bitcoin keys

License: Other

Python 100.00%

forkdrop_suite's Issues

add BCash CashAddr format to convert-addr.py

This is an important one to be able to do offline without having to trust a web service.

The python libraries here don't have the base32-style encoding ability yet, which will need to be added.

claim-prep.py produces KeyError: 'block_height'

python claim-prep.py --not-tails claim_save_file bunch_of_addresses

i've ran it once successfully, but upon rerun, it fails with this stacktrace

Traceback (most recent call last):
  File "claim-prep.py", line 43, in <module>
    vdb = ValueDb(settings)
  File "/home/user/coins/forkdrop_suite/lib/value_db.py", line 23, in __init__
    self['addrs'] = self._get_address_info(settings, addrs)
  File "/home/user/coins/forkdrop_suite/lib/value_db.py", line 44, in _get_address_info
    return [BlockchainAddressInfo(settings, addr) for addr in addrs]
  File "/home/user/coins/forkdrop_suite/lib/value_db.py", line 44, in <listcomp>
    return [BlockchainAddressInfo(settings, addr) for addr in addrs]
  File "/home/user/coins/forkdrop_suite/lib/address_info.py", line 143, in __init__
    tx_block_map = self._get_tx_block_map(ins, outs)
  File "/home/user/coins/forkdrop_suite/lib/address_info.py", line 182, in _get_tx_block_map
    self._iter_tx_blocks(ins + outs)}
  File "/home/user/coins/forkdrop_suite/lib/address_info.py", line 181, in <dictcomp>
    return {h: height for h, height in
  File "/home/user/coins/forkdrop_suite/lib/address_info.py", line 178, in _iter_tx_blocks
    yield h, d['block_height']
KeyError: 'block_height'

i did run sync-forkdrop-data.py in between, changing the content of forkdrop-data.json, if that matters. reverting this change to the latest git commit did however not fix this problem.

direct-query-claim-prep.py error: AttributeError: 'Namespace' object has no attribute 'electrum_server'

./direct-query-claim-prep.py --not-tails  claim_save_file bitcoin-private 1HE..<cut>
read: /home/user/coins/forkdrop_suite/forkdrop-data.json
read: /home/user/coins/forkdrop_suite/forkdrop-data.json
Traceback (most recent call last):
 File "./direct-query-claim-prep.py", line 48, in <module>
    vdb = ValueDb(settings)
  File "/home/user/coins/forkdrop_suite/lib/value_db.py", line 23, in __init__
    self['addrs'] = self._get_address_info(settings, addrs)
  File "/home/user/coins/forkdrop_suite/lib/value_db.py", line 41, in _get_address_info
    if settings.electrum_server:
AttributeError: 'Namespace' object has no attribute 'electrum_server'

any idea what's the problem here?

blockchain.info .onion API access down

The script is having trouble requesting info from the .onion access point because it appears to be down during blockchain.info's migration to blockchain.com - we hope this is temporary.

We are doing what we can to resolve this ASAP.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.