Skip to content

sonicsmith/dapp-template

Repository files navigation

Dapp Template

Fullstack web3 application template

Build status:

  • Contracts Lint & Test
  • Frontend Lint & Test

Local development

Install dependencies:

npm install

Run local geth node:

npm start

Open a new terminal and deploy the smart contract in the local network:

npm run deploy:local

Output of deployment will display contract address. Create .env.local file. Copy contract address and use as REACT_APP_DEV_CONTRACT value.

Run the front end:

cd frontend
npm start

Add local network to Metamask wallet:

  • Click "Add Network"
  • Network Name: Local Network
  • New RPC URL: http://127.0.0.1:8545/
  • Chain ID: 31337
  • Currency Symbol: GO



TODO:

  • Add Front end tests
  • Implement Mythril

About

A base template for creating decentralised apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published