hi
i do messaging app as first project

i add message that way

resp = contract.functions.SendMessage("qweqiiiwe".encode(), w3.eth.accounts[1]).transact()

and read message like this

contract.functions.GetMessage().call()

its working but i can get only last message

I tried to obtain older messages by hash
hh = '0x253...'
w3.eth.getTransactionReceipt(hh)

but it returns something useless

Jun 16, 2022, 1:55 AM
here is source https://pastebin.com/gaCTKy61
Jun 16, 2022, 1:59 AM

© 2024 Draquery.com All rights reserved.