A Theta-Metamask demo based on @jacobedawson's tutorial, which showcases a working React app that will be able to connect to your MetaMask account, and read your address and TFuel balance. If you connect with multiple accounts the interface will change to reflect the active account.
First, connect your Metamask plugin to the Theta Mainnet following the instructios here.
Next, clone this repo and install dependencies:
git clone https://github.com/thetatoken/theta-metamask-demo
cd theta-metamask-demo
npm install
Execute the following command to launch the web client at http://localhost:3000
npm start
You should see the web page displays the TFuel balance in your Metamask plugin and the wallet address.