Difference between revisions of "Crypto Chat Bots"

From Ethora iOS & Android ERC-20 & NFT tokenized community platform
Jump to navigation Jump to search
Line 1: Line 1:
'''Crypto Chat Bots''' is a unique offering of our platform combining the advantages of conversational chat bots with smart contracts and distributed ledger technology.
'''Web3 or Crypto Chat Bots''' is a unique offering of our platform combining the advantages of conversational chat bots with smart contracts and distributed ledger technology.
 
== Features ==
== Features ==
In essence, Crypto Chat Bots are automated entities possessing the following features:
In essence, Crypto Chat Bots are automated entities possessing the following features:
* can send and receive chat messages
* can send and receive chat messages
* can offer both conversational and button-based UI  
* can offer both conversational and button-based UI  
Line 12: Line 10:
* may control chat rooms and/or interact with other features of Dappros Platform and Ethereum blockchain similarly as normal users do  
* may control chat rooms and/or interact with other features of Dappros Platform and Ethereum blockchain similarly as normal users do  
* often have part or most of their logic managed by a smart contract
* often have part or most of their logic managed by a smart contract
Crypto Chat Bots allow ecosystem Owners and Users to build their own interactions and effectively extend the platform building exciting mechanisms and social economy interactions for their users.  
Crypto Chat Bots allow ecosystem Owners and Users to build their own interactions and effectively extend the platform building exciting mechanisms and social economy interactions for their users.  
== Architecture ==
== Architecture ==
[[File:DP Bots Architecture Diagram.png|556x556px]]
[[File:DP Bots Architecture Diagram.png|556x556px]]
Line 20: Line 16:


As described in the network diagram above, Bots can be hosted at your own hosting of choice and they can interact with:
As described in the network diagram above, Bots can be hosted at your own hosting of choice and they can interact with:
* chat rooms and chat messages via '''XMPP''' protocol
* chat rooms and chat messages via '''XMPP''' protocol


Line 26: Line 21:


