https://github.com/circlefin/stablecoin-evm/tree/v2.2.0/contracts
Requirements:
- Node 16.14.0
- Yarn 1.22.21
$ git clone [email protected]:bitlayer-org/circle-usdc.git
$ cd circle-usdc
$ nvm use
$ npm i -g [email protected] # Install yarn if you don't already have it
$ yarn install # Install npm packages
$ yarn compile
$ yarn fmt
Run all tests:
$ yarn test
To run tests in a specific file, run:
$ yarn test [path/to/file]
- Create a copy of the file
.env.example
, and name it.env
. Fill in appropriate values in the.env
file. This file must not be checked into the repository.
cp .env.example .env
- Update .env file key
DEPLOYER_PRIVATE_KEY
deloyer private keyNEW_PROXY_ADMIN
proxy contract admin, default is deployerTOKEN_NAME
USD CoinTOKEN_SYMBOL
USDCTOKEN_CURRENCY
USDTOKEN_DECIMALS
token decimalNEW_MASTER_MINTER
manager minter role and minter mint amountNEW_PAUSER
manager project pause or unpauseNEW_BLACK_LISTER
manager black listNEW_OWNER
project owner, manager masterMinter role, pauser role, blacklist role
- Run deploy cmd
yarn deploy bitlayer | bitlayerTest