https://github.com/portalnetwork/vue-truffle
https://github.com/portalnetwork/vue-truffle
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/portalnetwork/vue-truffle
- Owner: PortalNetwork
- License: mit
- Created: 2018-07-27T03:42:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T07:38:20.000Z (over 7 years ago)
- Last Synced: 2025-10-07T04:39:00.011Z (8 months ago)
- Language: JavaScript
- Size: 1.28 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue-truffle
This project is design to connect to Ethereum blockchain and interact with MetaMask to send transaction on smart contract.
### Technical stack
#### Frontend
- Vue
- Vuex
- Vue-Router
- Web3(MetaMask)
#### UI
- Sass
#### Smart contract/Solidity
- [Truffle](./TRUFFLE.md)
### Install flow
#### Clone repo
```
git clone https://github.com/PortalNetwork/vue-truffle.git
cd vue-truffle
```
#### Install ganache
```
npm install -g ganache-cli
```
#### Install truffle
```
npm install -g truffle
```
#### Build repo
```
npm install
truffle compile
```
#### Start repo
Open a new console
```
ganache-cli
```
```
truffle migrate
```
#### Vue framework deploy
```
cd dapp
npm run deploy
```
## Reference
- ganache-cli: https://github.com/trufflesuite/ganache-cli
- truffle: https://github.com/trufflesuite/truffle