/dikembe-zero-ex

Discord bot, Websocket event subscription

Primary LanguageGo

Dikembe ZeroEx - Ubiq Discord Bot

This Go-based Discord bot monitors Ubiq blockchain events related to specific ERC721 token 0x Protocol trade events and sends notifications to a Discord channel via webhooks. The bot listens for events such as ERC721 order fills and pre-signs and posts transaction details to Discord.

This is based on the Ubiq deployment of the 0x Protocol v4 NFT contracts.

The code could be cleaned up to make it more generic but it also serves as good sample code for working with Solidity-Go bindings (generated with Abigen) and calling Solidity contracts from Go.

Features

  • Monitors ERC721 token and 0x Protocol trade events on the Ubiq blockchain.
  • Sends detailed notifications to a Discord channel via webhooks.
  • Supports specific ERC721 tokens with custom handling.

Prerequisites

  • A Ubiq node (for RPC and WebSocket connections)
  • Discord account and webhook URL