-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature wallet #14
Feature wallet #14
Conversation
Visit the preview URL for this PR (updated for commit 6f18f04): https://nounsmap-web-dev--pr14-feature-wallet-l76muxdn.web.app (expires Sat, 04 Jun 2022 03:16:28 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
@@ -63,6 +63,13 @@ import { ethers } from "ethers"; | |||
const nounsTokenJson = require("./NounsToken9331f10808.json"); | |||
// import firebaseApp from '@/src/main.js' | |||
|
|||
declare global { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/shims-vue.d.ts に、
interface Window { ethereum: any|undefined; };
すると、どのコンポーネントでも使えるようになります(これは別PRで!)
@@ -72,31 +79,27 @@ export default defineComponent({ | |||
//const contractAddress = "0xbe41F43c0d2cCbfce561429F18d3473DFa17eBAd"; // desc for actual nouns // for rinkeby | |||
const contractAddress = "0xA409B4d308D6234b1E47b63ae1AEbE4fb5030D2a"; // for rinkeby 0524 version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
後で設定ファイルをつくって、そちらに移動させましょう。
@@ -12,7 +12,7 @@ const lang = { | |||
selectPhotoLocation: | |||
"Please move the map so that the location of the photo is in the center.", | |||
spotPrivacyLevel: "SpotPrivacyLevel", | |||
requestAccount: "metamask wallet connect", | |||
requestAccount: "connect MetaMask", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
connect -> Connect
@@ -10,7 +10,7 @@ const lang = { | |||
processing: "送信中です...", | |||
selectPhotoLocation: "写真の場所が中心になるように地図を移動してください", | |||
spotPrivacyLevel: "場所のプライバシーレベル", | |||
requestAccount: "metamask wallet 接続", | |||
requestAccount: "connect MetaMask", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
connect -> Connectか、日本語へ。
ありがとうございます! |
TODO