-
Notifications
You must be signed in to change notification settings - Fork 3
Newapi #18
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
base: main
Are you sure you want to change the base?
Newapi #18
Conversation
| - Network Name: ETH | ||
| - New RPC URL: http://127.0.0.1:8545 | ||
| - Chain ID: 1337 | ||
| 3. Import an account from Ganache into 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.
Points one through three are a little unspecific. I'm not sure what to do here. We can discuss this further in the meeting
| In the terminal of the Visual Studio Code console, follow these steps: | ||
|
|
||
| 1. Install Vue CLI globally: `npm install -g @vue/cli` | ||
| 2. Install web3: `npm install web3` |
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.
Packages that are not installed globally should be installed through npm install via the packages.json file
Edit: web3 and big-integer are already covered in the packages.json, so instructions 2. and 3. are unnecessary, and instruction 1. is already in the Prerequisites section.
| - Run ``npm run serve`` and open the displayed URL in your browser | ||
|
|
||
|
|
||
| ## Project Setup |
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.
This section's instructions are already covered in the Backend section
| - Chain ID: 1337 | ||
| 3. Import an account from Ganache into MetaMask. | ||
|
|
||
| ## Start Vue |
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.
This section is also already covered. We could add the npm run build command to the front end, though.
| if (typeof window.ethereum !== 'undefined') { | ||
| this.web3 = new Web3(window.ethereum); | ||
| // 等待用户登录和选择账户 |
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.
Please keep comments in english
add the way to install Vant UI ,inorder to load and use the Button of the Usercenter Informations Page.
Conflicts: package-lock.json package.json src/components/FirstVue.vue src/components/UserCenter.vue
…rowser (previously adapted to the mobile phone inphone XR)
add function in vue and add illustration in read me