/simple-token

Primary LanguageTypeScriptMIT LicenseMIT

Hardhat Boilerplate with Nextjs, Redux Saga, Chakra UI

A simple token which we can tranfser.

You can use this simple project as the starting point for your Ethereum projects. It provides an overview of a full stack Ethereum dapp.

This repository using Hardhat Boilerplate and replace its frontend with Nextjs, Redux Saga, Chakra UI.

Demo

https://simple-token.vercel.app/

Import this private key, then try to send some MHT tokens on Ropsten: b9075ff2e114c4bcc879164fbac493420da1c9a7c688a6baa05b1677fc4d43b4

Quick start

The first thing you need to do is installing Metamask plugin for your browser.

Once installed, run Hardhat's testing network:

npx hardhat node

Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:

npx hardhat run scripts/deploy.js --network localhost

Finally, we can run the frontend with:

cd nextjs
npm install
npm start

Happy buidling!

TODO

  • Add eslint, prettier, husky for root level