- Install deps with
npm install
- To run unit test, use command
npx hardhat test
- Fill in .env file (ref from .env.example)
- Deploy contracts with
npx hardhat run scripts/deploy.ts
- Still in experiment. DYOR!
- Create trade offer
- Cancel offer
- Deposit
- Withdraw
- Lock
- Unlock
- Get user trades
- Get user deposited items
- Deploy
- Swap
- Withdraw
- Cancel
- Get user trades
- Get user deposited items