Skip to content

Conflux-Chain/web3pay-contract

Repository files navigation

web3pay-contract

Smart contracts for Web3 payment service.

Contract Docs

Quick start:

yarn install
ts-node scripts/setupERC777.ts
yarn compile
yarn test-api-coin

Deploy:

create .env file with these variables configured:

  • TEST_SCAN_URL: scan url for contract verifying.
  • TEST_RPC_URL: blockchain rpc endpoint.
  • PRIVATE_KEY: deployer's private key.

run

# generate files needed when verifying contract on scan
./scripts/flatten.sh  
yarn test-deploy

Make sure deployer account has enough balance.

About

Smart contracts for Web3 payment service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •