https://github.com/sskender/dapp-vue-starter
Starter kit for developing decentralized applications on Ethereum with Vue.js front-end
https://github.com/sskender/dapp-vue-starter
blockchain blockchain-application dapp decentralized decentralized-application decentralized-applications ethereum ethereum-contract ethereum-dapp front-end frontend frontend-app frontend-webdevelopment vue vue-cli vue-router vuejs vuejs2 vuex vuex-store
Last synced: about 1 year ago
JSON representation
Starter kit for developing decentralized applications on Ethereum with Vue.js front-end
- Host: GitHub
- URL: https://github.com/sskender/dapp-vue-starter
- Owner: sskender
- Created: 2020-12-10T23:42:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T10:48:56.000Z (about 5 years ago)
- Last Synced: 2025-01-26T20:26:15.063Z (over 1 year ago)
- Topics: blockchain, blockchain-application, dapp, decentralized, decentralized-application, decentralized-applications, ethereum, ethereum-contract, ethereum-dapp, front-end, frontend, frontend-app, frontend-webdevelopment, vue, vue-cli, vue-router, vuejs, vuejs2, vuex, vuex-store
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dapp-vue-starter
## Project setup
```
npm install
```
### Compiles contracts
```
npm run compile
```
### Migrates contracts
```
npm run migrate
npm run migrate --network mycustomnetwork
npm run migrate:reset
```
### Runs truffle tests
```
npm run test
```
### Runs truffle console
```
npm run console
```
### Runs Solidity linter (solhint)
```
npm run solhint
```
### Runs prettier on Solidity contracts
```
npm run prettier:solidity
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
## Ganache
### Runs ganache-cli with forked mainnet
```
ganache-cli -f https://cloudflare-eth.com
```
### Runs ganache-cli with forked mainnet and unlocked account
```
ganache-cli -f https://cloudflare-eth.com -u "0x41653c7d61609D856f29355E404F310Ec4142Cfb"
```
## Docker
### Runs ganache-cli in docker - simplest version
```
docker run --detach --publish 8545:8545 trufflesuite/ganache-cli:latest
```
### Runs ganache-cli in docker with additional parameters
```
docker run --detach --publish 8545:8545 trufflesuite/ganache-cli:latest --verbose --blockTime=5 --accounts=20
```
### Builds production-ready Docker image (Nginx as a web server)
```
docker build --tag dapp-vue-starter .
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).