Sample React application with GSN
This is a sample of using GSN with react application. It also adds some basic UI to the transaction progress.
This is the branch with GSN support.
Running it now is slightly different, since GSN must be active when deploying the contract (this is no problem in testnet/mainnet, but requires one extra step on local network)
In order to run it run these commands in different window each:
- Install dependencies:
- Launch Hardhat node:
- Deploy GSN contracts, such as RelayHub and Forwarder, and start a Relay Server:
- Deploy the CTF contract:
- Launch the React app:
A live deployment of this app is available at https://ctf-react.opengsn.org