Open
Conversation
Atraxus
requested changes
Jun 30, 2023
| - Network Name: ETH | ||
| - New RPC URL: http://127.0.0.1:8545 | ||
| - Chain ID: 1337 | ||
| 3. Import an account from Ganache into MetaMask. |
Owner
There was a problem hiding this comment.
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` |
Owner
There was a problem hiding this comment.
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 |
Owner
There was a problem hiding this comment.
This section's instructions are already covered in the Backend section
| - Chain ID: 1337 | ||
| 3. Import an account from Ganache into MetaMask. | ||
|
|
||
| ## Start Vue |
Owner
There was a problem hiding this comment.
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); | ||
|
|
||
| // 等待用户登录和选择账户 |
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add function in vue and add illustration in read me