Skip to main content

re:doubt Bot Python SDK

Project description

re:doubt Bot Python SDK

PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redoubt_agent-0.2.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

redoubt_agent-0.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file redoubt_agent-0.2.0.tar.gz.

File metadata

  • Download URL: redoubt_agent-0.2.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for redoubt_agent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b96a772c70ab3a7603f61321f28220123b5f8b3e064e15c0428fd63cf84607b
MD5 8b6b4e0cb935adad71affc055eacde16
BLAKE2b-256 afbd177308e1b5e3179441b84ddf3f4372cba7ff04bfc3669f7ae39f858e0aa2

See more details on using hashes here.

File details

Details for the file redoubt_agent-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for redoubt_agent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34068017037e52cd861d903bab0b2758df9f9fe77a66af4a524cf251e01cfcd1
MD5 57ff506491a741e0029000de1ccb37bd
BLAKE2b-256 8cb75556c58516beda033625402cf52569b7c49abd26287c03f1a936d5c33bdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page