connector-frontend-cryptopayments-v1.000
v1.0.0
Published
Solidity Hardhat TypeScript Boilerplate
Readme
Prerequisites
Development
pnpm install- Smart contract compile
yarn compileDeployment
Create .env file see .env.example for reference.
- Smart contracts hardhat commands
1. yarn deploy-payment --network "<NETWORK_NAME>" #deploy Payment contract
2. yarn deploy-simple-escrow --network "<NETWORK_NAME>" #deploy Escrow contract
3.(OPTIONAL) yarn deploy-token --network "<NETWORK_NAME>" #deploy ERC20 FakeUSDT token for testing escrow- After deployment put contract addresses to src/network/<NETWORK_NAME>.json
Build package for frontend connection
yarn build #build packageyarn release #public realease package