From 2ba181ec95855c938acc8ed851915bb8fee3db60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Wed, 6 Dec 2023 16:16:41 -0300 Subject: [PATCH] docs: add usdc deploy instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- contracts/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/contracts/README.md b/contracts/README.md index d022a4c..1820ad1 100644 --- a/contracts/README.md +++ b/contracts/README.md @@ -6,7 +6,7 @@ To deploy the contract run: ```bash -PRIVATE_KEY=<> hh deploy --token --network +PRIVATE_KEY=<> hh deploy --token --network ``` Alternatively you can use the env var `MNEMONIC` to deploy the contract and it will pick the first derived address. @@ -15,12 +15,21 @@ Alternatively you can use the env var `MNEMONIC` to deploy the contract and it w To deploy the contract run: ```bash -PRIVATE_KEY=<> hh deploy:registry --owner --network +PRIVATE_KEY=<> hh deploy:registry --owner --network ``` Note that the `--owner` flag is optional, if not passed the deployer address will be set as the contract owner. Alternatively you can use the env var `MNEMONIC` to deploy the contract and it will pick the first derived address. +### USDC contract (testnet only) +To deploy the contract run: + +```bash +PRIVATE_KEY=<> hh deploy:usdc --network +``` + +The deployer address will own the USDC contract and be able to mint tokens. There is an initial supply of 1B tokens but if needed more can be minted by calling `configureMinter` and then `mint` on the contract. Bare in mind that USDC uses 6 decimals. + ## Tests To test the contract run: