GSN Chat ChatApp
(Gas Stations Network) Chat ChatApp
The GSN Chat App is an application designed to showcase the use of Meta Transaction powered smart contract backed applications. Unlike traditional Ethereum powered smart contract applications, when using Meta Transactions users are not required to have ETH or even have an Ethereum wallet to interact with smart contracts.
To learn more about Meta Transactions and the Gas Stations Network:
First, clone the project to your machine.
git clone email@example.com:crazyrabbitLTC/gsnTutorial-ChatApp-ZepKit.git
Run docker Relay instance
In a new Terminal Window, top of project:
This runs the docker instance which runs it's own copy of Ganache-cli
In a new terminal window, top of project:
Select "yes" to run a function. Choose the
linkRelayHub() function. You need to enter the address of your relay hub here. This tells your solidity contract where it should find the
RelayHub you intend to use. You will find this at the deployment part of the docker instance.
It should be:
Fund your App on the RelayHub
Now you need to fund you dApp:
oz send-tx --value 1000000000000000000
Your dapp should be funded and the relay running.
Run the Client
In a new terminal window:
npm run start
Your browser should open and take you to the App.