Skip to content

SeanTan7150/web3-employment-package-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ethire

Initiate Hardhat

npm init --yes
npm install --save-dev hardhat
npx hardhat init

Install dependencies

npm install dotenv --save
  • Enter your API HTTPS and Private Keys in .env

Install Ethers.js

npm install --save-dev @nomiclabs/hardhat-ethers "ethers@^5.0.0"

Compile smart contract

npx hardhat compile

Deploy smart contract

https://docs.alchemy.com/docs/how-to-deploy-a-smart-contract-to-the-sepolia-testnet

npx hardhat run deployments/deploy.js --network sepolia

Initiate client app

npx create-next-app client
TypeScript Yes
ESLint Yes
Tailwind CSS Yes
src/ Yes
App Router Yes
import alias No

Install dependencies

yarn add dotenv
yarn add react-icons
yarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@^5
yarn add pino-pretty
npm install mongodb
npm install mongoose @types/mongoose
npm install prisma typescript ts-node @types/node
npm install @prisma/client--save-dev
yarn add web3
yarn add date-fns
yarn add thirdweb
yarn add jspdf
npm install axios
npm i --save-dev @ethersproject/providers
yarn add chart.js
yarn add react-chartjs-2
npm install nodemailer

Initialize Prisma

npx prisma init

Run client

yarn build
yarn start
yarn dev

Contract address

0xD7139A06E7ECF7a87781371762BAab8C3Fbb44F3 0x74BfF6ec5F346684EF9188bCE7Ddd9c74839D662

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published