Skip to content

how to convert list of hash160 file to bitcoin address in python #1

@crams34

Description

@crams34

i want to convert list of hash160 file to bitcoin address please can you help me about that..!! thanks in advance.

from bitcoin import *

hash160 = '010966776006953D5567439E5E39F86A0D273BEE'
addr = pubtoaddr(hash160.encode('utf-8'))
print (addr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions