Project for Binance Smart Chain
using:
- npm
- hardhat
- openzeppelin-solidity
- BUSD contract address: 0xed24fc36d5ee211ea25a80239fb8c4cfd80f12ee
- USDT contract address: 0x337610d27c682e347c9cd60bd4b3b107c9d34ddd
Getting testnet tokens: https://testnet.binance.org/faucet-smart
run localhost:
npx hardhat node
run tests:
npx hardhat test
deploy (to testnet):
npx hardhat run --network testnet scripts/deploy.js
.___________________________________________________________________________________________________.
c.register -> | [mt.register:_2_] -> mt.goUp -> [c.updateUser:_1_] |
| \-> c.sendHalf:END \-> [c.matricesRegistration:_3_ -> mt.register:_2_] |
|___________________________________________________________________________________________________|
.___________________________________________________________________________________________________.
c.receive -> [c.matricesRegistration:_3_] -> | [mt.register:_2_] -> mt.goUp -> [c.updateUser:_1_] |
| \-> c.sendHalf:END \-> [c.matricesRegistration:_3_ -> mt.register:_2_] |
|___________________________________________________________________________________________________|