Demo Implenetation of a Referral System within a Hooked MultiToken Bridge between EVM-compatible networks, based directly on the erc20 token bridge.
Currently Supports TIP4.1
See basic overview on Referral System
DevContainer in VsCode:
- Install Docker
- Remote Containers Extention
Local:
# Install Dependencies
npm install
# Run Local Node
docker run -d --name local-node -e USER_AGREEMENT=yes -p80:80 tonlabs/local-node
# Run Tests
npx locklift test --network local
# Deploy RefFactory
npx locklift run --script scripts/1-deploy-ref-factory.ts --network main