Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/triepay/triepay-contracts
Web3 crypto payment
https://github.com/triepay/triepay-contracts
avalanche bsc contracts crypto ethereum evm fantom hardhat multi-blockchain payments polygon triepay web3
Last synced: about 1 month ago
JSON representation
Web3 crypto payment
- Host: GitHub
- URL: https://github.com/triepay/triepay-contracts
- Owner: TriePay
- License: mit
- Created: 2022-06-14T06:08:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T05:29:53.000Z (over 2 years ago)
- Last Synced: 2024-11-07T05:42:14.314Z (3 months ago)
- Topics: avalanche, bsc, contracts, crypto, ethereum, evm, fantom, hardhat, multi-blockchain, payments, polygon, triepay, web3
- Language: Solidity
- Homepage: https://triepay.io
- Size: 198 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TriePay Hardhat
## Basic Hardhat Cmds
```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.ts
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix
```
## Contract Deployrename .env.example to .env, setup necessary environment variables and run below cmds:
```shell
npx hardhat run --network ethereum scripts/deploy.ts
npx hardhat run --network bsc scripts/deploy.ts
npx hardhat run --network polygon scripts/deploy.ts
npx hardhat run --network avalanche scripts/deploy.ts
npx hardhat run --network fantom scripts/deploy.ts
```## Contract Addresses
Blockchain|Address
---|---
ethereum | [0x504356d1893813e92b5534627aBa342efE54db69](https://etherscan.io/address/0x504356d1893813e92b5534627aBa342efE54db69)
bsc | [0x504356d1893813e92b5534627aBa342efE54db69](https://bscscan.com/address/0x504356d1893813e92b5534627aba342efe54db69)
polygon | [0x504356d1893813e92b5534627aBa342efE54db69](https://polygonscan.com/address/0x504356d1893813e92b5534627aba342efe54db69)
avalanche | [0x504356d1893813e92b5534627aBa342efE54db69](https://snowtrace.io/address/0x504356d1893813e92b5534627aba342efe54db69)
fantom | [0x504356d1893813e92b5534627aBa342efE54db69](https://ftmscan.com/address/0x504356d1893813e92b5534627aba342efe54db69)