hashchain.ethereum.connector.
EthConnector
(contract_abi, contract_address, sender_public_key, sender_private_key, provider_url)[source]¶Connector to interact with a smart contract on the Ethereum blockchain.
hashchain.ethereum.contract.
EthContract
[source]¶Solidity contract encapsulated in a Python object
deploy
(sender_public_key, sender_private_key, provider_url)[source]¶Deploy the Solidity Smart contract to the Ethereum blockchain
sender_public_key (str
) – public key of the sender
sender_private_key (str
) – private key of the sender
provider_url (str
) – address of the Ethereum connection provider
str
hexadecimal string of the hash of the transaction hash