Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
As a user I only want to perform transactions in the web app if I am on Mainnet. If I am not on Mainnet, I want a modal to pop up and say I must switch to Mainnet when I click a button.
**Describe the feature**
For example, emulate the same feature when an un-authed user clicks "Post a Job" on the "Jobs" page. When not signed in, a modal pops up asking them to sign in. See below.
(1) Create a function that when "Claim" button on a job is clicked, if the user is not on Main Net within Metamask - a modal appears stating they should switch to Mainnet.
+ A skeleton has been created of the modal at `src/services/SwitchToMainNetModal.vue`. Use this for the modal popup.
+ You can find the MetaMask network check component in `src/components/hello-metamask.vue`
(2) There is already a notification bar that appears at the top of the page stating the Network and ethereum address. See below.
+ Underneath the Network name, a line should appear that states (if not on Main Network): "You are not currently on the Main Network, please switch to the Main Network to use this application."
**Definition of Done**
[ ] A modal pops up when clicking the "claim" button on the jobs page if I am not on the Main Network
[ ] If I am not on the Main Network, a statement is shown within the `hello-metamask` banner that says I should switch to the Main Network
Please only work in the `dev` branch. After a pull request is received on the `dev` branch I will review and if approved will move the changes to the master branch.