connector-frontend-cryptopayments-v1.000
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i connector-frontend-cryptopayments-v1.000

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

1.09 MB

Total Files

286

Last publish

Collaborators

  • haracore