A ready-to-go dapp-template built on solidity, vue and web3
- Make sure you have all the needed software ready to go!:
- truffle:
- npm install truffle -g
 
- ganache:
- see instructions for your Operating System
 
- nodejs:
- see instructions for your Operating System
 
- open the terminal
- navigate to a folder where you like to setup your project.
- 
- REPOSITORY
- => run: git clone https://github.com/Abstrucked/vue-web3-solidity.git
- => navigate into the vue-web3-solidity folder created by the previous command.
 
 - TEMPLATE
- => run: git clone -b main --single-branch https://github.com/Abstrucked/vue-web3-solidity [project-name]
- => navigate into the [project-name] folder created by the previous command.
 
- with npm
- run: npm install
 
- run: 
- with yarn
- run: yarn install
 
- run: 
- Ganache
- open ganache, start a new "Ethereum enviroment" and save it.
 
- open 
- Metamask
- add a custom network to metamask with the info from ganache.
- copy the private-key of the first account in ganache and import it into metamask (!!!DO NOT USE THIS ADDRESS ON MAINNET!!!).
- select the newly imported network.
 
- Truffle
- compile the smart contracts: truffle compile
- test the smart contracts: truffle test
- migrate the contracts: truffle migrate
 
- compile the smart contracts: 
- run: npm run serve