Enhanced Security in Chatbot
N. Ambika · 2024
The previous project creates a chatbot based on a blockchain platform. BONIK allows users to securely submit transactions and perform financial tasks like asking for the current balance. BONIK can validate each request against pre-defined access control rules codified in intelligent contracts thanks to the integration with the blockchain. User requests are honored if they are validated. The blockchain platform, chatbot, and dApp (Decentralized Application) are the three main components of this architecture. A blockchain platform is used to connect BONIK's chatbot to several important features and security features. Every financial activity in the system, including balance queries and money transfers, is carried out by this bank, and it is assumed that every user of the system has an account with the bank. Two intelligent contracts in the system provide business logic for handling user requests. The first is provided by the system, which is in charge of user login and registration, and the second is provided by the bank, which stores the business logic for financial transactions. Fabric refers to a smart contract as a chain code, and it can use transactions to invoke it. A user operates a peer to submit a transaction sent to the endorsers. The user receives a response. Docker containers are used to deploy the blockchain platform, with each container acting as one of these entities. A channel into which the chain code is deployed connects these entities. Kafka, which uses two additional orderer nodes to create and disseminate blocks, serves as the foundation for the consensus. Each user receives 10,000 currency units for financial transactions during the initial phase. The suggestion generates the hash code and attaches the same to provide additional security. The blockchain is generated for the hash code and message. This is authenticated by the server. The work provides 1.84% more security than previous work.