re:doubt Bot Python SDK
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for redoubt_agent-0.1.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18a3d4d9326d7a85ee7e559079563b905856c1062fc77523b2d182d844cd3a32 |
|
MD5 | 49525e64f07066426a621e9365664c7b |
|
BLAKE2b-256 | 590e4e44ad5b5bc377e6725bd062f98edfc94544732b2e79e889742f0e2a2a11 |