/full-stack-ethereum

Building full stack apps with Solidity, Ethers.js, Hardhat, and The Graph

Primary LanguageTypeScript

The Complete Guide to Full Stack Ethereum Development

This codebase goes along with the tutorial The Complete Guide to Full Stack Ethereum Development

The video course for this codebase is located here

Open in Gitpod

To deploy this project to Gitpod, click this button:

Open in Gitpod

Once the setup is complete, import the rpc endpoing running on Gitpod into your wallet as a custom RPC.

For instance, your RPC enpoint will probably look something like this:

https://8545-sapphire-pigeon-uiroo9v8.ws-eu18.gitpod.io/

The ChainID should be 1337, and you may need to delete a localhost configuration if you already have that set up.

Run locally

  1. Clone the repo
git clone https://github.com/dabit3/full-stack-ethereum.git
  1. Install the dependencies
npm install

# or

yarn
  1. Start the local test node
npx hardhat node
  1. Deploy the contract
npx hardhat run scripts/deploy.js --network localhost
  1. Update src/App.js with the values of your contract addresses (greeterAddress and tokenAddress)

  2. Run the app

npm start