In Part-1, we created and deployed a smart contract using web3js and ganache-cli. In this section, we will deploy the same contract using Truffle framework and Ganache-CLI. Truffle framework has made a lot of things easy and hides the boilerplate code. So let's start —
First, we need to install truffle. Let’s install the truffle globally.
$ npm install -g truffle
In the same terminal window, Create a new project/folder ‘ethereumdapp’ and run below command.
$ truffle unbox webpackor$ truffle init
If using the first command, you will see below in the command line
If you would have reached this far, I assume you must have already gone through my previous articles Build a Conversational Chatbot with Rasa Stack and Python — Rasa NLU & Rasa Core. If not then I would recommend you to go through those first to get the better idea on this article as this is the third and the final part of the trilogy of building a conversational chatbot with Rasa.
In part-1, We put our efforts to understand the Rasa Natural Language Understanding (NLU). …
I believe you have gone through my previous article Build a Conversational Chatbot with Rasa Stack and Python — Rasa NLU prior reaching here. If not then read that first before proceeding further.
We trained the bot in our previous article and now it’s time to build a dialogues management for bot to respond to the messages.
If you remember (from the previous article) we talked about the stories which are nothing but the sample interaction between the user and the chatbot. The user ’s inputs are expressed as intents with corresponding entities, and chatbot responses are expressed as actions…
Chatbots are gaining traction and as I mentioned in my previous article ‘Chatbots & Future of Conversational AI’ the day is not far when it’s gonna touch almost all aspects of life.
If you see biggies like IBM, Facebook, Google, Microsoft or Amazon all are working extensively on it and each building their own framework. I am sure you must be thinking why I chose Rasa over others. If I tell you frankly there is no such reason except I needed an open-source framework which can provide me sufficient control in building the bot. The bot which can understand the…
In the last few months, I spent some time to get some intelligence which is now available artificially also J. Thanks to exponential growth in AI. From 1973’s Westworld to latest Westworld series on HBO, AI has covered a lot and I believe the day is not far when Artificial Intelligence will penetrate into almost all the segments of our life.
Though Robotics always fascinated me and it will speak a human language I couldn’t able to think back in 2000 when I bought my first computer. There was no way I could talk to my computer then but today…
In most of the interviews, Interviewer asks questions on Data Structure. If you are appearing for any product based company then these are must ask topics. No Interview can go without touching any thing from java.util.* package and Maps.
Recently It happened with me also while giving an interview in Silicon Valley. At this point, I must admit Silicon Valley loves Data Structure :). Discussion started with util package and ended at ConcurrentHashMap. Though it didn’t go well as It seems Interviewer was having the vast knowledge on Map especially ConcurrentHashMap :) .
So I thought to dig more in…
Note — This article is updated with the latest version of Truffle, Solidity, Metamask, web3js, and Ganache-CLI
Ethereum is a decentralized network of computers/node; each node in the network executes some bytecode (i.e. Smart Contracts) and stores the resulting state in a blockchain. Due to the properties of the blockchain representing application state, this results in “applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third party interference”.
Well. sort of, but not really. The similarity is there in the sense that both use the blockchain, but that’s where it ends. As Ethereum is not…
In the Part-1 of the series, We learned about IPFS, the difference between IPFS and HTTP and later on created a file to add on to IPFS and pined it to be accessed via a network of nodes.
In this Part, We will take it to the next level where we will create a directory structure and do an experiment to understand more on how IPFS works and it's functioning but before that, we must look into the example by Dr. Christian Lundkvist.
The distributed network has caught my attention for quite some time. While doing some research on the blockchain, I encountered IPFS. This took my attention for some time and I was amazed by the concept of having permanent, distributed Web. Though it is not new we all have seen it in parts (in parts, will describe in a short while)
IPFS is initially designed by Juan Benet and owned by Protocol Lab, has now an open-source project developed with help from the community.
To explain it, in brief, IPFS, InterPlanetory File System is a peer to peer(P2P) hypermedia protocol that…
Refer Part-2 If you want to learn how to dockerize REST Spring-boot application with Hibernate having database as MySQL. This is in continuation of Part-2 so I would recommend to go through that first.
Now, Before we jump in to creating a docker-compose file, Lets build a docker image with Gradle. It will be helpful when we will play around with docker-compose file.
To create a docker image via Gradle, you have to add Docker dependency and plugin in the build.gradle as show below.
If you run below from the project root directory where build.gradle is
$ gradle build…