* Dappros Platform via '''REST JSON API'''
* Dappros Platform via '''REST JSON API'''
Developers can create their own chat bots in any programming language from scratch, but the easiest thing to do is use code samples offered in our [https://github.com/dappros/ethora Github repo].  
Developers can create their own chat bots in any programming language from scratch, but the easiest thing to do is use code samples offered in our [https://github.com/dappros/ethora Github repo].  


Line 32: Line 26:


In case your bot has a Smart Contract component, it would also need to have a Web3 library. There are well known Web3.js and Web3.py libraries which correspondingly allow you to write crypto enabled chat bots in Javascript-based languages (Node.js, Typescript) as well as in Python.  
In case your bot has a Smart Contract component, it would also need to have a Web3 library. There are well known Web3.js and Web3.py libraries which correspondingly allow you to write crypto enabled chat bots in Javascript-based languages (Node.js, Typescript) as well as in Python.  
== Purposes ==
== Purposes ==
Crypto Chat Bots serve a multitude of purposes including:
Crypto Chat Bots serve a multitude of purposes including:
Line 38: Line 31:
* Trading / assets transfer
* Trading / assets transfer
* Gaming & Entertainment  
* Gaming & Entertainment  
== Examples (Bots directory) ==
== Examples (Bots directory) ==
Examples of bots available are:
Examples of bots available are:
=== '''Welcome Bot''' ===
=== '''Welcome Bot''' ===
* Greets the newly joining user with an informational message
* Greets the newly joining user with an informational message
Line 47: Line 38:
* (optional) Can send a Coins bonus for all users who join the room
* (optional) Can send a Coins bonus for all users who join the room
* Source of funding: Welcome Bot works with the main Application wallet / Gas station  
* Source of funding: Welcome Bot works with the main Application wallet / Gas station  
=== '''[[Mint Bot]]''' ===
=== '''[[Mint Bot]]''' ===
* Allows to Mint Items (NFT) by end users using their own digital assets (images, sound, video)
* Allows to Mint Items (NFT) by end users using their own digital assets (images, sound, video)
* Supports multiple standards (ERC-721, ERC-1155, our own NFMT standard)
* Supports multiple standards (ERC-721, ERC-1155, our own NFMT standard)
* Supports private / L2 and Mainnet minting
* Supports private / L2 and Mainnet minting
=== '''Notary Bot''' ===
=== '''Notary Bot''' ===
* Witnesses communications in the chat room (either all or selected discussions - depending on users instructions)
* Witnesses communications in the chat room (either all or selected discussions - depending on users instructions)
* Records a proof of communications on Ethereum blockchain using "zero knowledge proof" mechanism
* Records a proof of communications on Ethereum blockchain using "zero knowledge proof" mechanism
* Source of funding: Notary Bot is funded by chat participants. It will notify chat participants when it runs out of funds.
* Source of funding: Notary Bot is funded by chat participants. It will notify chat participants when it runs out of funds.
=== '''[[Prisoner Dilemma Bot|Prisoner Dilemma game]]''' ===
=== '''[[Prisoner Dilemma Bot|Prisoner Dilemma game]]''' ===
* Allows two chat users to participate in a "Prisoner Dilemma" game
* Allows two chat users to participate in a "Prisoner Dilemma" game
* The participants commit and win Coins depending on game outcome
* The participants commit and win Coins depending on game outcome
=== '''[[Hut Hut Bot|Hut, hut bot]]''' ===
=== '''[[Hut Hut Bot|Hut, hut bot]]''' ===
* This bot allows users to store "Treasure" such as ERC-20 Coins and NFT Items in a chat room
* This bot allows users to store "Treasure" such as ERC-20 Coins and NFT Items in a chat room
* Other users need to pay Coin to check the contents of the Hut and can collect one of the Items if anything is there
* Other users need to pay Coin to check the contents of the Hut and can collect one of the Items if anything is there
[[Hut Hut Bot|Read more about Hut, hut bot]].
[[Hut Hut Bot|Read more about Hut, hut bot]].
=== Questionnaire Bot ===
=== Questionnaire Bot ===
* Collects information from the User via a conversational interface
* Collects information from the User via a conversational interface
* Stores information in the database.
* Stores information in the database.
* Rewards the user for answering the questions.
* Rewards the user for answering the questions.
== Participation ==
== Participation ==
Our development team keeps working on new exciting Crypto Chat Bots, but what's even more exciting is that Crypto Chat Bots framework opens exciting opportunities for 3rd party developers to build their own interactions and worlds!
Our development team keeps working on new exciting Crypto Chat Bots, but what's even more exciting is that Crypto Chat Bots framework opens exciting opportunities for 3rd party developers to build their own interactions and worlds!

Revision as of 10:51, 17 August 2023

Web3 or Crypto Chat Bots is a unique offering of our platform combining the advantages of conversational chat bots with smart contracts and distributed ledger technology.

Features

In essence, Crypto Chat Bots are automated entities possessing the following features:

  • can send and receive chat messages
  • can offer both conversational and button-based UI
  • can send guidance messages visible for one or specific users only
  • control one or more crypto wallets
  • may have their own social profile
  • can own and transfer crypto tokens (including ERC-20 Coins and NFT Items)
  • may control chat rooms and/or interact with other features of Dappros Platform and Ethereum blockchain similarly as normal users do
  • often have part or most of their logic managed by a smart contract

Crypto Chat Bots allow ecosystem Owners and Users to build their own interactions and effectively extend the platform building exciting mechanisms and social economy interactions for their users.

Architecture

DP Bots Architecture Diagram.png


As described in the network diagram above, Bots can be hosted at your own hosting of choice and they can interact with:

  • chat rooms and chat messages via XMPP protocol
  • smart contracts and blockchain via Web3
  • Dappros Platform via REST JSON API

Developers can create their own chat bots in any programming language from scratch, but the easiest thing to do is use code samples offered in our Github repo.

The requisites for the programming language of your chat bot is that it has an XMPP library so you can interact with chat server messages.

In case your bot has a Smart Contract component, it would also need to have a Web3 library. There are well known Web3.js and Web3.py libraries which correspondingly allow you to write crypto enabled chat bots in Javascript-based languages (Node.js, Typescript) as well as in Python.

Purposes

Crypto Chat Bots serve a multitude of purposes including:

  • Social
  • Trading / assets transfer
  • Gaming & Entertainment

Examples (Bots directory)

Examples of bots available are:

Welcome Bot

  • Greets the newly joining user with an informational message
  • Can include buttons or other gateways to other bots present in the room
  • (optional) Can send a Coins bonus for all users who join the room
  • Source of funding: Welcome Bot works with the main Application wallet / Gas station

Mint Bot

  • Allows to Mint Items (NFT) by end users using their own digital assets (images, sound, video)
  • Supports multiple standards (ERC-721, ERC-1155, our own NFMT standard)
  • Supports private / L2 and Mainnet minting

Notary Bot

  • Witnesses communications in the chat room (either all or selected discussions - depending on users instructions)
  • Records a proof of communications on Ethereum blockchain using "zero knowledge proof" mechanism
  • Source of funding: Notary Bot is funded by chat participants. It will notify chat participants when it runs out of funds.

Prisoner Dilemma game

  • Allows two chat users to participate in a "Prisoner Dilemma" game
  • The participants commit and win Coins depending on game outcome

Hut, hut bot

  • This bot allows users to store "Treasure" such as ERC-20 Coins and NFT Items in a chat room
  • Other users need to pay Coin to check the contents of the Hut and can collect one of the Items if anything is there

Read more about Hut, hut bot.

Questionnaire Bot

  • Collects information from the User via a conversational interface
  • Stores information in the database.
  • Rewards the user for answering the questions.

Participation

Our development team keeps working on new exciting Crypto Chat Bots, but what's even more exciting is that Crypto Chat Bots framework opens exciting opportunities for 3rd party developers to build their own interactions and worlds!