Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CRA Started with Smart Contract development.

Includes a working demo of client and smart contract integrated together. Clean with no additional dependencies other than developer tools.

Client

Smart Contract

  • Hardhat
  • DX - Typechain, Typescript, eslint, prettier
  • Testing - Waffle, Chai, Mocha
  • Scripts - deploy, verification
  • Compilation - Generates the types directly in the client directory.

How to use

  1. Clone the repo
  2. In both sc and client folders install deps (yarn install)
  3. In the sc directory -
    • Create a new file .env and copy the contents of .env.example
    • Run a hardhat node yarn hardhat
    • Deploy to hardhat network yarn deploy
    • Copy the address from console.
  4. In the client folder
    • Start application yarn start
    • In the Home page /components/pages/Home enter the deployed contract address
  5. Now you should be able to connect and see the message in the UI.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages