Skip to content

Commit

Permalink
Deployed on mumbai
Browse files Browse the repository at this point in the history
  • Loading branch information
camronh committed Jun 27, 2022
1 parent 62e0ce0 commit 34e761c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
12 changes: 9 additions & 3 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@
</v-app-bar>

<v-main>
<v-btn v-if="!$store.state.ethers.connected" @click="init()">
Connect Wallet
</v-btn>
<v-container
align="center"
justify="center"
v-if="!$store.state.ethers.connected"
>
<br />
<v-btn outlined @click="init()"> Connect Wallet </v-btn>
</v-container>

<router-view v-else />
</v-main>
</v-app>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/deployed-contracts.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"4":"0xAf17961a60e327f3440a15Ce0e6cB6668bEb459C","31337":"0xbD0Ab7fC70C3Ce0502E386762448E2AbffA87d2f"}
{"4":"0xAf17961a60e327f3440a15Ce0e6cB6668bEb459C","31337":"0xbD0Ab7fC70C3Ce0502E386762448E2AbffA87d2f","80001":"0xE670Cb71626159967Db3EE12895Bfdf9B76ad70b"}
5 changes: 0 additions & 5 deletions frontend/src/views/About.vue

This file was deleted.

5 changes: 1 addition & 4 deletions frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<template>
<v-container class="home">
<v-card>
<v-btn v-if="!connected" @click="log">Connect Wallet</v-btn>
<template v-else>
<UserRaffles />
</template>
<UserRaffles />
</v-card>
</v-container>
</template>
Expand Down
2 changes: 1 addition & 1 deletion hardhat/deployed-contracts.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"4":"0xAf17961a60e327f3440a15Ce0e6cB6668bEb459C","31337":"0xbD0Ab7fC70C3Ce0502E386762448E2AbffA87d2f"}
{"4":"0xAf17961a60e327f3440a15Ce0e6cB6668bEb459C","31337":"0xbD0Ab7fC70C3Ce0502E386762448E2AbffA87d2f","80001":"0xE670Cb71626159967Db3EE12895Bfdf9B76ad70b"}
2 changes: 1 addition & 1 deletion hardhat/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const config: HardhatUserConfig = {
url: rinkebyRPC,
accounts: [privateKey],
},
matic: {
mumbai: {
url: mumbaiRPC,
accounts: [privateKey],
},
Expand Down

0 comments on commit 34e761c

Please sign in to comment.