Templated from Scaffold-Eth Typescript
This was the typescript repo of scaffold.eth. Check out the directories:
packages/vite-app-ts/
packages/hardhat-ts/
Running the app
-
install dependencies
yarn install
-
start a hardhat node
yarn chain
-
run the app,
you'll need to open a new command prompt
yarn contracts:build yarn deploy yarn start
Everything you need to build on Ethereum! π
π§ͺ Quickly experiment with Solidity using a frontend that adapts to your smart contract.
π Edit your smart contracts in packages/hardhat-ts/contracts
π Edit your frontend in packages/vite-app-ts/src
πΌ Edit your deployment scripts in packages/hardhat-ts/deploy
π± Open http://localhost:3000 to see the app
Node Version Manager (nvm)
touch ~/.bash_profile
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
exec $SHELL
source ~/.bash_profile
nvm --version
Node Version 14
nvm install 14
Yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
exec $SHELL