Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 806 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 806 Bytes

Sample app that demonstrates using @drizzle/vue-plugin.

This folder is a Truffle project with 3 example smart contracts:

  • SimpleStorage.sol
  • ComplexStorage.sol
  • TutorialToken.sol

The code of the vuejs frontend is in the vapp folder.

Getting started

  1. Install truffle:
npm i -g truffle
  1. Install dependencies of Truffle project (in this folder):
npm install
  1. Deploy smart contracts:
truffle develop
truffle (develop)> migrate //This should be run inside the truffle console 
  1. Install dependencies of the vuejs frontend:
cd vapp
npm install
  1. Run the frontend:
npm run serve

Now, go to your browser at http://localhost:8080 to interact visually with the 3 smart contracts (SimpleStorage.sol, ComplexStorage.sol and TutorialToken.sol)