USDX is a yield-bearing digital dollar.
-
Install dependencies
npm i
-
Copy ENV file
cp .env.example .env
-
Replace ENV variables with the values as needed
Try running some of the following tasks:
Testing
npm run testCoverage
npm run coverageLinter
npm run lintRunning local node
npx hardhat nodeCompile
npx hardhat compileDeploying and contract verification
npx hardhat run scripts/deploy.ts --network sepolia
npx hardhat verify --network sepolia <contract-address>Assign all roles to owner
npx hardhat run scripts/roles.ts --network sepoliaMint 100 USDX to owner
npx hardhat run scripts/mint.ts --network sepoliaTransfer 50 USDX from owner to customer address
npx hardhat run scripts/transfer.ts --network sepoliaDistribute yield to all token holders
npx hardhat run scripts/yield.ts --network sepoliaFetch events
npx hardhat run scripts/events.ts --network sepoliaFetch state
npx hardhat run scripts/state.ts --network sepoliaReset project, remove artifacts and cache
npx hardhat cleanHelp
npx hardhat help