Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
feat: display tx hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Jun 9, 2023
1 parent 89e3284 commit 9254e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion declare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from starkware.starknet.compiler.compile import get_selector_from_name
from starknet_py.net.models.chains import StarknetChainId
from starknet_py.net.udc_deployer.deployer import Deployer
from starknet_py.net.gateway_client import GatewayClient
Expand Down Expand Up @@ -42,6 +41,7 @@ async def main():
impl_file.close()
impl_declaration = await client.declare(transaction=declare_contract_tx)
impl_contract_class_hash = impl_declaration.class_hash
print("transaction hash:", hex(impl_declaration.transaction_hash))
print("implementation class hash:", hex(impl_contract_class_hash))


Expand Down

0 comments on commit 9254e37

Please sign in to comment.