re:doubt Bot Python SDK
The re:doubt monitors TON on-chain activity in real-time, detecting threats and other security-related events. The network is made up of numerous detection bots developed by a community of Web3 developers and security experts. Each bot acts like a little security camera monitoring something specific on-chain. What the re:doubt detects is a direct result of the bots being run. Some bots monitor generic threats, and others monitor protocol-specific activity.
See the developer documentation at re:doubt documentation
Installation
Install Python 3 package: pip3 install redoubt-agent
API Keys
To use SDK one need to request API key from @RedoubtAPIBot and pass it either directly
to RedoubtEventsStream instance or using REDOUBT_API_KEY environment variable.
Examples
New pools bot
It is monitoring for new pools and just prints info.
Jetton transfers bot
More complicated example. It listens for all Jetton transfers and after receiving info about the transfer it requests additional info over GraphQL API. In this case it uses additional GraphQL request to get Jetton metadata (symbol and decimals).
As a result you will get such a message:
EQ...EJ => EQ...7f 22.033882202 SCALE
Metadata
Release files for redoubt-agent 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| redoubt_agent-0.2.0.tar.gz | 7.5 kB | Without provenance | Details for redoubt_agent-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redoubt_agent-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for redoubt_agent-0.2.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / redoubt_agent-0.2.0.tar.gz
| Download URL | redoubt_agent-0.2.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b96a772c70ab3a7603f61321f28220123b5f8b3e064e15c0428fd63cf84607b
|
|
BLAKE2b-256 checksum How to use checksums |
afbd177308e1b5e3179441b84ddf3f4372cba7ff04bfc3669f7ae39f858e0aa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / redoubt_agent-0.2.0-py3-none-any.whl
| Download URL | redoubt_agent-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34068017037e52cd861d903bab0b2758df9f9fe77a66af4a524cf251e01cfcd1
|
|
BLAKE2b-256 checksum How to use checksums |
8cb75556c58516beda033625402cf52569b7c49abd26287c03f1a936d5c33bdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for redoubt-agent 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.