dqpu.blockchain.ipfs_gateway.IPFSGateway#

class dqpu.blockchain.ipfs_gateway.IPFSGateway(uri='http://localhost:5001', gateway='http://127.0.0.1:8080')#
__init__(uri='http://localhost:5001', gateway='http://127.0.0.1:8080')#

Methods

__init__([uri, gateway])

get(ipfs_hash[, destination_file, timeout])

upload(file_path)