You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This is a **proof-of-concept**, please reach out to the Tempo team if you are interested in using this library in production.
5
20
6
21
Web3.py extension for Tempo.
@@ -12,6 +27,7 @@ pip install -e .
12
27
```
13
28
14
29
Or with uv:
30
+
15
31
```bash
16
32
uv add .
17
33
```
@@ -160,6 +176,7 @@ Monkey patches web3.py to recognize Tempo AA transactions. **Must be called befo
160
176
Creates a Tempo AA transaction.
161
177
162
178
**Parameters:**
179
+
163
180
-`to` (str): Destination address
164
181
-`value` (int): Value in wei (default: 0)
165
182
-`gas` (int): Gas limit
@@ -181,6 +198,7 @@ Creates a Tempo AA transaction.
181
198
Main transaction class.
182
199
183
200
**Methods:**
201
+
184
202
-`sign(private_key, for_fee_payer=False)` - Sign the transaction
185
203
-`encode()` - Encode to bytes for transmission
186
204
-`hash()` - Get transaction hash
@@ -190,15 +208,24 @@ Main transaction class.
190
208
## Examples
191
209
192
210
See the `examples/` directory:
211
+
193
212
-`simple_send.py` - Simple value transfer
194
213
-`basic_transaction.py` - Transaction with fee token
195
214
-`fee_payer_sponsored.py` - Gas sponsorship and call batching
196
215
197
-
## License
216
+
## Contributing
217
+
218
+
Our contributor guidelines can be found in [`CONTRIBUTING.md`](https://github.com/tempoxyz/tempo?tab=contributing-ov-file).
198
219
199
-
Licensed under either of:
220
+
## Security
221
+
222
+
See [`SECURITY.md`](https://github.com/tempoxyz/pytempo?tab=security-ov-file). Note: Tempo is still undergoing audit and does not have an active bug bounty. Submissions will not be eligible for a bounty until audits have concluded.
223
+
224
+
## License
200
225
201
-
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
202
-
- MIT license ([LICENSE-MIT](LICENSE-MIT)or http://opensource.org/licenses/MIT)
226
+
Licensed under either of [Apache License](./LICENSE-APACHE), Version
227
+
2.0 or [MIT License](./LICENSE-MIT)at your option.
203
228
204
-
at your option.
229
+
Unless you explicitly state otherwise, any contribution intentionally submitted
230
+
for inclusion in these crates by you, as defined in the Apache-2.0 license,
231
+
shall be dual licensed as above, without any additional terms or conditions.
0 commit comments