1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
"""
Specify convenience methods to sign transactions and message hashes.
"""
"""
The checksummed public address for this account.
.. code-block:: python
>>> my_account.address # doctest: +SKIP
"0xF0109fC8DF283027b6285cc889F5aA624EaC1F55"
"""
pass
"""
Sign the EIP-191_ message.
This uses the same structure
as in :meth:`~eth_account.account.Account.sign_message`
but without specifying the private key.
:param signable_message: The encoded message, ready for signing
.. _EIP-191: https://eips.ethereum.org/EIPS/eip-191
"""
pass
"""
Sign the hash of a message.
This uses the same structure
as in :meth:`~eth_account.account.Account.signHash`
but without specifying the private key.
.. CAUTION:: Deprecated for :meth:`~eth_account.signers.base.BaseAccount.sign_message`.
To be removed in v0.6
:param bytes message_hash: 32 byte hash of the message to sign
"""
pass
"""
Sign a transaction dict.
This uses the same structure as in
:meth:`~eth_account.account.Account.sign_transaction`
but without specifying the private key.
.. CAUTION:: Deprecated for :meth:`~eth_account.account.signers.local.sign_transaction`.
This method will be removed in v0.6
:param dict transaction_dict: transaction with all fields specified
"""
pass
"""
Sign a transaction dict.
This uses the same structure as in
:meth:`~eth_account.account.Account.sign_transaction`
but without specifying the private key.
:param dict transaction_dict: transaction with all fields specified
"""
pass
"""
Equality test between two accounts.
Two accounts are considered the same if they are exactly the same type,
and can sign for the same address.
"""
return == and ==
return