1.0.0 • Published 7 months ago

connector-frontend-cryptopayments-v1.000 v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

Prerequisites

Development

pnpm install
  • Smart contract compile
yarn compile

Deployment

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 package
yarn release #public realease package