matthewrichard20 / solidity-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies

Install these prerequisites

Step 1. Clone the project

git clone https://github.com/matthewrichard20/solidity-example

Step 2. Install dependencies

$ cd solidity-example
$ npm install

Step 3. Start Ganache

Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.

Step 4. Compile & Deploy Smart Contract

$ truffle migrate --reset You must migrate the smart contract each time your restart ganache.

Step 5. Configure Metamask

See free video tutorial for full explanation of these steps:

  • Unlock Metamask
  • Connect metamask to your local Etherum blockchain provided by Ganache.
  • Import an account provided by ganache.

Step 6. Run the Front End Application

$ npm run dev Visit this URL in your browser: http://localhost:3000

About


Languages

Language:JavaScript 98.3%Language:HTML 1.1%Language:Solidity 0.6%