Here's how to deploy this project
- Clone the repo
git clone https://github.com/LuisIzarra/full-stack-ethereum-develoment.git
- Install the dependencies
npm install
# or
yarn
- Start the local test node
npx hardhat node
- Deploy the contract
ROPSTEN_URL=...
ROPSTEN_PRIVATE_KEY=...
npx hardhat run scripts/deploy.js --network localhost
*Replace points in a row, with personal data of your test network
-
Update src/App.js with the values of your contract addresses (greeterAddress and tokenAddress)
-
Run the app
npm run start